diff options
author | Stanislav Fomichev <[email protected]> | 2023-11-27 11:03:14 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-29 14:59:40 -0800 |
commit | 11614723af26e7c32fcb704d8f30fdf60c1122dc (patch) | |
tree | e1040027e771206bc1b17ebc626bf8d5e1a58574 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | ce59f9686e0eca19431571c7403394a6c36371e2 (diff) |
xsk: Add option to calculate TX checksum in SW
For XDP_COPY mode, add a UMEM option XDP_UMEM_TX_SW_CSUM
to call skb_checksum_help in transmit path. Might be useful
to debugging issues with real hardware. I also use this mode
in the selftests.
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions