numam-dpdk/drivers/net/igc
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/igc/base: update copyright 2020-05-18 20:35:57 +02:00
igc_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
igc_ethdev.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_filter.c net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_filter.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_flow.c net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_flow.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_logs.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
igc_logs.h net/igc: support Rx and Tx 2020-04-21 13:57:07 +02:00
igc_txrx.c net/igc: remove useless log 2020-05-11 22:27:39 +02:00
igc_txrx.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
meson.build net/igc: support flow API 2020-04-21 13:57:08 +02:00
rte_pmd_igc_version.map version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00