diff options
author | Peter Oskolkov <[email protected]> | 2019-03-04 16:27:09 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-03-07 10:41:40 +0100 |
commit | 17a90a78847324b1a34b0de833492cbd2366361d (patch) | |
tree | faaf5c0521063b03c7d8040a992c5e0b60dc20a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea0371f7879987cff70e21d808e3e9fea624c051 (diff) |
selftests/bpf: test that GSO works in lwt_ip_encap
Add a test on egress that a large TCP packet successfully goes through
the lwt+bpf encap tunnel.
Although there is no direct evidence that GSO worked, as opposed to
e.g. TCP segmentation or IP fragmentation (maybe a kernel stats counter
should be added to track the number of failed GSO attempts?), without
the previous patch in the patchset this test fails, and printk-debugging
showed that software-based GSO succeeded here (veth is not compatible with
SKB_GSO_DODGY, so GSO happens in the software stack).
Also removed an unnecessary nodad and added a missed failed flag.
Signed-off-by: Peter Oskolkov <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions