numam-dpdk/drivers/net/e1000
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/e1000/base: update version 2020-07-07 23:38:27 +02:00
e1000_ethdev.h net/igb: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
e1000_logs.c net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
e1000_logs.h net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
em_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
em_rxtx.c eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
igb_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
igb_flow.c net/e1000: fix zeroing of RSS config 2019-10-25 19:20:47 +02:00
igb_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
igb_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
igb_rxtx.c net/e1000: fix crash on Tx done clean up 2020-07-21 13:54:54 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_e1000_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00