]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Setting for fc_mode and dcb enable flag in TM module
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 27 Sep 2017 01:45:31 +0000 (09:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:35:12 +0000 (10:35 -0700)
commit81b8422ddb8cbf00566aecfaff325bb9190b512c
tree3b31dae6dd2a9edbb8e34f0b6fe9981a207f8db0
parenta3daf9d1c3938756b59438a2ab3f175706ed5b20
net: hns3: Setting for fc_mode and dcb enable flag in TM module

After the DCB feature is supported, fc_mode and dcb enable flag
must be set according to the DCB parameter.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c