]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:06 +0000 (10:47 -0500)
commitc408e2024c3dcc3f95441ec59dc55d9cf25e70b5
treefde8bc93f481c99bbb8e1a658fc1872b7d29ac93
parent743031296da55cd809f6a89a4c84565f7c443558
net: hns3: get rss_size_max from configuration but not hardcode

BugLink: http://bugs.launchpad.net/bugs/1756097
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>
(cherry picked from commit 0e7a40cdac0a2aa7c6946a571b8428b3307bed85)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
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