]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:16 +0000 (10:47 -0500)
commitf8362fe1c402a692c75f235243006f63e0b81d71
tree2503c97aaf01edbb1fc8cd0ef0dd273d377cd5f3
parent0b9a0e09250123fbf2fad73774e6ce7a2c259e28
net: hns3: change TM sched mode to TC-based mode when SRIOV enabled

BugLink: http://bugs.launchpad.net/bugs/1756097
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: cc9bb43ab394 ("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>
(cherry picked from commit 71b83869a5e3b981ffb0660917b7331b76b7423f)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c