]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add hclge_dcb module for the support of DCB feature
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 27 Sep 2017 01:45:29 +0000 (09:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:35:12 +0000 (10:35 -0700)
commitf5bf9f59ecf3ee4c3fcddaaed0d820e46bc715ae
treea991f6b8f0d8603c4fd5efc69e8691f36dc83507
parent3f32cfa422e7944a7f6ebf365fdef89c8f7101b6
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>
drivers/net/ethernet/hisilicon/Kconfig
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h