sfc: Implement ndo_gets_phys_port_id() for EF10 VFs
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / sfc / nic.h
index 2fd30556e6c333119d950ec90e1b5641a960274f..e146e30780a1eb90aa4a1a32743faa68d0c9b5c3 100644 (file)
@@ -524,7 +524,9 @@ struct efx_ef10_nic_data {
        unsigned int vport_id;
        bool must_probe_vswitching;
        unsigned int pf_index;
+       u8 port_id[ETH_ALEN];
 #ifdef CONFIG_SFC_SRIOV
+       unsigned int vf_index;
        struct ef10_vf *vf;
 #endif
        u8 vport_mac[ETH_ALEN];