]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add tc-based TM support for sriov enabled port
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 27 Sep 2017 01:45:27 +0000 (09:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:35:11 +0000 (10:35 -0700)
commitb01e1f045af5cdc2eb7d2d464352b9e57d524669
tree3dbc1c50024326f13cb60def6cb903b84128d5d9
parent22299d510af4688b31203035811fc7f20025d57e
net: hns3: Add tc-based TM support for sriov enabled port

When sriov is enabled and TM is in tc-based mode, vf's TM
parameters is not set in TM initialization process.
This patch add the tc_based TM support for sriov enabled
using the information in vport struct.

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