]> 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)
commit0e354efddb7e0bd91672a6298da4b925f0664a2f
tree0c9a335d8561c2087054b281a030e047befd91ea
parentd886b310a514406345374476ea3ae99387c83bab
parent82047420179f5d58ae9b84de6db052d36978555c
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>