]> 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)
commit39c503d07e9da88777e9b57c7e9fa9d6e368054b
tree47d8c64d0ee1549f9a79ada872879861e6920f07
parent4c32feda765c9595fff6942ae0f37ce09ea19d27
parentb54f1da7154ee3316a59c0e6a157df54c01f4141
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>