numam-dpdk/drivers/net/enic
John Daley 0e804034dc net/enic: fix multi-process operation
- Use rte_malloc() instead of malloc() for the per device 'vdev' structure
  so that it can be shared across processes.
- Only initialize the device if the process type is RTE_PROC_PRIMARY
- Only allow the primary process to do queue setup, start/stop, promisc
  allmulticast, mac add/del, mtu.

Fixes: fefed3d1e6 ("enic: new driver")
Cc: stable@dpdk.org

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Aaron Conole <aconole@redhat.com>
2017-10-06 02:49:49 +02:00
..
base net/enic: fix multi-process operation 2017-10-06 02:49:49 +02:00
enic_clsf.c net/enic: replace check for SSE4 with check for x86 2017-07-04 14:39:18 +02:00
enic_compat.h net/enic: use I/O device memory read/write API 2017-01-18 17:18:26 +01:00
enic_ethdev.c net/enic: fix multi-process operation 2017-10-06 02:49:49 +02:00
enic_flow.c net/enic: flow API debug 2017-06-12 10:41:26 +01:00
enic_main.c net/enic: fix multi-process operation 2017-10-06 02:49:49 +02:00
enic_res.c net/enic: flow API for NICs with advanced filters enabled 2017-06-12 10:41:26 +01:00
enic_res.h net/enic: fix memory leak with oversized Tx packets 2017-02-10 12:25:49 +01:00
enic_rxtx.c net/enic: fix crash when freeing 0 packet to mempool 2017-08-03 22:55:32 +02:00
enic.h net/enic: flow API for NICs with advanced filters enabled 2017-06-12 10:41:26 +01:00
LICENSE enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00
Makefile net/enic: flow API skeleton 2017-06-12 10:41:26 +01:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00