Files
linux/drivers
Yonglong Liu c8d4b98eee net: hns: Use NAPI_POLL_WEIGHT for hns driver
[ Upstream commit acb1ce15a6 ]

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>
2019-05-16 19:45:01 +02:00
..
2018-12-21 14:09:52 +01:00
2018-02-25 11:03:51 +01:00
2019-04-27 09:33:51 +02:00
2018-12-21 14:09:52 +01:00
2018-11-21 09:27:36 +01:00
2018-11-27 16:08:02 +01:00
2018-10-10 08:52:04 +02:00