numam-dpdk/drivers/net/ena
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/ena: fix FreeBSD build 2018-06-19 10:20:01 +02:00
ena_ethdev.c drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
ena_ethdev.h net/ena: adjust error checking and cleaning 2018-06-14 19:27:50 +02:00
ena_logs.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
ena_platform.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
Makefile net/ena: add watchdog and keep alive AENQ handler 2018-06-14 19:27:50 +02:00
meson.build net/ena: add to meson build 2018-06-14 19:27:50 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00