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: fefed3d1e62c ("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
..
2015-09-30 01:19:19 +02:00
2016-06-24 18:28:09 +02:00
2015-09-30 01:19:19 +02:00
2016-06-15 17:13:56 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2016-07-05 15:36:23 +02:00
2016-06-15 17:13:56 +02:00
2015-09-30 01:19:19 +02:00