netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: arjun@chelsio.com
Cc: netdev@vger.kernel.org, nirranjan@chelsio.com,
	indranil@chelsio.com, dt@chelsio.com, vishal@chelsio.com
Subject: Re: [PATCH net-next 1/2] cxgb4: Add VF Link state support
Date: Thu, 28 Feb 2019 10:30:19 -0800 (PST)	[thread overview]
Message-ID: <20190228.103019.2131318084487047576.davem@davemloft.net> (raw)
In-Reply-To: <20190228104627.10830-2-arjun@chelsio.com>

From: Arjun Vynipadath <arjun@chelsio.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.

  reply	other threads:[~2019-02-28 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 10:46 [PATCH net-next 0/2]cxgb4/cxgb4vf: VF link state support Arjun Vynipadath
2019-02-28 10:46 ` [PATCH net-next 1/2] cxgb4: Add VF Link " Arjun Vynipadath
2019-02-28 18:30   ` David Miller [this message]
2019-02-28 10:46 ` [PATCH net-next 2/2] cxgb4vf: Revert force link up behaviour Arjun Vynipadath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190228.103019.2131318084487047576.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=arjun@chelsio.com \
    --cc=dt@chelsio.com \
    --cc=indranil@chelsio.com \
    --cc=netdev@vger.kernel.org \
    --cc=nirranjan@chelsio.com \
    --cc=vishal@chelsio.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).