numam-dpdk/app
Konstantin Ananyev b66412f24f test: fix ring PMD initialisation
(bitratestats_autotest|latencystats_autotest|pdump_autotest) tests
generate a log of error messages like that:

test_packet_forward() line 104: Error sending packet to port 0
Send pkts Failed

These tests use of app/test/sample_packet_forward.* code.
This code creates a portid from a ring, but doesn't properly
configure/start it.
The fix adds code to configure/start given port before usage.

Fixes: 7a0935239b ("ethdev: make fast-path functions to use new flat array")
Fixes: a52966cd48 ("test: add helpers using ring PMD Rx/Tx")
Cc: stable@dpdk.org

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
2021-10-26 19:59:26 +02:00
..
dumpcap app/dumpcap: add new packet capture application 2021-10-22 22:40:58 +02:00
pdump net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
proc-info ethdev: add namespace 2021-10-22 18:15:38 +02:00
test test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
test-acl app/acl: add script to automate testing 2021-07-30 18:34:35 +02:00
test-bbdev app/bbdev: handle endianness of test data 2021-10-18 20:12:15 +02:00
test-cmdline cmdline: make struct rdline opaque 2021-10-22 23:23:45 +02:00
test-compress-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-crypto-perf app/crypto-perf: support lookaside IPsec 2021-10-18 20:12:19 +02:00
test-eventdev ethdev: add namespace 2021-10-22 18:15:38 +02:00
test-fib app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-flow-perf app/flow-perf: export some config as runtime options 2021-10-25 22:31:53 +02:00
test-pipeline ethdev: add namespace 2021-10-22 18:15:38 +02:00
test-pmd mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
test-regex app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-sad app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
meson.build app/dumpcap: add new packet capture application 2021-10-22 22:40:58 +02:00