numam-dpdk/drivers/net/failsafe
Gaetan Rivet 94a6f2def2 net/failsafe: avoid crash on malformed ethdev
Some PMD do not respect the eth_dev API when allocating their
rte_eth_dev. As a result, on device add event resulting from
rte_eth_dev_probing_finish() call, the eth_dev processed is incomplete.

The segfault is a good way to focus the developer on the issue, but does
not inspire confidence. Instead, warn the user of the error repeatedly.

The failsafe PMD can warn of the issue and continue. It will repeatedly
attempt to initialize the failed port and complain about it, which
should result in the same developer focus but with less crashing.

Signed-off-by: Gaetan Rivet <grive@u256.net>
2020-05-11 22:27:39 +02:00
..
failsafe_args.c net/failsafe: use new ethernet address parser 2019-07-08 21:26:52 +02:00
failsafe_eal.c eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
failsafe_ether.c net/failsafe: avoid crash on malformed ethdev 2020-05-11 22:27:39 +02:00
failsafe_flow.c net/failsafe: switch to flow API object conversion function 2018-10-11 18:53:49 +02:00
failsafe_intr.c net/failsafe: fix fd leak 2020-05-11 22:27:39 +02:00
failsafe_ops.c net/failsafe: fix fd leak 2020-05-11 22:27:39 +02:00
failsafe_private.h net/failsafe: fix fd leak 2020-05-11 22:27:39 +02:00
failsafe_rxtx.c net/failsafe: fix source port id in Rx packets 2019-04-19 14:51:55 +02:00
failsafe.c net/failsafe: fix fd leak 2020-05-11 22:27:39 +02:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_failsafe_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00