[PATCH 0/1] [B/C/D/E] Reduce NAPI weight in hns driver from 256 to 64

Ike Panhc ike.pan at canonical.com
Mon May 27 13:00:28 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1830587

We have a warning[1] in dmesg shows hns register napi as weight 256
but not recommended. According to this commit[2] we shall use
weight 64 as suggested.

To cherry-pick commit acb1ce15 solves this issue.

[1] "netif_napi_add() called with weight 256"
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

Yonglong Liu (1):
  net: hns: Use NAPI_POLL_WEIGHT for hns driver

 drivers/net/ethernet/hisilicon/hns/hns_enet.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list