diff options
author | Subash Abhinov Kasiviswanathan <[email protected]> | 2018-01-07 11:36:39 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-08 13:58:49 -0500 |
commit | 5eb5f8608ef118c2cfefc10c8dbbb89b14fac506 (patch) | |
tree | f73dba8f0a63a2f72d517c77535a1f484673ea1d /lib/mpi/mpiutil.c | |
parent | 23c76eb74098902e41b0f2140d4bbc3af06a1547 (diff) |
net: qualcomm: rmnet: Add support for TX checksum offload
TX checksum offload applies to TCP / UDP packets which are not
fragmented using the MAPv4 checksum trailer. The following needs to be
done to have checksum computed in hardware -
1. Set the checksum start offset and inset offset.
2. Set the csum_enabled bit
3. Compute and set 1's complement of partial checksum field in
transport header.
Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions