diff options
author | Shradha Shah <sshah@solarflare.com> | 2015-06-02 12:38:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-02 21:57:26 +0200 |
commit | 1d051e009851334899e2041c3d8dcde36e2db1c2 (patch) | |
tree | a90a782f3b1da0db83b4064208c9d60b0dd8b23c /drivers/net/ethernet/sfc/sriov.h | |
parent | sfc: Add sysfs entry for flags (link control and primary) (diff) | |
download | linux-1d051e009851334899e2041c3d8dcde36e2db1c2.tar.xz linux-1d051e009851334899e2041c3d8dcde36e2db1c2.zip |
sfc: Implement ndo_gets_phys_port_id() for EF10 VFs
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/sriov.h')
-rw-r--r-- | drivers/net/ethernet/sfc/sriov.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/sriov.h b/drivers/net/ethernet/sfc/sriov.h index 3be15a54c562..400df526586d 100644 --- a/drivers/net/ethernet/sfc/sriov.h +++ b/drivers/net/ethernet/sfc/sriov.h @@ -23,6 +23,8 @@ int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, struct ifla_vf_info *ivi); int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, int link_state); +int efx_sriov_get_phys_port_id(struct net_device *net_dev, + struct netdev_phys_item_id *ppid); #endif /* CONFIG_SFC_SRIOV */ |