OSDN Git Service

cxgb4: update Kconfig and Makefile for FCoE support
authorVarun Prakash <varun@chelsio.com>
Tue, 24 Mar 2015 13:44:47 +0000 (19:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 19:24:38 +0000 (15:24 -0400)
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/Kconfig
drivers/net/ethernet/chelsio/cxgb4/Makefile

index ac6473f..7daa088 100644 (file)
@@ -97,6 +97,17 @@ config CHELSIO_T4_DCB
 
          If unsure, say N.
 
+config CHELSIO_T4_FCOE
+       bool "Fibre Channel over Ethernet (FCoE) Support for Chelsio T5 cards"
+       default n
+       depends on CHELSIO_T4 && CHELSIO_T4_DCB && FCOE
+       ---help---
+         Enable FCoE offload features.
+         Say Y here if you want to enable Fibre Channel over Ethernet (FCoE) support
+         in the driver.
+
+         If unsure, say N.
+
 config CHELSIO_T4VF
        tristate "Chelsio Communications T4/T5 Virtual Function Ethernet support"
        depends on PCI
index ae50cd7..07d9b68 100644 (file)
@@ -6,4 +6,5 @@ obj-$(CONFIG_CHELSIO_T4) += cxgb4.o
 
 cxgb4-objs := cxgb4_main.o l2t.o t4_hw.o sge.o clip_tbl.o
 cxgb4-$(CONFIG_CHELSIO_T4_DCB) +=  cxgb4_dcb.o
+cxgb4-$(CONFIG_CHELSIO_T4_FCOE) +=  cxgb4_fcoe.o
 cxgb4-$(CONFIG_DEBUG_FS) += cxgb4_debugfs.o