** Description changed:

+ [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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859756

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859756/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to