numam-dpdk/app
Dariusz Sosnowski 47a4e1fb2c ethdev: explicit some errors of port start and stop
This patch clarifies the handling of following cases
in the ethdev API docs:

- If rte_eth_dev_start() returns (-EAGAIN) for some port,
  it cannot be started right now and start operation
  must be retried.
- If rte_eth_dev_stop() returns (-EBUSY) for some port,
  it cannot be stopped in the current state.

When stopping the port in testpmd fails,
port's state is switched back to STARTED
to allow users to manually retry stopping the port.

No additional changes in testpmd are required to handle
failures to start the port.
If rte_eth_dev_start() fails, port's state is switched to STOPPED
and users are allowed to retry the operation.

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
2022-11-21 23:49:47 +01:00
..
dumpcap app/dumpcap: add file-prefix option 2022-10-21 15:13:25 +02:00
pdump app/pdump: free mempool at resources cleanup 2022-03-08 00:19:31 +01:00
proc-info app/procinfo: dump detailed info for Rx/Tx descriptors 2022-11-15 10:51:58 +01:00
test test/event: fix build with clang 15 2022-11-21 11:19:32 +01:00
test-acl app/acl: support different formats for IPv6 address 2022-05-30 23:31:37 +02:00
test-bbdev app/bbdev: use helper function to set IOVA address 2022-11-03 08:03:24 +01:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf bus: move IOVA definition from header 2022-09-23 16:14:34 +02:00
test-crypto-perf app/crypto-perf: replace slave with worker 2022-11-15 10:28:17 +01:00
test-eventdev app/eventdev: fix timestamp with crypto producer 2022-11-07 19:12:22 +01:00
test-fib eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
test-flow-perf app/flow-perf: add hairpin queue memory config 2022-10-08 18:30:50 +02:00
test-gpudev gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
test-pipeline ethdev: remove Rx header split port offload 2022-10-04 11:20:04 +02:00
test-pmd ethdev: explicit some errors of port start and stop 2022-11-21 23:49:47 +01:00
test-regex app/regex: add match mode option 2022-10-09 15:11:58 +02:00
test-sad eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
test-security-perf app/security-perf: add session performance test 2022-11-03 13:48:37 +01:00
meson.build app/security-perf: add session performance test 2022-11-03 13:48:37 +01:00