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

Khaled Elmously khalid.elmously at canonical.com
Tue May 28 15:53:42 UTC 2019


On 2019-05-27 21:00:28 , Ike Panhc wrote:
> 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(-)
> 
Acked-by: Khalid Elmously <khalid.elmously at canonical.com>




More information about the kernel-team mailing list