Re: [PATCH net-next 1/2] cxgb4: Add VF Link state support

2019-02-28 Thread David Miller
From: Arjun Vynipadath Date: Thu, 28 Feb 2019 16:16:26 +0530 > @@ -2879,6 +2880,49 @@ static int cxgb4_mgmt_set_vf_vlan(struct net_device > *dev, int vf, > ret, (vlan ? "setting" : "clearing"), adap->pf, vf); > return ret; > } > + > +static int cxgb4_mgmt_set_vf_link_state(s

[PATCH net-next 1/2] cxgb4: Add VF Link state support

2019-02-28 Thread Arjun Vynipadath
Use ndo_set_vf_link_state to control the link states associated with the virtual interfaces. Signed-off-by: Arjun Vynipadath Signed-off-by: Vishal Kulkarni --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 57 ++---