numam-dpdk/drivers/net/vmxnet3
Thomas Monjalon 15febafdd4 drivers/net: set close behaviour flag at probing
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 memset() in rte_eth_dev_release_port().
The flag assignment is moved to the probing stage, so it can
be checked by the application in order to anticipate the behaviour.

Fixes: 42603bbdb5 ("net/mlx5: release port on close")
Fixes: 6c99085d97 ("net/vmxnet3: fix hot-unplug")
Fixes: 4d7877fde2 ("net/ena: remove resources when port is being closed")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Luca Boccassi <bluca@debian.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-11-14 00:35:53 +01:00
..
base net/vmxnet3: complete Rx offloads support 2018-04-27 17:34:41 +01:00
Makefile net/vmxnet3: guess MSS if not provided in LRO mode 2018-04-27 17:34:41 +01:00
meson.build net/vmxnet3: add in meson build 2018-09-18 22:53:35 +02:00
rte_pmd_vmxnet3_version.map vmxnet3: move to drivers/net/ 2015-05-22 16:06:23 +02:00
vmxnet3_ethdev.c drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
vmxnet3_ethdev.h net/vmxnet3: support stats reset 2018-09-28 01:41:02 +02:00
vmxnet3_logs.h net/vmxnet3: implement dynamic logging 2018-01-16 18:47:49 +01:00
vmxnet3_ring.h net/vmxnet3: increase Rx data ring descriptor size 2018-04-27 15:54:56 +01:00
vmxnet3_rxtx.c ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00