Skip to content

net: core: add helper tcp_v6_gso_csum_prep

Heiner Kallweit intel-wired-lan linux-hyperv linux-usb lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 6 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13net: core: add helper tcp_v6_gso_csum_prepinclude/net/ip6_checksum.h+9 -00 replies
2/13r8169: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/realtek/r8169_main.c+2 -240 replies
3/13net: atheros: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/atheros/alx/main.c drivers/net/ethernet/atheros/atl1c/atl1c_main.c+3 -80 replies
4/13bna: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/brocade/bna/bnad.c+1 -60 replies
5/13enic: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/cisco/enic/enic_main.c+1 -20 replies
6/13e1000(e): use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/intel/e1000/e1000_main.c drivers/net/ethernet/intel/e1000e/netdev.c+2 -91 reply
7/13jme: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/jme.c+1 -61 reply
8/13ionic: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/pensando/ionic/ionic_txrx.c+1 -41 reply
9/13net: qcom/emac: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/qualcomm/emac/emac-mac.c+2 -50 replies
10/13net: socionext: use new helper tcp_v6_gso_csum_prepdrivers/net/ethernet/socionext/netsec.c+1 -51 reply
11/13hv_netvsc: use new helper tcp_v6_gso_csum_prepdrivers/net/hyperv/netvsc_drv.c+1 -40 replies
12/13r8152: use new helper tcp_v6_gso_csum_prepdrivers/net/usb/r8152.c+2 -241 reply
13/13vmxnet3: use new helper tcp_v6_gso_csum_prepdrivers/net/vmxnet3/vmxnet3_drv.c+1 -40 replies

Reviews trailers per patch

5 of 13 patches have a Reviewed-by or Acked-by.

PatchAlexander DuyckJeff KirsherShannon NelsonHayes WangIlias Apalodimas
1/13R-b
2/13
3/13
4/13
5/13
6/13R-b A-b
7/13
8/13A-b
9/13
10/13A-b
11/13
12/13A-b
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/13] net: core: add helper tcp_v6_gso_csum_prep

Several network drivers for chips that support TSO6 share the same code for preparing the TCP header, so let's factor it out to a helper. A difference is that some drivers reset the payload_len whilst others don't do this. This value is overwritten by TSO anyway, therefore the new helper resets it in general.

Heiner Kallweit (13):
net: core: add helper tcp_v6_gso_csum_prep
r8169: use new helper tcp_v6_gso_csum_prep
net: atheros: use new helper tcp_v6_gso_csum_prep
bna: use new helper tcp_v6_gso_csum_prep
enic: use new helper tcp_v6_gso_csum_prep e1000(e): use new helper tcp_v6_gso_csum_prep
jme: use new helper tcp_v6_gso_csum_prep
ionic: use new helper tcp_v6_gso_csum_prep
net: qcom/emac: use new helper tcp_v6_gso_csum_prep
net: socionext: use new helper tcp_v6_gso_csum_prep
hv_netvsc: use new helper tcp_v6_gso_csum_prep
r8152: use new helper tcp_v6_gso_csum_prep
vmxnet3: use new helper tcp_v6_gso_csum_prep

 drivers/net/ethernet/atheros/alx/main.c       |  5 +---
 .../net/ethernet/atheros/atl1c/atl1c_main.c   |  6 ++---
 drivers/net/ethernet/brocade/bna/bnad.c       |  7 +----
 drivers/net/ethernet/cisco/enic/enic_main.c   |  3 +--
 drivers/net/ethernet/intel/e1000/e1000_main.c |  6 +----
 drivers/net/ethernet/intel/e1000e/netdev.c    |  5 +---
 drivers/net/ethernet/jme.c                    |  7 +----
 .../net/ethernet/pensando/ionic/ionic_txrx.c  |  5 +---
 drivers/net/ethernet/qualcomm/emac/emac-mac.c |  7 ++---
 drivers/net/ethernet/realtek/r8169_main.c     | 26 ++-----------------
 drivers/net/ethernet/socionext/netsec.c       |  6 +----
 drivers/net/hyperv/netvsc_drv.c               |  5 +---
 drivers/net/usb/r8152.c                       | 26 ++-----------------
 drivers/net/vmxnet3/vmxnet3_drv.c             |  5 +---
 include/net/ip6_checksum.h                    |  9 +++++++
 15 files changed, 27 insertions(+), 101 deletions(-)
Signature · 1 line
2.25.1