summaryrefslogtreecommitdiff
path: root/net/mpls
diff options
context:
space:
mode:
authorPeter Oskolkov <posk@google.com>2019-03-05 03:27:09 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-07 12:41:40 +0300
commit17a90a78847324b1a34b0de833492cbd2366361d (patch)
treefaaf5c0521063b03c7d8040a992c5e0b60dc20a5 /net/mpls
parentea0371f7879987cff70e21d808e3e9fea624c051 (diff)
downloadlinux-17a90a78847324b1a34b0de833492cbd2366361d.tar.xz
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 <posk@google.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions