1dba01a8ae
Re-license source code to LGPLv2.1 ( closes #56 )
2016-11-22 11:14:25 -05:00
Umar Farooq
21f5ca3dff
Merge branch 'gtnet_features' into 'develop'
...
Endianess setting for GTNET-SKT header
Hi there,
I did a bit of rework on Umar's work.
This unveiled some more severe bugs (my faults).
So, I am quite happy that this kind of code review helps everybody :-)
As last time, I assign this MR to @umar.farooq. Have a look over it, and merge if you are happy.
See merge request !8
2016-11-07 14:56:59 +01:00
1cfa7f05d9
added missing defines
2016-10-30 20:04:17 -04:00
7baffe66c0
move munmap() workaround to from unit test to memory_free_hugepage()
2016-10-30 20:00:09 -04:00
f13c6c14e4
added unit tests for memory functions
2016-10-30 20:00:09 -04:00
d50f5ea694
added unit tests for utils
2016-10-30 20:00:09 -04:00
d6e4ab5d2f
severe bug fix: msg_swap() did not correctly swapped the values (just the header)
2016-10-30 17:11:12 -04:00
1bcd0f9ae2
moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type)
2016-10-30 16:58:45 -04:00
c8d6c63d95
bug fix: handle failed allocation of huge pages correctly (returns MAP_FAILED instead of NULL)
2016-10-30 16:54:39 -04:00
fb30c16d2b
improved check for correct queue length
2016-10-30 15:21:46 -04:00
83d91ae221
added LOG2_CEIL
2016-10-30 15:01:12 -04:00
Umar Farooq
4745a799ff
Add endianness setting in config file to nodes
2016-10-27 19:25:29 +02:00
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
641d5ea7ed
fixed commenting style in socket code
2016-10-19 01:58:55 -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
Umar Farooq
a5d50ea756
Add manual sequence numbers for GTNET w/o header as temp solution
2016-10-17 16:28:43 +02:00
5aa4fec093
Remove sequence num ordering in case of gtnet-skt without GTNET_SKT_HEADER enabled
2016-10-12 16:57:14 +02: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
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
6380829d0a
fix indention
2016-09-13 21:15:39 -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
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
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
3880abeb63
unified member variable naming of struct sample and struct msg
2016-07-11 18:19:23 +02:00
8115a9caa2
fixed most major bugs of web socket node-type
2016-07-11 18:18:20 +02:00
abd8148a2b
fixed compiler warnings
2016-07-11 09:16:31 +02:00
bd8987bf35
simplified makefile
2016-07-11 09:16:00 +02:00
3f012c8575
finished FPGA stuff
2016-07-08 13:32:18 +02:00
88157a3023
improved AXI4 switch configuration
2016-07-08 13:01:40 +02:00
ac389a76ff
added DMA memory managment functions
2016-07-08 12:59:09 +02:00
05af02304d
added a couple of functions to parse and print cpu_set_t
2016-06-26 15:33:59 +02:00
238c732feb
smaller fixes in linux code
2016-06-26 15:29:07 +02:00
cc66553761
added support for CBuilder models
2016-06-26 15:28:34 +02:00
132dd5fd65
moved linux realtime code to extra file
2016-06-26 15:27:14 +02:00
68f2dbea76
major changes in the VILLASfpga code. Lots of smaller improvements and fixed
2016-06-26 15:22:25 +02:00
c67af15a2c
fixed all major bugs in FPGA code
2016-06-19 19:30:00 +02:00