Re: [PATCH] net/enic: fix multi-process operation
From: Ferruh Yigit <hidden>
Date: 2017-09-22 16:50:34
From: Ferruh Yigit <hidden>
Date: 2017-09-22 16:50:34
On 9/11/2017 7:58 PM, John Daley wrote:
- 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 <redacted>Applied to dpdk-next-net/master, thanks.