]> 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)
commit1ac0e6c292983c2665383ae9efcfe1f8b53271e0
tree70f66ba4cb7bf18b78a27d4740f0e46a438bde00
parentd483389678f9e03d53f226641ea39679debcbc81
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