# Re: \[PATCH net-next v6 0/5\] Generic XDP improvements

- From: Alexei Starovoitov \<hidden\>
- Date: 2021-07-08 03:10:55 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/07/7772900
- Thread: https://ratatoskr.run/netdev/2021/07/7772735/t.md

```text
On Fri, Jul 2, 2021 at 4:20 AM Kumar Kartikeya Dwivedi [ref] wrote:
>
> This small series makes some improvements to generic XDP mode and brings it
> closer to native XDP. Patch 1 splits out generic XDP processing into reusable
> parts, patch 2 adds pointer friendly wrappers for bitops (not have to cast back
> and forth the address of local pointer to unsigned long *), patch 3 implements
> generic cpumap support (details in commit) and patch 4 allows devmap bpf prog
> execution before generic_xdp_tx is called.
>
> Patch 5 just updates a couple of selftests to adapt to changes in behavior (in
> that specifying devmap/cpumap prog fd in generic mode is now allowed).
>
> Changelog:
> ----------
> v5 -> v6
> v5: https://lore.kernel.org/bpf/20210701002759.381983-1-memxor@gmail.com
>  * Put rcpu->prog check before RCU-bh section to avoid do_softirq (Jesper)

Applied. Thanks
```
