net/cxgbe: rework ethdev device allocation
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Wed, 28 Feb 2018 18:04:46 +0000 (23:34 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commit2195df6d11bd84662562e77784a66141793e959f
treec5889fda4e712316d9b5c10249b123fb08f8353a
parentb0c0efb4fdea0807ed43e59ca4f07b1fd2a807da
net/cxgbe: rework ethdev device allocation

Rework rte_eth_dev allocation for other ports under same PF.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/cxgbe_main.c