All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Toppins <jtoppins@cumulusnetworks.com>
To: anuradhak@cumulusnetworks.com, davem@davemloft.net, sfeldma@gmail.com
Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com,
	gospo@cumulusnetworks.com, wkok@cumulusnetworks.com
Subject: Re: [PATCH net-next v4 1/4] net core: Add protodown support.
Date: Wed, 08 Jul 2015 19:07:28 -0400	[thread overview]
Message-ID: <559DAD30.20806@cumulusnetworks.com> (raw)
In-Reply-To: <1436389465-3077-2-git-send-email-anuradhak@cumulusnetworks.com>

On 7/8/15 5:04 PM, anuradhak@cumulusnetworks.com wrote:
> diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h
> index 9cf2394..8d60fe7 100644
> --- a/include/uapi/linux/if.h
> +++ b/include/uapi/linux/if.h
> @@ -156,6 +156,12 @@ enum {
>   	IF_LINK_MODE_DORMANT,	/* limit upward transition to dormant */
>   };
>
> +/* proto_flags - port state information can be passed to the switch driver and
> + * used to determine the phys state of the switch port */
> +enum {
> +	IF_PROTOF_DOWN		= 1<<0	/* set switch port phys state down */

It might be better to use BIT(0) provided by linux/bitopts.h

> +};
> +

  reply	other threads:[~2015-07-08 23:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 21:04 [PATCH net-next v4 1/4] net core: Add protodown support anuradhak
2015-07-08 23:07 ` Jonathan Toppins [this message]
2015-07-09  1:08   ` Anuradha Karuppiah
2015-07-15 17:31 ` Stephen Hemminger
2015-07-15 18:05   ` Anuradha Karuppiah

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=559DAD30.20806@cumulusnetworks.com \
    --to=jtoppins@cumulusnetworks.com \
    --cc=anuradhak@cumulusnetworks.com \
    --cc=davem@davemloft.net \
    --cc=gospo@cumulusnetworks.com \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@cumulusnetworks.com \
    --cc=sfeldma@gmail.com \
    --cc=wkok@cumulusnetworks.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.