This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1830587

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Bionic)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Cosmic)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Disco)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1830587

Title:
  Reduce NAPI weight in hns driver from 256 to 64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Cosmic:
  Incomplete
Status in linux source package in Disco:
  Incomplete
Status in linux source package in Eoan:
  Incomplete

Bug description:
  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 this makes hns driver has reasonable weight

  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu <liuyongl...@huawei.com>
  Date: Thu Apr 4 16:46:43 2019 +0800

      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 <liuyongl...@huawei.com>
      Signed-off-by: Peng Li <lipeng...@huawei.com>
      Signed-off-by: David S. Miller <da...@davemloft.net>

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830587/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to