3159729cff
add new header type to socket node-type for making "fake" header in gtnet-skt mode configurable
2016-10-20 09:06:29 -04:00
e95c50a827
some fixes for memory pool
2016-10-20 08:36:49 -04:00
5de7e7c77d
add debug statements to memory functions
2016-10-20 08:36:49 -04:00
8852748242
rdtscp => rdtsc
2016-10-20 08:36:49 -04:00
3839262d8d
mpmc_queue => queue
2016-10-20 08:36:49 -04:00
ff48249389
fix sequence numbers for gtnet-skt
2016-10-19 01:56:00 -04:00
af22c7d0c4
Merge branch 'develop' into bug_fixes
2016-10-19 01:44:36 -04:00
7a7b36e678
some fixes for memory pool
2016-10-19 01:35:41 -04:00
6e13d5a895
add debug statements to memory functions
2016-10-19 01:34:27 -04:00
cf59a485ab
rdtscp => rdtsc
2016-10-19 01:25:05 -04:00
Umar Farooq
a5d50ea756
Add manual sequence numbers for GTNET w/o header as temp solution
2016-10-17 16:28:43 +02:00
26e3885fbc
mpmc_queue => queue
2016-10-16 02:33:36 -04:00
292d2ecd87
Merge branch 'develop' into feature-tests
2016-10-15 22:55:46 -04:00
d8271f82f8
improve gitlab-ci.yml
2016-10-14 02:04:48 -04:00
17bc32ad89
more improvement for our build system
2016-10-13 22:15:28 -04:00
1376055f7f
don't be so verbose during build
2016-10-13 22:13:49 -04:00
9dd9dc8ddc
fixed dependency in fpga node-type description
2016-10-13 22:09:00 -04:00
9e851f7102
fixing first bug discovered by unit tests!!!
2016-10-13 19:53:55 -04:00
c3f2c96606
unify the style of the module Makefiles
2016-10-13 19:53:30 -04:00
5aa4fec093
Remove sequence num ordering in case of gtnet-skt without GTNET_SKT_HEADER enabled
2016-10-12 16:57:14 +02:00
Umar Farooq
deba073407
Small improvement to avoid lib/kernel/kernel.c:195:3: error: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Werror=unused-result] error on Ubuntu...not a hard requirement
2016-10-10 23:09:09 +02:00
Umar Farooq
59af01cc33
Fix bug where smp->capacity value is not initialized
2016-10-10 23:07:41 +02:00
1cbfd72d35
build thirdparty dependencies out-of-source as well
2016-10-08 20:28:34 -04:00
af14793901
replace GPL lincensed libpci (pciutils) with own implementation
...
VILLASnode and its dependencies are now fully compatible with a BSD/MIT license.
2016-10-08 20:17:16 -04:00
64cbad6158
Removed unused dependency to liquid
2016-10-08 01:10:12 -04:00
361fc23a6d
rewrote build system to make it more modular and support out-of-tree builds
2016-10-06 17:56:01 -04:00
50ce6bad07
provide a way to detect a destroyed list
2016-10-01 05:58:27 -04:00
ba399a0b1d
fixed compilation: functionality still heavily broken. its a mess right now
2016-09-22 21:20:21 -04:00
cc802859bd
refactored memory allocators
2016-09-19 20:58:41 -04:00
4bd461d9e2
added new generic memory allocator
2016-09-15 21:25:32 -04:00
4bd6cf9c6a
added reference counter to sample structure
2016-09-13 22:54:36 -04:00
2648c1f57c
replaced lstack backed memory pool with new queue as underlying datastrucutre
2016-09-13 22:54:36 -04:00
d0dc7e216e
replaced old queue with new MPMC implementation
2016-09-13 22:54:36 -04:00
f80a58c1b4
Treat all warnings as errors: never commit code which generates compiler warnings! Never!
...
The CI will reject your merges from now on!
2016-09-13 21:50:35 -04:00
9fbe67f0da
tweaked parsing of hook parameters
2016-09-14 03:37:24 +02:00
d0ad1e47ef
improved implementation of gtnet-skt protocol headers
2016-09-13 21:20:58 -04:00
d958b08d62
print sample offset always in scientific notation
2016-09-13 21:16:17 -04:00
b9f681751a
fix compiler error
2016-09-13 21:15:53 -04:00
0097132b4f
Merge branch 'feature-gtnet' into develop
2016-09-11 02:56:46 +00:00
65f46cef5f
Check for maximum amount of values per sample supported
2016-09-10 22:34:45 -04:00
3c4c08cda6
rewrote socket_write(): there ave been some misunderstandings
2016-09-10 22:34:45 -04:00
545103ff1c
rewrote socket_read(): there ave been some misunderstandings
2016-09-10 22:34:45 -04:00
fe92747aa9
renamed a couple of enum constants and some minor code style cleanups
2016-09-10 22:34:45 -04:00
Umar Farooq
62bf0c2b0c
Bug fixes/improvements to GTNET-SKT code
...
- Change enum types APP_HDR_* to SOCKET_HDR_*
- Remove SOCKET_HDR_NONE type from app-hdr as its same as
SOCKET_HDR_GTSKT
- Fix values per samples for GTSKT to 1
- Replace TODO tag with @todo
- Use SOCKET_HDR_DEFAULT if app_hdr setting is not present
in config file
- Fix bug when invalid message is received resulting in
infinite printing loop
- Fix bug in socket_write when due to declaration of struct
msg msgs[cnt] in the for loop the values are not transmitted
- Replace std=c98 with std=c11 but still compile without it
2016-08-02 21:08:25 +02:00
7f4f898b70
fixed compiler warnings about uninitialized use
2016-07-26 15:42:11 +02:00
f6dd0b117b
merged config-fpga.h into config.h
2016-07-18 15:09:49 +02:00
303e730f3a
removed debug output
2016-07-18 15:02:53 +02:00
Umar Farooq
2f47be0ac5
Add app_hdr tag for GT-NET-Socket
...
GT-NET-Socket uses a tag in the config file to distinguish from default
socket node type application layer header (struct msg). For now all the
values are encoded in the struct sample without any header (no timestamp
or sequence number).
Minor improvement in pipe.c: replace 'goto' with do while
2016-07-17 01:01:43 +02:00
812eb31c95
cleaning function namespaces: config_ => cfg
2016-07-14 09:47:00 +02:00
cbe29caf98
restructured repo and build system
2016-07-14 09:34:26 +02:00