]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: add manager table initialization for hardware
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 19 Jan 2018 06:41:10 +0000 (14:41 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:48 +0000 (10:47 -0500)
commit635bfb581b7182d3fe98341b4c8fbfddaa376c35
treea7f93b9b09fdf182588e4f9568c1cd193f3a3e47
parentdb2a3e434d139ada218914e6acb1789a62f952a1
net: hns3: add manager table initialization for hardware

BugLink: http://bugs.launchpad.net/bugs/1756097
The manager table is empty by default. If it is not initialized, the
management pkgs like LLDP will be dropped by hardware. Default entries
need to be added to manager table.

Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit f5aac71c032719ef9159dae10bc83192bddd2424)
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_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c