net: hns3: VF should get the real rss_size instead of rss_size_max
authorPeng Li <lipeng321@huawei.com>
Thu, 8 Mar 2018 11:41:50 +0000 (19:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 16:23:36 +0000 (11:23 -0500)
commitf5e084b82783baca0df3c0d27bda2926ceaa1caa
tree2e063ee9f7f2c8c0d9eca3ec25fa8cac92a32ece
parent67ae686b3e1422a819500f35152cdd74f6dab6ce
net: hns3: VF should get the real rss_size instead of rss_size_max

VF driver should get the real rss_size which is assigned
by host PF, not rss_size_max.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c