net/cxgbe: add probe to initialize VF devices
authorKumar Sanghvi <kumaras@chelsio.com>
Sat, 10 Mar 2018 22:48:22 +0000 (04:18 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit5e80364a0389f76e4c8c20cdbe40a4db36b49f58
tree1af45e29dcd89d8a09dbbae4543c8e31aebf353e
parentd2adea17463fefca8d1d8d9f53a15b31ac5374c9
net/cxgbe: add probe to initialize VF devices

Add probe to initialize VF devices.  Separate init/de-init paths
for PF and VF.  Do firmware state initialization wrt VF and retrieve
various operational parameters by querying firmware.  Finally configure
and initialize ports.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/Makefile
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/base/t4_hw.c
drivers/net/cxgbe/cxgbe.h
drivers/net/cxgbe/cxgbe_main.c
drivers/net/cxgbe/cxgbevf_ethdev.c
drivers/net/cxgbe/cxgbevf_main.c [new file with mode: 0644]