summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-06-02 11:38:16 +0100
committerDavid S. Miller <davem@davemloft.net>2015-06-02 12:57:26 -0700
commit1d051e009851334899e2041c3d8dcde36e2db1c2 (patch)
treea90a782f3b1da0db83b4064208c9d60b0dd8b23c /drivers/net/ethernet/sfc/nic.h
parent0f5c0845882745bc5fde9dbbf553926435efe887 (diff)
downloadlinux-1d051e009851334899e2041c3d8dcde36e2db1c2.tar.bz2
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/nic.h')
-rw-r--r--drivers/net/ethernet/sfc/nic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index db8562ec586d..e146e30780a1 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -524,6 +524,7 @@ 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;