numam-dpdk/drivers/net/ionic
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
..
ionic_dev.c net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_dev.h net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
ionic_ethdev.h net/ionic: support RSS 2020-01-20 18:02:17 +01:00
ionic_if.h net/ionic: fix packet type mask 2020-02-05 09:51:21 +01:00
ionic_lif.c net/ionic: support Tx checksum 2020-01-20 18:02:17 +01:00
ionic_lif.h net/ionic: support Tx checksum 2020-01-20 18:02:17 +01:00
ionic_logs.h net/ionic: add log 2020-01-20 18:02:17 +01:00
ionic_mac_api.c net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_mac_api.h net/ionic: register and initialize adapter 2020-01-20 18:02:17 +01:00
ionic_main.c net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_osdep.h net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_regs.h net/ionic: register and initialize adapter 2020-01-20 18:02:17 +01:00
ionic_rx_filter.c net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_rx_filter.h net/ionic: support Rx filters 2020-01-20 18:02:17 +01:00
ionic_rxtx.c replace cold attributes 2020-04-16 18:30:58 +02:00
ionic_rxtx.h net/ionic: add Rx and Tx handling 2020-01-20 18:02:17 +01:00
ionic.h net/ionic: support FW version 2020-01-20 18:02:17 +01:00
meson.build mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
rte_pmd_ionic_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00