]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: change TM sched mode to TC-based mode when SRIOV enabled
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:56 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:42:29 +0000 (10:42 -0500)
commite579ed1b0d7704fafe11eeaea1d808950859a71d
treece46eabfd8e3d7377b884ea1f09ca2b0b597a6af
parent4675645828af4a403649c2bf416ed6a634b37f84
net: hns3: change TM sched mode to TC-based mode when SRIOV enabled

TC-based sched mode supports SRIOV enabled and SRIOV disabled. This
patch change the TM sched mode to TC-based mode in initialization
process.

Fixes: b01e1f045af5 ("net: hns3: Add tc-based TM support for sriov enabled port")
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c