Re: [dpdk-dev] [PATCH v1 1/3] net/failsafe: avoid crash on malformed eth_dev

2020-05-06 Thread Ferruh Yigit
On 5/5/2020 8:10 PM, Gaetan Rivet wrote: > 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

[dpdk-dev] [PATCH v1 1/3] net/failsafe: avoid crash on malformed eth_dev

2020-05-05 Thread Gaetan Rivet
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. Instea