Thread (10 messages) read the whole thread 10 messages, 4 authors, 2021-07-08

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

From: Alexei Starovoitov <hidden>
Date: 2021-07-08 03:10:55
Also in: bpf

On Fri, Jul 2, 2021 at 4:20 AM Kumar Kartikeya Dwivedi [off-list 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 (local)
 * Put rcpu->prog check before RCU-bh section to avoid do_softirq (Jesper)
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help