[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190228.103019.2131318084487047576.davem@davemloft.net>
Date: Thu, 28 Feb 2019 10:30:19 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: arjun@...lsio.com
Cc: netdev@...r.kernel.org, nirranjan@...lsio.com,
indranil@...lsio.com, dt@...lsio.com, vishal@...lsio.com
Subject: Re: [PATCH net-next 1/2] cxgb4: Add VF Link state support
From: Arjun Vynipadath <arjun@...lsio.com>
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(struct net_device *dev, int vf,
> + int link)
> +{
> + struct port_info *pi = netdev_priv(dev);
> + struct adapter *adap = pi->adapter;
> + int ret = 0;
> + u32 param, val;
Reverse christmas tree please.
Powered by blists - more mailing lists