[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240215132634.474055-1-toke@redhat.com>
Date: Thu, 15 Feb 2024 14:26:29 +0100
From: Toke Høiland-Jørgensen <toke@...hat.com>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>,
Eduard Zingerman <eddyz87@...il.com>,
Song Liu <song@...nel.org>,
Yonghong Song <yonghong.song@...ux.dev>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
Stanislav Fomichev <sdf@...gle.com>,
Hao Luo <haoluo@...gle.com>,
Jiri Olsa <jolsa@...nel.org>,
Jesper Dangaard Brouer <hawk@...nel.org>
Cc: Alexander Lobakin <aleksander.lobakin@...el.com>,
Toke Høiland-Jørgensen <toke@...hat.com>,
netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: [PATCH net-next 0/3] Change BPF_TEST_RUN use the system page pool for live XDP frames
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(-)
--
2.43.0
Powered by blists - more mailing lists