]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: fix tc setup when netdev is first up
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 24 Apr 2018 01:54:00 +0000 (09:54 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:42:05 +0000 (14:42 -0400)
commitc109b9dbbfefb39baee147af7abfb7f1578624cd
treecfa1531e8559848bbdf9158956bf5b2d3c8d1d6d
parent15a506655c41806bbe61e74afc03d589df242cc9
UBUNTU: SAUCE: {topost} net: hns3: fix tc setup when netdev is first up

BugLink: https://bugs.launchpad.net/bugs/1768670
Currently, tc related configuration is not setup when the
netdev is first up, which cause the stack only using tc 0
problem.

This patch fixes it by setting the tc related configuration
using the info from NCL_CONFIG when netdev is first up.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c