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
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
bb70be0b2c
memory: refactored memory subsystem
2018-07-02 15:57:56 +02:00
58e4d7e394
cmake: add new defines to config.h.in
2018-06-29 14:36:24 +02:00
a535ec5abc
node: separated node configuratio for send / receive side
2018-05-24 09:04:41 +02:00
78ff84eef1
path: run hooks again
2018-05-23 14:59:48 +02:00
cbcb0e6832
path: fail if we can not setup poll(2)
2018-05-23 09:06:05 +02:00
b21b975a17
path: add a new configuration setting to switch between poll and single mode
2018-05-23 02:24:55 +02:00
d8770e95d4
bug fix
2018-05-08 08:18:18 +02:00
915a7568bf
path: special case for single-source paths
2018-05-08 08:16:14 +02:00
4f1aab1da8
rename setting 'no_builtin' to 'builtin' to avoid double negation
2018-04-19 15:43:57 +02:00
088194eb29
Merge tag 'v0.6.0' into develop
2018-02-17 09:39:45 +01:00
c69d307bc9
improve Makefiles:
...
- moved all build-time options to Makefile.config
- build VILLASnode without hook support
- build VILLASnode without web & API support
- build VILLASnode without IO format support
- build VILLASnode without external plugins
2018-02-04 16:45:32 +01:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
7ea7dad766
added option for skipping built-in hooks
2017-12-20 14:56:37 +01:00
125054b16b
path: fix initialization of reverse path ( closes #132 )
2017-12-20 11:47:15 +01:00
5ce1f7a8c6
replace info() with debug() to be less noisy
2017-12-14 14:01:21 +01:00
37f5bfe24c
c++: more porting
2017-10-20 11:54:00 +02:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
bbdacfc0b4
refactor: rephrase log message "message" -> "sample"
2017-10-18 14:24:16 +02:00
d0517b89dd
use new bitset datastrcture in path
2017-10-18 09:31:31 +02:00
a6f158b250
added support for more register modes
2017-10-16 23:07:42 +02:00
7fd99e2ee7
fix reset part of path
2017-09-24 01:15:28 -06:00
003650eb21
change behaviour of mux feautre: send sample containing all values by default
2017-09-23 23:57:19 -06:00
d9d85ce2e8
mapping: fix restart
2017-09-16 15:33:57 +02:00
876a147842
fix memory leaks detected by valgrind
2017-09-05 01:09:34 +02:00
9e354e7382
stats: fixes for new stats node type
2017-09-04 23:03:55 +02:00
6c34380b55
debug path polling
2017-09-03 10:52:46 +02:00
526be78ca5
hook: from now on both paths and nodes can have hooks!
2017-09-02 14:27:58 +02:00
415cd0de09
refactor: whitespace changes only
2017-09-02 14:20:38 +02:00
de860087b7
path: show more path details in log
2017-08-31 11:31:43 +02:00
bdd65982ed
path: properly calculate correct queuelen and samplelen values
2017-08-31 11:29:49 +02:00
58175c7c93
show more details about path
2017-08-31 09:43:50 +02:00
382161b00b
mapping: move parser from node.c to mapping.c
2017-08-31 09:43:49 +02:00
e7666be1ef
move 'samplelen' setting from per path to per node configuration
2017-08-31 09:31:19 +02:00
f6edec4d41
add mux feature
2017-08-30 23:53:35 +02:00
bf981a704e
path: add support for multiple sources
2017-08-28 14:38:30 +02:00
10faca42d8
fix initialization of _name members
2017-08-27 18:01:12 +02:00
5edafe2388
remove superflouus includes
2017-08-22 14:14:12 +02:00
434fe6dbd6
replaced libconfig by jansson for parsing the configuration (huge commit)
2017-08-03 00:19:27 +02:00
a71053f718
refactor: use libconfig instance only within _parse() functions
2017-08-01 11:56:47 +02:00
d2300e7397
temp node test_rtt
2017-07-28 18:09:47 +02:00
522ded3ea7
made most of Linux dependencies optional
...
VILLASnode now compiles on OS X Yosemite :-)
2017-07-25 12:07:06 +02:00
3ad2506b61
path: support paths without a destination
2017-07-13 22:25:42 +02:00
37148f0bb0
path: properly handle reference counts for samples
2017-07-13 22:25:05 +02:00
daadd3f442
path: reduce log verbosity
2017-07-13 22:24:38 +02:00
94ae566091
utils: renamed macros for color output
2017-07-12 12:18:43 +02:00
49c0e9957a
using memdup() will invalidate pointers to the object which might have been used during _init() and _parse() calls
2017-07-09 14:36:09 +02:00