numam-dpdk/drivers/net/ixgbe
Thomas Monjalon 3041049375 drivers/net: check process type in close operation
The secondary processes are not allowed to release shared resources.
Only process-private resources should be freed in a secondary process.
Most of the time, there is no process-private resource,
so the close operation is just forbidden in a secondary process.

After adding proper check in the port close functions,
some redundant checks in the device remove functions are dropped.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
Reviewed-by: Sachin Saxena <sachin.saxena@oss.nxp.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
2020-09-30 19:19:14 +02:00
..
base net/ixgbe/base: update version 2020-07-11 06:18:53 +02:00
ixgbe_82599_bypass.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_api.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_defines.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ixgbe_bypass.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
ixgbe_ethdev.h net/ixgbe: add private APIs for flow filtering 2020-07-11 06:18:52 +02:00
ixgbe_fdir.c net/ixgbe: add private APIs for flow filtering 2020-07-11 06:18:52 +02:00
ixgbe_flow.c net/ixgbe: fix zeroing of RSS config 2019-10-25 19:20:47 +02:00
ixgbe_ipsec.c cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
ixgbe_ipsec.h cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
ixgbe_logs.h net/ixgbe: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:58 +02:00
ixgbe_pf.c ethdev: remove underscore prefix from internal API 2020-09-18 18:55:08 +02:00
ixgbe_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_rxtx_vec_common.h net/ixgbe: convert to new Rx offloads API 2018-04-14 00:40:21 +02:00
ixgbe_rxtx_vec_neon.c net/ixgbe: fix include of vector header file 2020-06-30 14:52:30 +02:00
ixgbe_rxtx_vec_sse.c replace cold attributes 2020-04-16 18:30:58 +02:00
ixgbe_rxtx.c drivers/net: delete HW rings while freeing queues 2020-07-11 06:18:54 +02:00
ixgbe_rxtx.h net/ixgbe: support aarch32 2020-06-30 14:52:30 +02:00
ixgbe_tm.c drivers/net: update TM capability 2020-09-18 18:55:10 +02:00
ixgbe_vf_representor.c ethdev: make device operations struct private 2020-09-18 18:55:08 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_ixgbe_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00
rte_pmd_ixgbe.c net/ixgbe: add private APIs for flow filtering 2020-07-11 06:18:52 +02:00
rte_pmd_ixgbe.h drivers/net: fix exposing internal headers 2020-07-11 06:18:54 +02:00