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)
commit4c58f592470192d2b5ce4cfd2f7ff0ea2624c073
tree143b150eb2777463ce8353ffb505126c06308366
parentc1c5f66ee0dea782de9c95e6d63f19c355389ee8
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