Re: [dpdk-dev] [PATCH] ethdev: fix eth device released repeatedly

2021-10-08 Thread lihuisong (C)
在 2021/10/8 18:23, Thomas Monjalon 写道: 08/10/2021 10:21, Huisong Li: In secondary process, because it doesn't clear eth_dev->data, the "eth_dev" above will not be NULL when rte_eth_dev_close() has been called before this interface is called. In this case, Ethernet device will be released repea

Re: [dpdk-dev] [PATCH] ethdev: fix eth device released repeatedly

2021-10-08 Thread Thomas Monjalon
08/10/2021 10:21, Huisong Li: > In secondary process, because it doesn't clear eth_dev->data, the "eth_dev" > above will not be NULL when rte_eth_dev_close() has been called before this > interface is called. In this case, Ethernet device will be released > repeatedly. The state of the Ethernet dev

[dpdk-dev] [PATCH] ethdev: fix eth device released repeatedly

2021-10-08 Thread Huisong Li
In secondary process, because it doesn't clear eth_dev->data, the "eth_dev" above will not be NULL when rte_eth_dev_close() has been called before this interface is called. In this case, Ethernet device will be released repeatedly. The state of the Ethernet device is equal to RTE_ETH_DEV_UNUSED aft