[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230319195656.326701-1-kal.conley@dectris.com>
Date: Sun, 19 Mar 2023 20:56:53 +0100
From: Kal Conley <kal.conley@...tris.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>
Cc: Kal Conley <kal.conley@...tris.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: [PATCH bpf-next 0/3] Support UMEM chunk_size > PAGE_SIZE
This patchset adds AF_XDP support for chunk sizes > PAGE_SIZE.
The changes depend on the following commit recently applied to the bpf tree:
cc7df4813b149 ("xsk: Add missing overflow check in xdp_umem_reg")
Thanks to Magnus Karlsson for his initial feedback!
Kal Conley (3):
xsk: Support UMEM chunk_size > PAGE_SIZE
selftests: xsk: Use hugepages when umem->frame_size > PAGE_SIZE
selftests: xsk: Add tests for 8K and 9K frame sizes
include/net/xdp_sock.h | 1 +
include/net/xdp_sock_drv.h | 6 ++++
include/net/xsk_buff_pool.h | 4 ++-
net/xdp/xdp_umem.c | 46 ++++++++++++++++++------
net/xdp/xsk.c | 3 ++
net/xdp/xsk_buff_pool.c | 16 ++++++---
tools/testing/selftests/bpf/xskxceiver.c | 26 +++++++++++++-
tools/testing/selftests/bpf/xskxceiver.h | 2 ++
8 files changed, 88 insertions(+), 16 deletions(-)
--
2.39.2
Powered by blists - more mailing lists