numam-dpdk/drivers/net/mvpp2
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
..
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
mrvl_ethdev.c drivers/net: check process type in close operation 2020-09-30 19:19:14 +02:00
mrvl_ethdev.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mrvl_flow.c net/mvpp2: fix build with gcc 10 2020-05-21 15:41:48 +02:00
mrvl_flow.h net/mvpp2: add init and deinit to flow 2018-09-28 01:41:03 +02:00
mrvl_mtr.c drivers: fix SPDX license id consistency 2019-03-29 00:15:53 +01:00
mrvl_mtr.h net/mvpp2: support metering 2018-09-28 01:41:03 +02:00
mrvl_qos.c net/mvpp2: align with MUSDK 18.09 2018-09-28 01:41:03 +02:00
mrvl_qos.h net/mvpp2: change default policer configuration 2018-09-28 01:41:03 +02:00
mrvl_tm.c drivers/net: update TM capability 2020-09-18 18:55:10 +02:00
mrvl_tm.h net/mvpp2: support traffic manager 2018-09-28 01:41:03 +02:00
rte_pmd_mvpp2_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00