]> 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)
commita36633ff8784110e7ab9ed0a5adfd182ba5e8067
tree88f2e65bd3e9ca9aa2b7a75b2128c0ba51431854
parentb65879bda35d2c7525a2798548a7a38300d1e8b4
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