cxgb4: copy adap index to PF0-3 adapter instances
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 7 Mar 2018 07:38:45 +0000 (13:08 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 20:32:11 +0000 (15:32 -0500)
commit016764de8b0d17e946832d7b6530434daa82df0e
treeb7e4633dac29d08bc2ad12db710fe042afd13dcb
parentb51f26b14683838825170387457176c1ffaea9f5
cxgb4: copy adap index to PF0-3 adapter instances

instantiation of VF's on different adapters fails, copy
adapter index and chip type to PF0-3 adapter instances
to fix the issue.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c