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)
commit7979a223305016625d211dd051569933c433f81e
tree3b31dae6dd2a9edbb8e34f0b6fe9981a207f8db0
parent986743dbf0a70211bba594b5abee33b6661feaa9
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