Re: [dpdk-dev] [PATCH] drivers/net: set close behaviour flag at probing

2018-11-12 Thread Ferruh Yigit
On 11/12/2018 9:42 AM, Luca Boccassi wrote: > On Sun, 2018-11-11 at 23:46 +0100, Thomas Monjalon wrote: >> The ethdev flag RTE_ETH_DEV_CLOSE_REMOVE is set for drivers >> having migrated to the new behaviour of rte_eth_dev_close(). >> >> As any other flag, it can be useful to know about its value >>

Re: [dpdk-dev] [PATCH] drivers/net: set close behaviour flag at probing

2018-11-12 Thread Luca Boccassi
On Sun, 2018-11-11 at 23:46 +0100, Thomas Monjalon wrote: > The ethdev flag RTE_ETH_DEV_CLOSE_REMOVE is set for drivers > having migrated to the new behaviour of rte_eth_dev_close(). > > As any other flag, it can be useful to know about its value > as soon as the port is probed. > Unfortunately, i

[dpdk-dev] [PATCH] drivers/net: set close behaviour flag at probing

2018-11-11 Thread Thomas Monjalon
The ethdev flag RTE_ETH_DEV_CLOSE_REMOVE is set for drivers having migrated to the new behaviour of rte_eth_dev_close(). As any other flag, it can be useful to know about its value as soon as the port is probed. Unfortunately, it was set inside the close operation, just before being erased by mems