[PATCH 0/8] [B][SRU] add 8 BD limit for tx flow

Ike Panhc ike.pan at canonical.com
Thu Jul 9 07:29:30 UTC 2020


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

We have reports hns3 is down while iscsi and spark tests.
The first patch ("net: hns3: add 8 BD limit for tx flow")
is the fix but also need to cherry-pick patch d1a37dedcfcf
to fix a use-after-free issue introudcing by first fix.

To satisfy patch dependency and also several patches has
to be cherry-picked along way.

These patches are also available in the Git repository at:
  git://kernel.ubuntu.com/ikepanhc/public.git lp1859756.2

Peng Li (1):
  net: hns3: add 8 BD limit for tx flow

Yunsheng Lin (7):
  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()

 .../net/ethernet/hisilicon/hns3/hns3_enet.c   | 154 ++++++++----------
 .../net/ethernet/hisilicon/hns3/hns3_enet.h   |  15 +-
 .../ethernet/hisilicon/hns3/hns3_ethtool.c    |   1 +
 3 files changed, 78 insertions(+), 92 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list