summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorArjun Vynipadath <arjun@chelsio.com>2019-03-01 15:44:47 +0530
committerDavid S. Miller <davem@davemloft.net>2019-03-01 23:20:20 -0800
commit8b965f3f649c50d68a7fbc3a7771fcc368d2b7b8 (patch)
tree838670d704693f5a59029c8dd24050ab8d877dc0 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
parent3d78bfaa2eb92845c0595b09ec7b3dde572009bd (diff)
cxgb4: Add VF Link state support
Use ndo_set_vf_link_state to control the link states associated with the virtual interfaces. Signed-off-by: Arjun Vynipadath <arjun@chelsio.com> Signed-off-by: Vishal Kulkarni <vishal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index b7b0eb104430..dd6379809c74 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
@@ -885,6 +885,7 @@ struct vf_info {
unsigned int tx_rate;
bool pf_set_mac;
u16 vlan;
+ int link_state;
};
enum {