summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/Kconfig
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2017-09-27 03:45:29 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-28 19:35:12 +0200
commitcacde272dd00496c2c1c36606a56b340cd967603 (patch)
treea991f6b8f0d8603c4fd5efc69e8691f36dc83507 /drivers/net/ethernet/hisilicon/Kconfig
parentnet: hns3: Add some interface for the support of DCB feature (diff)
downloadlinux-cacde272dd00496c2c1c36606a56b340cd967603.tar.xz
linux-cacde272dd00496c2c1c36606a56b340cd967603.zip
net: hns3: Add hclge_dcb module for the support of DCB feature
The hclge_dcb module calls the interface from hclge_main/tm and provide interface for the dcb netlink interface. This patch also update Makefiles required to build the DCB supported code in HNS3 Ethernet driver and update the existing Kconfig file in the hisilicon folder. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/Kconfig')
-rw-r--r--drivers/net/ethernet/hisilicon/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
index 91c7bdb9b43c..9d7cb0387bf7 100644
--- a/drivers/net/ethernet/hisilicon/Kconfig
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -103,4 +103,13 @@ config HNS3_ENET
family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
devices and their associated operations.
+config HNS3_DCB
+ bool "Hisilicon HNS3 Data Center Bridge Support"
+ default n
+ depends on HNS3 && HNS3_HCLGE && DCB
+ ---help---
+ Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
+
+ If unsure, say N.
+
endif # NET_VENDOR_HISILICON