diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2018-01-07 13:36:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-08 13:58:49 -0500 |
commit | 5eb5f8608ef118c2cfefc10c8dbbb89b14fac506 (patch) | |
tree | f73dba8f0a63a2f72d517c77535a1f484673ea1d /tools/perf/scripts/python/event_analyzing_sample.py | |
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 <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions