Re: [PATCH bpf-next V12 7/7] bpf/selftests: tests using bpf_check_mtu BPF-helper

2021-01-22 Thread Daniel Borkmann
On 1/18/21 5:54 PM, Jesper Dangaard Brouer wrote: Adding selftest for BPF-helper bpf_check_mtu(). Making sure it can be used from both XDP and TC. [...] (small nit: your subject lines are mixed up with 'bpf/selftests' vs 'selftests/bpf')

[PATCH bpf-next V12 7/7] bpf/selftests: tests using bpf_check_mtu BPF-helper

2021-01-18 Thread Jesper Dangaard Brouer
Adding selftest for BPF-helper bpf_check_mtu(). Making sure it can be used from both XDP and TC. V11: - Addresse nitpicks from Andrii Nakryiko V10: - Remove errno non-zero test in CHECK_ATTR() - Addresse comments from Andrii Nakryiko Signed-off-by: Jesper Dangaard Brouer Acked-by: Andrii Nak