1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

549 commits

Author SHA1 Message Date
Dennis Potter
e843733317 Fixed memory_init() bug as described in #180 2018-07-25 13:22:50 +02:00
Dennis Potter
a50de4e8e7 Changed size of receive and send pool
Before, this size was always 8192. Now it is only that big for
Infiniband type nodes.
2018-07-23 22:45:29 +02:00
Dennis Potter
64282b7134 Changed sequence type to uint64_t 2018-07-21 13:01:42 +02:00
Dennis Potter
7a2e762a9c Added node_type_start() to villas-signal
villas-signal.cpp didn't call node_type_start(). This caused the
assertion which was added in 92e4b61e2e
to fail.
2018-07-19 16:53:44 +02:00
Dennis Potter
529cfc2473 Workaround to solve hash_table_hash seg fault
This commit is similar to 070e2c2bde
2018-07-19 16:10:20 +02:00
1e46313d49 fix defines for websocket support 2018-07-18 08:13:47 +02:00
fc80bf809d start using spdlog for C++ code 2018-07-17 17:56:56 +02:00
eaa25885f7 cmake: individually link libraries 2018-07-17 17:56:23 +02:00
704c4cd59f relay: add villas-relay to build system 2018-07-17 10:56:16 +02:00
b8ff7d03d3 relay: move much of the protocol callback code into the Session, Connection classes 2018-07-17 10:56:16 +02:00
077d782990 relay: added a simple websocket relay for facilitating client-to-client connections 2018-07-17 10:52:51 +02:00
Dennis Potter
3092eddb69 Changed memory type and size of pool of receive- and send loop 2018-07-12 17:47:34 +02:00
Dennis Potter
e6b7a668ee Added some more verbosity to a warning 2018-07-12 17:26:37 +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
6150a36411 Changed all node_write() functions 2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b Changed all node_read() functions to support a *cnt instead of cnt 2018-07-07 17:07:45 +02:00
Dennis Potter
b2fcfdca9d Checked all tools for the presence of log_parse() 2018-07-05 14:40:32 +02:00
Dennis Potter
5f2be6d46c Fixed order of function calls for log-init 2018-07-05 10:09:20 +02:00
4d09482fdb Merge branch 'infiniband' into develop
# Conflicts:
#	Makefile
#	Makefile.config
#	Makefile.help
#	lib/Makefile.villas-ext.inc
#	lib/Makefile.villas.inc
#	lib/memory.c
#	lib/nodes/Makefile.inc
2018-07-04 16:50:36 +02:00
Dennis Potter
f3a5b81649 Merge branch 'infiniband-memory' into infiniband 2018-07-04 10:50:21 +02:00
132a0b88c0 cpp: replace <stdio.h> by <iostream> 2018-07-03 21:04:28 +02:00
446876fd94 porting executables to C++ 2018-07-03 20:42:37 +02:00
b26f631eb3 cmake: install src executables 2018-07-03 18:27:44 +02:00
Dennis Potter
217ce45ff1 Made pools larger to be compatible with IB node 2018-07-03 17:37:17 +02:00
Dennis Potter
669d75a666 Basic implementation of zero-copying is done. The is still a problem with rread = hook_read_list. It doesn't return anything after the fourth read 2018-07-02 16:03:16 +02:00
bb70be0b2c memory: refactored memory subsystem 2018-07-02 15:57:56 +02:00
Dennis Potter
c70dbe2263 Resolved memory_ib related compile and link errors 2018-06-30 18:20:30 +02:00
f7bf0cc1fe cmake: check if criterion is present 2018-06-30 10:37:49 +02:00
bea165de41 rename source files of executables to match their name 2018-06-30 10:36:47 +02:00
0a4f1a3731 cmake: add install targets and several other cpack improvments 2018-06-30 01:29:45 +02:00
c01393bc82 infiniband: add new memory type 2018-06-29 17:37:10 +02:00
9094941b4c cmake: add more CMakeLists.txt 2018-06-29 14:36:50 +02:00
58a13ae92e cmake: fix some #ifdefs 2018-06-29 14:36:50 +02:00
f585a94ebf remove most of the old Makefiles 2018-06-29 14:36:24 +02:00
179aa2d553 cmake: add new CMakeLists.txt 2018-06-29 14:35:39 +02:00
84b18e23bf convert: fix initialization of struct io's 2018-06-16 20:56:43 +02:00
4a581a5e84 pipe: fix memleak if failed to sent samples 2018-05-26 02:33:41 +02:00
a535ec5abc node: separated node configuratio for send / receive side 2018-05-24 09:04:41 +02:00
17af0784e6 io: bug fixes to avoid segemention faults 2018-05-13 14:21:50 +02:00
d2aff3c30a io: close before destroy 2018-05-13 13:53:37 +02:00
a520e00a12 generalize: *_type_lookup() as wrappers around plugin_lookup() 2018-05-13 13:52:02 +02:00
63a4634d57 refactor: log_{start,stop} -> log_{open,close} 2018-05-12 18:14:24 +02:00
71218e939c io: close before destroy 2018-05-12 18:01:59 +02:00
4ba077d14e io: remove state-less IO calls 2018-05-12 15:25:29 +02:00
c0313c7963 refactored: io_format -> format_type 2018-05-12 13:57:39 +02:00
bd72556b1d refactor: remove last appearances of old format naming scheme 2018-05-09 10:27:38 +02:00
a623eec35f convert: added new tool which converts between different IO formats 2018-05-09 09:18:10 +02:00
bb055f840a src: unify command line usage infos 2018-05-08 11:43:16 +02:00
c59e0948c3 io: use dots instead of hyphens in format names 2018-05-08 08:45:18 +02:00
05e924161d hook: reworked villas-hook tool 2018-03-28 14:17:44 +02:00