Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-22 Thread Ferruh Yigit
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

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-22 Thread John Daley (johndale)
o Laranjeiro > ; Ananyev, Konstantin > > Subject: Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation > > On 9/19/2017 6:31 AM, John Daley (johndale) wrote: > > > >> -Original Message- > >> From: Thomas Monjalon [mailto:tho...@monjalon.net] &g

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-19 Thread Ferruh Yigit
On 9/19/2017 6:31 AM, John Daley (johndale) wrote: > >> -Original Message- >> From: Thomas Monjalon [mailto:tho...@monjalon.net] >> Sent: Monday, September 18, 2017 3:25 PM >> To: John Daley (johndale) >> Cc: Ferruh Yigit ; dev@dpdk.org; Sergio Gonzalez >> Monroy >> Subject: Re: [PATCH]

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-18 Thread John Daley (johndale)
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, September 18, 2017 3:25 PM > To: John Daley (johndale) > Cc: Ferruh Yigit ; dev@dpdk.org; Sergio Gonzalez > Monroy > Subject: Re: [PATCH] net/enic: fix multi-process operation > > 18/09/2017 23:27,

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-18 Thread Thomas Monjalon
18/09/2017 23:27, Ferruh Yigit: > 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 pri

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-18 Thread Ferruh Yigit
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

Re: [dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-12 Thread Aaron Conole
John Daley writes: > - 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 > allmu

[dpdk-dev] [PATCH] net/enic: fix multi-process operation

2017-09-11 Thread John Daley
- 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. Fix