Go to file
Bernard Iremonger 4ea3801b32 app/test: fix ring unit test
If eth_ring vdevs are created from the command line with the --vdev option,
they create their own rings which are not shared by other vdevs.
Some of tests in this suite require that the vdevs share rings, so some
of the tests fail.

For vdevs to share rings they must be created in the test code with the
rte_eth_from_rings() function using rings created with the rte_ring_create()
function.

Use the command line option --vdev=eth_ring0 to create port 0.
This option is not mandatory for the tests to pass. It allows some additional
functional tests on cmd-line created rings to be executed.

Create two rings and five ethdevs in test_pmd_ring.c for ports 1 to 5,
and then use these to run the unit tests on the pmd ring functionality.

Improve test output by adding the port number to printf statements,
and adding a printf describing each test.

Fixes: 572eb3cd83 ("ring: simplify unit tests")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-12-07 04:10:15 +01:00
app app/test: fix ring unit test 2015-12-07 04:10:15 +01:00
config config: disable vector optimizations in sched library 2015-12-06 01:02:51 +01:00
doc examples/l3fwd: fix crash with IPv6 2015-12-07 03:21:13 +01:00
drivers bonding: fix link state interrupt flag 2015-12-07 01:03:13 +01:00
examples examples/l3fwd: fix crash with unaligned L2 header 2015-12-07 03:21:13 +01:00
lib port: fix sink port statistics 2015-12-07 01:03:13 +01:00
mk mk: fix shared library dependencies of drivers 2015-12-06 22:15:14 +01:00
pkg pkg: update RPM with standard install 2015-12-06 15:41:05 +01:00
scripts mk: fix combined lib build with ABI versioning 2015-12-06 15:41:04 +01:00
tools mk: remove multi-target install 2015-12-06 15:41:04 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: claim responsibility for secondary process and FreeBSD 2015-12-06 22:15:14 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00