diff options
author | Yonglong Liu <liuyonglong@huawei.com> | 2019-04-04 16:46:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-16 19:45:01 +0200 |
commit | c8d4b98eeed45d130e9b018132d41f4b428fed42 (patch) | |
tree | 7fa76576af75f599d3f0360a2a78659418aa4941 /fs/hugetlbfs/inode.c | |
parent | 4af8444aff7c9d5fca210fd9d26ac3e05b1195b5 (diff) |
net: hns: Use NAPI_POLL_WEIGHT for hns driver
[ Upstream commit acb1ce15a61154aa501891d67ebf79bc9ea26818 ]
When the HNS driver loaded, always have an error print:
"netif_napi_add() called with weight 256"
This is because the kernel checks the NAPI polling weights
requested by drivers and it prints an error message if a driver
requests a weight bigger than 64.
So use NAPI_POLL_WEIGHT to fix it.
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/hugetlbfs/inode.c')
0 files changed, 0 insertions, 0 deletions