sfc: move vport_id to struct efx_nic
Remove some usage of ef10-specific nic_data structs from common MCDI functions, in preparation for using them from a non-EF10 driver. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a90f704ad9
commit
dfcabb0788
@@ -385,7 +385,6 @@ enum {
|
||||
* %MC_CMD_GET_CAPABILITIES response)
|
||||
* @rx_dpcpu_fw_id: Firmware ID of the RxDPCPU
|
||||
* @tx_dpcpu_fw_id: Firmware ID of the TxDPCPU
|
||||
* @vport_id: The function's vport ID, only relevant for PFs
|
||||
* @must_probe_vswitching: Flag: vswitching has yet to be setup after MC reboot
|
||||
* @pf_index: The number for this PF, or the parent PF if this is a VF
|
||||
#ifdef CONFIG_SFC_SRIOV
|
||||
@@ -423,7 +422,6 @@ struct efx_ef10_nic_data {
|
||||
u32 datapath_caps2;
|
||||
unsigned int rx_dpcpu_fw_id;
|
||||
unsigned int tx_dpcpu_fw_id;
|
||||
unsigned int vport_id;
|
||||
bool must_probe_vswitching;
|
||||
unsigned int pf_index;
|
||||
u8 port_id[ETH_ALEN];
|
||||
|
Reference in New Issue
Block a user