f623a7ecfb
mapping: there is no send timestamp anymore
2018-08-13 00:00:09 +02:00
1f16b4bf07
refactor: {sample,signal}_{put,get} -> {sample,signal}_{incref,decref}
2018-08-13 00:00:09 +02:00
37b98e7ad6
generalize generation of pools
2018-08-13 00:00:09 +02:00
6fb3271a54
sample: add sample_format()
2018-08-13 00:00:09 +02:00
afc529626a
fix some includes
2018-08-13 00:00:09 +02:00
97e991f4fc
refactor: fix include paths
2018-08-13 00:00:09 +02:00
b533cee9ad
refactor: fix whitespaces
2018-08-13 00:00:09 +02:00
7c74f0f2e9
signal: add reference count
2018-08-13 00:00:09 +02:00
86b03265b2
use more const qualifiers
2018-08-13 00:00:09 +02:00
a1e47d2d72
code-style cleanups
2018-08-13 00:00:09 +02:00
ce8c90e1c2
refactoring: full identifiers
2018-08-13 00:00:09 +02:00
7c939ba1e5
sample: remove source field
2018-08-12 23:59:15 +02:00
2361964de1
path: added signal list
2018-08-12 23:59:15 +02:00
1ada9d10d9
list: added list_extend()
2018-08-12 23:59:15 +02:00
b0017f859f
refactoring
2018-08-12 23:59:15 +02:00
e37d665755
signal: added signal_init_from_mapping()
2018-08-12 23:59:15 +02:00
b79386011a
mapping: added mapping_to_str()
2018-08-12 23:59:15 +02:00
170c86dca4
refactor:
...
- WEBSOCKET_DEFAULT_SAMPLELEN -> WEBSOCKET_DEFAULT_SAMPLE_LENGTH
- WEBSOCKET_DEFAULT_QUEUELEN -> WEBSOCKET_DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
32de7761fe
refactor:
...
- DEFAULT_SAMPLELEN -> DEFAULT_SAMPLE_LENGTH
- DEFAULT_QUEUELEN -> DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
f35588aad8
refactor:
...
- SAMPLE_LEN() -> SAMPLE_LENGTH()
- SAMPLE_DATA_LEN() -> SAMPLE_DATA_LENGTH()
2018-08-12 23:59:15 +02:00
9a7f2afd0d
do not include libwebsockets.h in header files as it breaks compliation together with complex.h
2018-08-12 23:59:15 +02:00
96bcbd400a
sample: added new complex data type for signal values
2018-08-12 23:59:15 +02:00
dfe56b89c0
signal: extend format field
2018-08-12 23:59:15 +02:00
10c02766f5
sample: remove format field
2018-08-12 23:59:15 +02:00
Dennis Potter
53e146b0ab
Included rdtsc in tests/unit/queue.c
...
Because rdtsc_init will not be used in queue.c, __attribute__((unused))
has been added to rdtsc.h
2018-08-09 14:23:28 +02:00
b25f4406c5
task: added support for rdtsc
2018-08-09 07:57:32 +02:00
Dennis Potter
0c1e92bced
Added separate buffer for input and output section
2018-08-06 23:48:13 +02:00
Dennis Potter
69c8f0adaa
Added flag to enable/disable warning about missed steps
2018-08-04 17:27:06 +02:00
Dennis Potter
117913287d
Added configurable setvbuf to output of file node
2018-08-04 15:20:21 +02:00
Dennis Potter
027555c34d
Added flag in config to enable/disable connection fallback. Closes #188
2018-08-02 10:41:37 +02:00
Dennis Potter
aefe40dc35
Removed IMM mode. Replaced hard coded integers by constants
2018-08-01 18:26:42 +02:00
Dennis Potter
c9871bfebb
UDP improvements
...
This is related to 45ddebf5d1
. I forgot to
add it to the commit.
2018-07-25 18:53:11 +02:00
Dennis Potter
64282b7134
Changed sequence type to uint64_t
2018-07-21 13:01:42 +02:00
Dennis Potter
2c3ddfd0c2
Merge branch 'ib-rearrange-qp' into develop
...
Closes #152 . As described in #182 , we will not rearrange the Queue Pairs
for connected mode. As soon as we test many-to-one connections for the
unrealiable connection, we will look again at this issue.
2018-07-21 12:14:25 +02:00
Dennis Potter
8704683bf2
Replaced send WC stack by queue
2018-07-21 12:07:43 +02:00
Dennis Potter
3acc3df7c4
ib_read() now works for UDP
...
Node is now able to send data in RDMA_PS_UDP mode. Right now it creates
a new rdma_cm_id for every connection request. We could/should do this
differently
2018-07-19 20:33:41 +02:00
Dennis Potter
e34cceedfa
Added UD struct and added more comments
2018-07-19 18:31:47 +02:00
7936b0f626
Merge branch 'cmake-include' into develop
2018-07-16 20:20:05 +02:00
7c555ccb9c
node: fix node_{read,write}() interface for comedi and iec61850_sv
2018-07-16 20:16:59 +02:00
Dennis Potter
9eda397d6f
Changed Documentation of read() and write()
...
Added Doxygen documentation of a feature which was introduced in
72e627b327
2018-07-16 17:46:10 +02:00
688b0849bf
move node_type() implementation to source file
2018-07-16 14:42:23 +02:00
77f3033007
log: remove indention feature complete for better compatability with new C++ logger
2018-07-16 14:42:11 +02:00
9116fda00b
add node_type() function to get pointer to node_type of a node instance
2018-07-16 11:00:15 +02:00
60f55ec178
improve naming of struct node_type function pointers ( closes #150 )
2018-07-16 11:00:15 +02:00
Dennis Potter
d9080fa1db
Cleaned up some obsolete code. Closes #176
2018-07-16 10:54:15 +02:00
Dennis Potter
6444a9e337
Split configuration in an in and out part
2018-07-15 13:51:18 +02:00
Dennis Potter
1d6ee5aec8
Node can determine if data should be send inline
...
The user can set the maximum size of the inline data and the node checks
if a sample can be send inline. This commit doesn't contain a info
message to the user about what the final max inline size will be. (The
HCA will probably change the value set by the user.)
2018-07-13 13:50:30 +02:00
Dennis Potter
b1b778f542
Added buffer to ib_write()
...
Now, ib_write() reads every cycle cnt values from the Completion Queue.
If it is not able to return them to the framework immediately, it
temporarily saves them on a stack.
ib_write() checks every cycle if the stack is non-empty and if it is
possible to return values from the stack to the framework.
2018-07-13 12:21:59 +02:00
Dennis Potter
72e627b327
Fixes #166 , all node interfaces are modified
...
The functions now look like this
int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
746fd2f694
Refactored ib_write in the same way as ib_read (described in #153 ). Merged separate completion queue polls to ib_write. Closes #167
2018-07-08 15:00:47 +02:00