cxgb4 : Makefile & Kconfig changes for DCBx support
authorAnish Bhatt <anish@chelsio.com>
Fri, 20 Jun 2014 04:37:14 +0000 (21:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jun 2014 04:13:33 +0000 (21:13 -0700)
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/Kconfig
drivers/net/ethernet/chelsio/cxgb4/Makefile

index 570222c3341070445b3b0c224205872f286a3cfd..c3ce9df0041a1c65351619663134ff7e142e965e 100644 (file)
@@ -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
index 498667487f520a6e273003193b653bb623fd7b9e..1df65c915b995228d7b8d22173541c7f1d4ee4af 100644 (file)
@@ -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