numam-dpdk/drivers/net/mlx5
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
..
Makefile net/mlx5: fallback quietly if pkg-config is unavailable 2018-11-14 00:35:53 +01:00
meson.build net/mlx5: prepare meson build for adding E-Switch VXLAN 2018-11-05 15:01:25 +01:00
mlx5_defs.h net/mlx5: make vectorized Tx threshold configurable 2018-11-05 15:01:25 +01:00
mlx5_ethdev.c mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
mlx5_flow_dv.c net/mlx5: fix L4 protocol validation 2018-11-14 00:35:53 +01:00
mlx5_flow_tcf.c net/mlx5: fix VXLAN device rollback if rule apply fails 2018-11-14 00:35:53 +01:00
mlx5_flow_verbs.c net/mlx5: fix L4 protocol validation 2018-11-14 00:35:53 +01:00
mlx5_flow.c net/mlx5: remove GRE inner IPv6 matching limitation 2018-11-14 00:35:53 +01:00
mlx5_flow.h net/mlx5: remove flags setting from flow preparation 2018-11-05 15:01:25 +01:00
mlx5_glue.c net/mlx5: add flow action functions to glue 2018-11-05 15:01:25 +01:00
mlx5_glue.h net/mlx5: add flow action functions to glue 2018-11-05 15:01:25 +01:00
mlx5_mac.c net/mlx5: always use representor ifindex for ioctl 2018-10-11 18:56:02 +02:00
mlx5_mr.c net/mlx5: support externally allocated static memory 2018-10-11 18:53:49 +02:00
mlx5_mr.h net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_nl.c net/mlx5: fix invalid network interface index 2018-07-26 14:05:52 +02:00
mlx5_prm.h net/mlx5: support metadata as flow rule criteria 2018-10-26 22:14:06 +02:00
mlx5_rss.c net/mlx5: use a macro for the RSS key size 2018-07-12 12:10:03 +02:00
mlx5_rxmode.c net/mlx5: preserve allmulticast flag for flow isolation mode 2018-08-05 08:47:41 +02:00
mlx5_rxq.c net/mlx5: support default RSS key as null 2018-11-05 15:01:25 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: support metadata as flow rule criteria 2018-10-26 22:14:06 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: support metadata as flow rule criteria 2018-10-26 22:14:06 +02:00
mlx5_rxtx_vec.c net/mlx5: make vectorized Tx threshold configurable 2018-11-05 15:01:25 +01:00
mlx5_rxtx_vec.h net/mlx5: support metadata as flow rule criteria 2018-10-26 22:14:06 +02:00
mlx5_rxtx.c net/mlx5: support Rx queue count API 2018-11-05 15:01:25 +01:00
mlx5_rxtx.h net/mlx5: support Rx queue count API 2018-11-05 15:01:25 +01:00
mlx5_socket.c mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
mlx5_stats.c net/mlx5: always use representor ifindex for ioctl 2018-10-11 18:56:02 +02:00
mlx5_trigger.c net/mlx5: fix queue rollback when starting device 2018-07-26 14:05:52 +02:00
mlx5_txq.c net/mlx5: support metadata as flow rule criteria 2018-10-26 22:14:06 +02:00
mlx5_utils.h net/mlx5: fix build on PPC64 2018-11-14 00:35:53 +01:00
mlx5_vlan.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5.c drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
mlx5.h net/mlx5: make vectorized Tx threshold configurable 2018-11-05 15:01:25 +01:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00