Yonglong Liu acb1ce15a6 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>
2019-04-04 10:35:42 -07:00
..
2019-03-19 15:07:49 -07:00
2019-03-18 16:56:57 -07:00
2019-03-09 15:53:03 -08:00
2019-01-22 14:54:08 -08:00
2019-03-29 15:23:16 -07:00
2019-03-13 13:41:46 -07:00
2019-03-09 14:57:08 -08:00