net: hns3: get rss_size_max from configuration but not hardcode
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:44 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:40:48 +0000 (10:40 -0500)
commit0e7a40cdac0a2aa7c6946a571b8428b3307bed85
tree6bda8cc2c3dd1307ac2e3ad99ef32a25d70a10f7
parent99fdf6b1cadf41bb253408589788f025027274f3
net: hns3: get rss_size_max from configuration but not hardcode

Add configuration for rss_size_max in hdev but not hardcode it.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Mingguang Qu <qumingguang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h