]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: replace num_req_vfs with num_alloc_vport in hclge_reset_umv_space()
authorJian Shen <shenjian15@huawei.com>
Fri, 24 Apr 2020 02:23:08 +0000 (10:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:29:44 +0000 (20:29 -0700)
commita4a00e5726bdd8490a5ddba16f1066a994443bd3
tree143b150eb2777463ce8353ffb505126c06308366
parent562f8f3642981ff7546f8347dd49401344c73c66
net: hns3: replace num_req_vfs with num_alloc_vport in hclge_reset_umv_space()

Like the calculation elsewhere, replaces num_req_vfs with
num_alloc_vport in hclge_reset_umv_space().

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