]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-qualcomm-rmnet-Enable-csum-offloads'
authorDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 18:58:50 +0000 (13:58 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 18:58:50 +0000 (13:58 -0500)
commitc341a1606dfebb55f421b430fe416f78dfa505f5
tree0c9a335d8561c2087054b281a030e047befd91ea
parentd4b5920ac300b15117152cb55b5af762456fbaa0
parent9bd5548fe75a2bc3c509e1bf928c12f3c76d807f
Merge branch 'net-qualcomm-rmnet-Enable-csum-offloads'

Subash Abhinov Kasiviswanathan says:

====================
net: qualcomm: rmnet: Enable csum offloads

This series introduces the MAPv4 packet format for checksum
offload plus some other minor changes.

Patches 1-3 are cleanups.

Patch 4 renames the ingress format to data format so that all data
formats can be configured using this going forward.

Patch 5 uses the pacing helper to improve TCP transmit performance.

Patch 6-9 defines the the MAPv4 for checksum offload for RX and TX.
A new header and trailer format are used as part of MAPv4.
For RX checksum offload, only the 1's complement of the IP payload
portion is computed by hardware. The meta data from RX header is
used to verify the checksum field in the packet. Note that the
IP packet and its field itself is not modified by hardware.
This gives metadata to help with the RX checksum. For TX, the
required metadata is filled up so hardware can compute the
checksum.

Patch 10 enables GSO on rmnet devices

v1->v2: Fix sparse errors reported by kbuild test robot

v2->v3: Update the commit message for Patch 5 based on Eric's comments
====================

Signed-off-by: David S. Miller <davem@davemloft.net>