** Changed in: kunpeng920/ubuntu-18.04
    Milestone: None => ubuntu-18.04.5-sru-1

** Changed in: linux (Ubuntu Bionic)
     Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-18.04
     Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1859756

Title:
  [hns3-0115] add 8 BD limit for tx flow

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress

Bug description:
  [Impact]
  We get reports that iscsi and spark tests fail on hns3

  [Fix]
  Cherry-pick/backport patches from upstream.
  net: hns3: add 8 BD limit for tx flow
  net: hns3: avoid mult + div op in critical data path
  net: hns3: remove some ops in struct hns3_nic_ops
  net: hns3: fix for not calculating tx bd num correctly
  net: hns3: unify maybe_stop_tx for TSO and non-TSO case
  net: hns3: add check for max TX BD num for tso and non-tso case
  net: hns3: fix for TX queue not restarted problem
  net: hns3: fix a use after free problem in hns3_nic_maybe_stop_tx()

  [Test]
  No known way to reproduce it in our lab. Regression test only.

  [Regression Potential]
  Patchset only affects hns3 driver. Minimal risk for other drivers and 
platform.

  
  [Bug Description]
   A single transmit packet can span up to 8 descriptors,
   TSO transmit packet can be stored up to 63 descriptors
   and each segment within the TSO should be spanned up to
   8 descriptors.

  If the packet needs more than 8 BD, and the total size of
   every 7 continuous frags more than MSS, HW does not support
   it, and it need driver makes SKB Linearized.

  [Actual Results]
   iscsi and bigdata spark test OK

  [Expected Results]
   iscsi and bigdata spark test OK

  [Reproducibility]
   Inevitably

  [Additional information]
   Hardware: D06
   Firmware: NA
   Kernel: NA
   DTS2018091810050

  [Resolution]
   SW use skb_copy to merge frag;

  51e8439f3496 net: hns3: add 8 BD limit for tx flow
  5f543a54eec0 net: hns3: fix for not calculating tx bd num correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859756/+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