Re: [dpdk-dev] [PATCH] ethdev: handle removed device properly on promisc replay

2019-09-26 Thread Ferruh Yigit
On 9/24/2019 6:01 PM, Andrew Rybchenko wrote: > Promiscuous mode callback may return error if the device is removed. > Use eth_err() helper to check the condition and return appropriate > error code. > > Fixes: dff6d544fb3c ("ethdev: do nothing if promiscuous mode is applied > again") > > Signed

[dpdk-dev] [PATCH] ethdev: handle removed device properly on promisc replay

2019-09-24 Thread Andrew Rybchenko
Promiscuous mode callback may return error if the device is removed. Use eth_err() helper to check the condition and return appropriate error code. Fixes: dff6d544fb3c ("ethdev: do nothing if promiscuous mode is applied again") Signed-off-by: Andrew Rybchenko --- lib/librte_ethdev/rte_ethdev.c