diff options
| author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2018-01-07 11:36:39 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-01-08 13:58:49 -0500 |
| commit | 5eb5f8608ef118c2cfefc10c8dbbb89b14fac506 (patch) | |
| tree | f73dba8f0a63a2f72d517c77535a1f484673ea1d /tools/perf/scripts/python | |
| parent | net: qualcomm: rmnet: Handle command packets with checksum trailer (diff) | |
| download | linux-5eb5f8608ef118c2cfefc10c8dbbb89b14fac506.tar.gz linux-5eb5f8608ef118c2cfefc10c8dbbb89b14fac506.zip | |
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 <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
