All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org, jeff@garzik.org
Subject: Re: [PATCH] DCB: fix kconfig option
Date: Mon, 24 Nov 2008 17:07:07 -0800	[thread overview]
Message-ID: <492B4FBB.6040100@oracle.com> (raw)
In-Reply-To: <20081124234627.24425.44782.stgit@gitlost.lost>

Jeff Kirsher wrote:
> Since the netlink option for DCB is necessary to actually be useful,
> simplified the Kconfig option.  In addition, added useful help text for the
> Kconfig option.
> 
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> ---
> 
>  drivers/net/Kconfig            |    4 ++--
>  drivers/net/ixgbe/Makefile     |    2 +-
>  drivers/net/ixgbe/ixgbe.h      |    2 +-
>  drivers/net/ixgbe/ixgbe_main.c |   10 +++++-----
>  include/linux/netdevice.h      |    4 ++--
>  net/Makefile                   |    4 ++--
>  net/dcb/Kconfig                |   24 +++++++++++++++++-------
>  net/dcb/dcbnl.c                |    2 +-
>  8 files changed, 31 insertions(+), 21 deletions(-)

> diff --git a/net/Makefile b/net/Makefile
> index e5af3dc..4ccc0c7 100644
> --- a/net/Makefile
> +++ b/net/Makefile
> @@ -56,8 +56,8 @@ obj-$(CONFIG_NETLABEL)		+= netlabel/
>  obj-$(CONFIG_IUCV)		+= iucv/
>  obj-$(CONFIG_RFKILL)		+= rfkill/
>  obj-$(CONFIG_NET_9P)		+= 9p/
> -ifeq ($(CONFIG_DCBNL),y)
> -obj-$(CONFIG_DCB)		+= dcb/
> +ifeq ($(CONFIG_DCB),)

ifeq {empty/nothing} ?  or ifeq y ?

> +obj-y				+= dcb/
>  endif
>  
>  ifeq ($(CONFIG_NET),y)
> diff --git a/net/dcb/Kconfig b/net/dcb/Kconfig
> index bdf3880..a250498 100644
> --- a/net/dcb/Kconfig
> +++ b/net/dcb/Kconfig
> @@ -1,12 +1,22 @@
>  config DCB
> -        tristate "Data Center Bridging support"
> -
> -config DCBNL
> -	bool "Data Center Bridging netlink interface support"
> -	depends on DCB
> +        bool "Data Center Bridging support"

Accidental conversion of tab to spaces.

>  	default n
>  	---help---
> -	  This option turns on the netlink interface
> -	  (dcbnl) for Data Center Bridging capable devices.
> +	  This enables support for configuring Data Center Bridging (DCB)
> +	  features on DCB capable Ethernet adapters via rtnetlink.  Say 'Y'
> +	  if you have a DCB capable Ethernet adapter which supports this
> +	  interface and you are connected to a DCB capable switch.
> +
> +	  DCB is a collection of Ethernet enhancements which allow DCB capable
> +	  NICs and switches to support network traffic with differing
> +	  requirements (highly reliable, no drops vs. best effort vs. low
> +	  latency) to co-exist on Ethernet.
> +
> +	  DCB features include:
> +	    Enhanced Transmission Selection (aka Priority Grouping) - provides a
> +	      framework for assigning bandwidth guarantees to traffic classes.
> +	    Priority-based Flow Control (PFC) - a MAC control pause frame which
> +	      works at the granularity of the 802.1p priority instead of the
> +	      link (802.3x).
>  
>  	  If unsure, say N.


-- 
~Randy

  reply	other threads:[~2008-11-25  1:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24 23:46 [PATCH] DCB: fix kconfig option Jeff Kirsher
2008-11-25  1:07 ` Randy Dunlap [this message]
2008-11-25  1:17   ` Jeff Kirsher

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=492B4FBB.6040100@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=davem@davemloft.net \
    --cc=jeff@garzik.org \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=netdev@vger.kernel.org \
    /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.