diff mbox

[net-next,4/5] cxgb4 : Makefile & Kconfig changes for DCBx support

Message ID 1403216531-7874-5-git-send-email-anish@chelsio.com
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Anish Bhatt June 19, 2014, 10:22 p.m. UTC
Signed-off-by: Anish Bhatt <anish@chelsio.com>
---
 drivers/net/ethernet/chelsio/Kconfig        | 11 +++++++++++
 drivers/net/ethernet/chelsio/cxgb4/Makefile |  1 +
 2 files changed, 12 insertions(+)

Comments

Sergei Shtylyov June 20, 2014, 4:51 p.m. UTC | #1
Hello.

On 06/20/2014 02:22 AM, Anish Bhatt wrote:

> Signed-off-by: Anish Bhatt <anish@chelsio.com>
> ---
>   drivers/net/ethernet/chelsio/Kconfig        | 11 +++++++++++
>   drivers/net/ethernet/chelsio/cxgb4/Makefile |  1 +
>   2 files changed, 12 insertions(+)

> diff --git a/drivers/net/ethernet/chelsio/Kconfig b/drivers/net/ethernet/chelsio/Kconfig
> index 570222c..c3ce9df 100644
> --- a/drivers/net/ethernet/chelsio/Kconfig
> +++ b/drivers/net/ethernet/chelsio/Kconfig
> @@ -86,6 +86,17 @@ config CHELSIO_T4
>   	  To compile this driver as a module choose M here; the module
>   	  will be called cxgb4.
>
> +config CHELSIO_T4_DCB
> +	bool "Data Center Bridging (DCB) Support for Chelsio T4/T5 cards"
> +	default n

    'n' is the default default. :-)

> +	depends on CHELSIO_T4 && DCB
> +	---help---
> +	  Enable DCB support through rtNetlink interface.
> +	  Say Y here if you want to enable Data Center Bridging (DCB) support
> +	  in the driver.
> +
> +	  If unsure, say N.
> +

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/ethernet/chelsio/Kconfig b/drivers/net/ethernet/chelsio/Kconfig
index 570222c..c3ce9df 100644
--- a/drivers/net/ethernet/chelsio/Kconfig
+++ b/drivers/net/ethernet/chelsio/Kconfig
@@ -86,6 +86,17 @@  config CHELSIO_T4
 	  To compile this driver as a module choose M here; the module
 	  will be called cxgb4.
 
+config CHELSIO_T4_DCB
+	bool "Data Center Bridging (DCB) Support for Chelsio T4/T5 cards"
+	default n
+	depends on CHELSIO_T4 && DCB
+	---help---
+	  Enable DCB support through rtNetlink interface.
+	  Say Y here if you want to enable Data Center Bridging (DCB) support
+	  in the driver.
+
+	  If unsure, say N.
+
 config CHELSIO_T4VF
 	tristate "Chelsio Communications T4/T5 Virtual Function Ethernet support"
 	depends on PCI
diff --git a/drivers/net/ethernet/chelsio/cxgb4/Makefile b/drivers/net/ethernet/chelsio/cxgb4/Makefile
index 4986674..1df65c9 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/Makefile
+++ b/drivers/net/ethernet/chelsio/cxgb4/Makefile
@@ -5,3 +5,4 @@ 
 obj-$(CONFIG_CHELSIO_T4) += cxgb4.o
 
 cxgb4-objs := cxgb4_main.o l2t.o t4_hw.o sge.o
+cxgb4-$(CONFIG_CHELSIO_T4_DCB) +=  cxgb4_dcb.o