]> 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)
commit61076153724f91e8db4b505a65656245e9c5a86e
tree70f66ba4cb7bf18b78a27d4740f0e46a438bde00
parent71ad78cd83c3c16ac964beb0489173ca92ca6487
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