]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'rmnet-checksums-part-2'
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 Jun 2021 20:18:49 +0000 (13:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jun 2021 20:18:49 +0000 (13:18 -0700)
commit5fdd8de7ae7a161f6389739ada713ee160386209
tree47d8c64d0ee1549f9a79ada872879861e6920f07
parent5fa4f548c0cb5d45b1fe70fe64e699130e82a703
parent3e302ecd49f4ad99b6faa0b4d682c88cbc569688
Merge branch 'rmnet-checksums-part-2'

Alex Elder says:

====================
net: qualcomm: rmnet: MAPv4 download checksum cleanup, part 2

This is part 2 of a large series that reworks some code that handles
downloaded packets when MAPv4 checksum offload is enabled.  The
first part, which includes an overview, is here:
  https://lore.kernel.org/netdev/20210611190529.3085813-1-elder@linaro.org/

This second part of the series completes the simplification of this
handling code, removing unnecessary byte swaps and bitwise inversions
of checksum values, and along the way avoids the need for almost all
of the forced type casts.  The checksum field in an RMNet download
trailer is given __sum16_t type to accurately reflect the meaning of
that field.
====================

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