numam-dpdk/drivers/net/ipn3ke
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
..
ipn3ke_ethdev.c drivers/net: accept removing device without any port 2020-09-30 19:19:14 +02:00
ipn3ke_ethdev.h net/ipn3ke: remove commented out code 2019-11-08 16:40:28 +01:00
ipn3ke_flow.c net/ipn3ke: remove configuration for i40e port bonding 2019-11-20 17:36:05 +01:00
ipn3ke_flow.h net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
ipn3ke_logs.h net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
ipn3ke_rawdev_api.h net/ipn3ke: remove configuration for i40e port bonding 2019-11-20 17:36:05 +01:00
ipn3ke_representor.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
ipn3ke_tm.c drivers/net: update TM capability 2020-09-18 18:55:10 +02:00
meson.build avoid libfdt checks adding full paths to pkg-config 2020-09-15 15:19:34 +02:00
rte_pmd_ipn3ke_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00