]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:05:49 +0000 (16:05 -0500)
commitbb8d537acd5ea9a93cda8530381dc7a1c2bc71aa
tree88f2e65bd3e9ca9aa2b7a75b2128c0ba51431854
parentee62377f2cc66cc2f8260172a3c09cc03dfa8170
net: hns3: add manager table initialization for hardware

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c