sfc: Enable a VF to get its own MAC address
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / sfc / net_driver.h
index f6c4832770ba5d33dfb1edaa16271f1acd7ba455..364217b81aaf398a894139be85a8f5b0f33aa09c 100644 (file)
@@ -1351,6 +1351,7 @@ struct efx_nic_type {
        int (*vswitching_probe)(struct efx_nic *efx);
        int (*vswitching_restore)(struct efx_nic *efx);
        void (*vswitching_remove)(struct efx_nic *efx);
+       int (*get_mac_address)(struct efx_nic *efx, unsigned char *perm_addr);
 
        int revision;
        unsigned int txd_ptr_tbl_base;