Re: xdpgeneric, XDP_PASS, and bpf_xdp_adjust_head decapsulation dropping packets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: xdpgeneric, XDP_PASS, and bpf_xdp_adjust_head decapsulation dropping packets
- From: Brandon Cazander <brandon.cazander@xxxxxxxxxxxxxxx>
- Date: Thu, 1 Aug 2019 18:53:56 +0000
- Accept-language: en-US
- In-reply-to: <20190801201612.3aef7783@carbon>
- References: <20190731211211.GA87084@multapplied.net> <20190801101746.702431fc@carbon> <20190801173324.GA660183@multapplied.net> <20190801201612.3aef7783@carbon>
- Thread-index: AQHVR+Sm9Bp2XlLyUEehmllejwAWTabl87SAgAAlqoCAAIFDAIAACnmA
- Thread-topic: xdpgeneric, XDP_PASS, and bpf_xdp_adjust_head decapsulation dropping packets
[...]
> Thanks for also confirming. I've just send a patchset with fixes:
> https://patchwork.ozlabs.org/project/netdev/list/?series=122796&state=%2a
Thank you for this; I tested this against my environment and it works as
expected again.
> I can recommend that you look at the selftest script test_xdp_vlan.sh:
> https://github.com/torvalds/linux/blob/master/tools/testing/selftests/bpf/test_xdp_vlan.sh
>
> Which uses veth and network namespaces for testing. If you get the
> hint, then you can actually create these small scripts, that can
> function as unit and regression tests for XDP code snippets.
>
> Our XDP-tutorial also uses veth as a development environment:
> https://github.com/xdp-project/xdp-tutorial/tree/master/testenv
Great hint, I will definitely use these going forward!
[Index of Archives]
[Linux Networking Development]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite Campsites]