Autogenerate tests

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
nway_merger.hh

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
tests/tst-nway-merger.cc

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Per-CPU Tx first edition

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Fixed ring_spsc

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Fixed compilation. related to new ring_spsc.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
tx kick thresh: 16->qsize/2

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
added netperf to skel

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
cleanup

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Merge branch 'master' into net-per-cpu-tx
Removed the kick() threshold.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Merge branch 'master' into net-per-cpu-tx
Add $(java_tests) to dependency list of the bootfs.bin

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Merge branch 'master' into net-per-cpu-tx
Revive the Tx interrupt. Prevent drops by using add_buf_wait().

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Improve the pop() algorithm in a "not-all-empty" case.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
ilog2.hh: added msb() - returns a position of a most significant set bit in n

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
nway_merger: added a naive implementation of an empty() method.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
- Drop has_packets(), use nway_merger.empty() instead.
- Don't "finalize" every packet - it's an atomic operation. Do it for the whole bulk or at least every half a ring.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Properly propagate the drop event to the upper layers.
Increase a per-CPU ring to 4096 entries.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>