We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c3df0 commit ef2c57bCopy full SHA for ef2c57b
drivers/net/ethernet/sfc/ef100_nic.c
@@ -1096,6 +1096,10 @@ static int ef100_probe_main(struct efx_nic *efx)
1096
if (rc)
1097
goto fail;
1098
1099
+ rc = efx_get_pf_index(efx, &nic_data->pf_index);
1100
+ if (rc)
1101
+ goto fail;
1102
+
1103
rc = efx_ef100_init_datapath_caps(efx);
1104
if (rc < 0)
1105
drivers/net/ethernet/sfc/ef100_nic.h
@@ -63,6 +63,7 @@ struct ef100_nic_data {
63
u32 datapath_caps;
64
u32 datapath_caps2;
65
u32 datapath_caps3;
66
+ unsigned int pf_index;
67
u16 warm_boot_count;
68
u8 port_id[ETH_ALEN];
69
DECLARE_BITMAP(evq_phases, EFX_MAX_CHANNELS);
0 commit comments