]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refine for unicast MAC VLAN space management
authorJian Shen <shenjian15@huawei.com>
Fri, 24 Apr 2020 02:23:06 +0000 (10:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:29:43 +0000 (20:29 -0700)
commit4c842dd1160932e98c23f59b7e88dfbb462bf7b4
tree70f66ba4cb7bf18b78a27d4740f0e46a438bde00
parent01d5288661a9eda7ed7c697b4a0b5682f7656346
net: hns3: refine for unicast MAC VLAN space management

Currently, firmware helps manage the unicast MAC VLAN table
space for each PF. PF just needs to tell firmware its wanted
space when initializing, and unnecessary to free it when
un-intializing. So this patch removes the umv space free handle,
and removes the forward statement of hclge_set_umv_space()
by defining hclge_init_umv_space() after it.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c