sfc: Implement ndo_gets_phys_port_id() for EF10 VFs
[linux-drm-fsl-dcu.git] / drivers / net / ethernet / sfc / efx.c
index 2d4853c032c396b834c682757f60f111d8656942..de16cec7ec61d770db4c101213b9a87a301ed28b 100644 (file)
@@ -2282,6 +2282,7 @@ static const struct net_device_ops efx_netdev_ops = {
        .ndo_set_vf_spoofchk    = efx_sriov_set_vf_spoofchk,
        .ndo_get_vf_config      = efx_sriov_get_vf_config,
        .ndo_set_vf_link_state  = efx_sriov_set_vf_link_state,
+       .ndo_get_phys_port_id   = efx_sriov_get_phys_port_id,
 #endif
 #ifdef CONFIG_NET_POLL_CONTROLLER
        .ndo_poll_controller = efx_netpoll,