On 2/20/24 10:03 AM, Paolo Abeni wrote:
On Tue, 2024-02-20 at 09:39 +0100, Daniel Borkmann wrote:
On 2/19/24 7:52 PM, Toke Høiland-Jørgensen wrote:
Toke Høiland-Jørgensen <toke@xxxxxxxxxx> writes:
Now that we have a system-wide page pool, we can use that for the live
frame mode of BPF_TEST_RUN (used by the XDP traffic generator), and
avoid the cost of creating a separate page pool instance for each
syscall invocation. See the individual patches for more details.
Toke Høiland-Jørgensen (3):
net: Register system page pool as an XDP memory model
bpf: test_run: Use system page pool for XDP live frame mode
bpf: test_run: Fix cacheline alignment of live XDP frame data
structures
include/linux/netdevice.h | 1 +
net/bpf/test_run.c | 138 +++++++++++++++++++-------------------
net/core/dev.c | 13 +++-
3 files changed, 81 insertions(+), 71 deletions(-)
Hi maintainers
This series is targeting net-next, but it's listed as delegate:bpf in
patchwork[0]; is that a mistake? Do I need to do anything more to nudge it
along?
I moved it over to netdev, it would be good next time if there are dependencies
which are in net-next but not yet bpf-next to clearly state them given from this
series the majority touches the bpf test infra code.
This series apparently causes bpf self-tests failures:
https://github.com/kernel-patches/bpf/actions/runs/7929088890/job/21648828278
I'm unsure if that is blocking, or just a CI glitch.
The series LGTM, but I think it would be better if someone from the
ebpf team could also have a look.
The CI was not able to apply the patches, so this looks unrelated :
Cmd('git') failed due to: exit code(128)
cmdline: git am --3way
stdout: 'Applying: net: Register system page pool as an XDP memory model
Patch failed at 0001 net: Register system page pool as an XDP memory model
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".'
stderr: 'error: sha1 information is lacking or useless (include/linux/netdevice.h).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch'