[PATCH 0/3][B][SRU] hns3: add hns3_gro_complete for HW GRO process

Ike Panhc ike.pan at canonical.com
Thu Oct 8 05:31:59 UTC 2020


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

We get report that kernel oops when hardware GRO enabled on hns3
interfaces. Cherry-picking patches from upstream can solve this issue.

The patches needed are
 d474d88f8826 ("net: hns3: add hns3_gro_complete for HW GRO process")
 a4d2cdcbb878 ("net: hns3: minor refactor for hns3_rx_checksum")
and they depend on
 c376fa1aae63 ("net: hns3: add rx multicast packets statistic")

e8149933b1fa ("net: hns3: remove hnae3_get_bit in data path") is also
needed but since there is no function changes, to backport patch for
hns3_gro_complete is an easier and simpler solution.

Jian Shen (1):
  net: hns3: add rx multicast packets statistic

Yunsheng Lin (2):
  net: hns3: minor refactor for hns3_rx_checksum
  net: hns3: add hns3_gro_complete for HW GRO process

 .../net/ethernet/hisilicon/hns3/hns3_enet.c   | 203 +++++++++++-------
 .../net/ethernet/hisilicon/hns3/hns3_enet.h   |   8 +
 .../ethernet/hisilicon/hns3/hns3_ethtool.c    |   1 +
 3 files changed, 133 insertions(+), 79 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list