diff options
author | 2019-04-04 16:46:43 +0800 | |
---|---|---|
committer | 2019-04-04 10:35:42 -0700 | |
commit | acb1ce15a61154aa501891d67ebf79bc9ea26818 (patch) | |
tree | 6b7a8a0b67d699a44898935f3a3904c1dc0e93c2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw() (diff) | |
download | wireguard-linux-acb1ce15a61154aa501891d67ebf79bc9ea26818.tar.xz wireguard-linux-acb1ce15a61154aa501891d67ebf79bc9ea26818.zip |
net: hns: Use NAPI_POLL_WEIGHT for hns driver
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions