sfc: Store vf_index in nic_data for Ef10.
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:09:15 +0000 (11:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:52 +0000 (18:43 -0400)
commit88a37de674f8a7c7622bb00d78437153b31e3797
tree38af5cb59b97dc8b4e98a431e1fd3a4c77f73fe0
parent862f894cb98c50d037d0c62da2aab3b9a2428c34
sfc: Store vf_index in nic_data for Ef10.

Added function efx_ef10_get_vf_index to store the vf_index
in nic_data during probe

vf_index is needed in future patches to access a particular
VF in the VF data structure.

Moved efx_ef10_probe_pf and efx_ef10_probe_vf in order to
used efx_ef10_remove

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/nic.h