net/cxgbe: fix secondary process initialization
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 28 Feb 2018 18:04:47 +0000 (23:34 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitda5cf85e2da0fabe565085e66798ee0da2fc6697
treeca6efd41b88eb1478082d33ee61f84b429817b55
parent2195df6d11bd84662562e77784a66141793e959f
net/cxgbe: fix secondary process initialization

Attach to rte_eth_dev devices allocated by Primary process for
Ports other than Port-0 in the secondary process.

Save the Primary rte_eth_dev device eth_dev_data as part of txq
structure needed for tx path.

Fixes: 8318984927ff ("cxgbe: add pmd skeleton")
Cc: stable@dpdk.org
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
doc/guides/nics/features/cxgbe.ini
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/sge.c