[dpdk-dev] [PATCH 1/7] cxgbe: fix secondary process initialization

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi rte_eth_dev_allocate already assigns the eth_dev_data. So, don't allocate it separately as part of probe function. And we save this eth_dev_data as part of txq structure. Attach to rte_eth_dev devices allocated by Primary process for Ports other than Port-0 in the secondary p

Re: [dpdk-dev] [PATCH 1/7] cxgbe: fix secondary process initialization

2018-02-05 Thread Ferruh Yigit
On 2/4/2018 6:06 AM, Rahul Lakkireddy wrote: > From: Kumar Sanghvi > > rte_eth_dev_allocate already assigns the eth_dev_data. So, > don't allocate it separately as part of probe function. And we > save this eth_dev_data as part of txq structure. > > Attach to rte_eth_dev devices allocated by Pri

Re: [dpdk-dev] [PATCH 1/7] cxgbe: fix secondary process initialization

2018-02-06 Thread Rahul Lakkireddy
On Monday, February 02/05/18, 2018 at 22:53:36 +0530, Ferruh Yigit wrote: > On 2/4/2018 6:06 AM, Rahul Lakkireddy wrote: > > From: Kumar Sanghvi > > > > rte_eth_dev_allocate already assigns the eth_dev_data. So, > > don't allocate it separately as part of probe function. And we > > save this eth_