From: Martin KaFai Lau <martin.lau@linux.dev>
To: David Miller <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>
Cc: Alexei Starovoitov <ast@kernel.org>,
Andrii Nakryiko <andrii@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Martin KaFai Lau <martin.lau@kernel.org>,
netdev@vger.kernel.org, bpf@vger.kernel.org
Subject: pull-request: bpf-next 2025-04-17
Date: Thu, 17 Apr 2025 11:43:37 -0700 [thread overview]
Message-ID: <20250417184338.3152168-1-martin.lau@linux.dev> (raw)
Hi David, hi Jakub, hi Paolo, hi Eric,
The following pull-request contains BPF updates for your *net-next* tree.
We've added 12 non-merge commits during the last 9 day(s) which contain
a total of 18 files changed, 1748 insertions(+), 19 deletions(-).
The main changes are:
1) bpf qdisc support, from Amery Hung.
A qdisc can be implemented in bpf struct_ops programs and
can be used the same as other existing qdiscs in the
"tc qdisc" command.
2) Add xsk tail adjustment tests, from Tushar Vyavahare.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Cong Wang, Maciej Fijalkowski, Toke Høiland-Jørgensen
----------------------------------------------------------------
The following changes since commit 0f681b0ecd190fb4516bb34cec227296b10533d1:
net: ena: Support persistent per-NAPI config. (2025-04-08 12:34:32 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
for you to fetch changes up to fd23ce3eb4a1005bd109977856d12ec0fde7ef75:
Merge branch 'bpf-qdisc' (2025-04-17 10:54:41 -0700)
----------------------------------------------------------------
bpf-next-for-netdev
----------------------------------------------------------------
Amery Hung (10):
bpf: Prepare to reuse get_ctx_arg_idx
bpf: net_sched: Support implementation of Qdisc_ops in bpf
bpf: net_sched: Add basic bpf qdisc kfuncs
bpf: net_sched: Add a qdisc watchdog timer
bpf: net_sched: Support updating bstats
bpf: net_sched: Disable attaching bpf qdisc to non root
libbpf: Support creating and destroying qdisc
selftests/bpf: Add a basic fifo qdisc test
selftests/bpf: Add a bpf fq qdisc to selftest
selftests/bpf: Test attaching bpf qdisc to mq and non root
Martin KaFai Lau (2):
Merge branch 'selftests-xsk-add-tests-for-xdp-tail-adjustment-in-af_xdp'
Merge branch 'bpf-qdisc'
Tushar Vyavahare (2):
selftests/xsk: Add packet stream replacement function
selftests/xsk: Add tail adjustment tests and support check
include/linux/btf.h | 1 +
kernel/bpf/btf.c | 6 +-
net/sched/Kconfig | 12 +
net/sched/Makefile | 1 +
net/sched/bpf_qdisc.c | 461 +++++++++++++
net/sched/sch_api.c | 7 +-
net/sched/sch_generic.c | 3 +-
tools/lib/bpf/libbpf.h | 5 +-
tools/lib/bpf/netlink.c | 20 +-
tools/testing/selftests/bpf/config | 2 +
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c | 180 +++++
.../testing/selftests/bpf/progs/bpf_qdisc_common.h | 31 +
tools/testing/selftests/bpf/progs/bpf_qdisc_fifo.c | 117 ++++
tools/testing/selftests/bpf/progs/bpf_qdisc_fq.c | 750 +++++++++++++++++++++
tools/testing/selftests/bpf/progs/xsk_xdp_progs.c | 50 ++
tools/testing/selftests/bpf/xsk_xdp_common.h | 1 +
tools/testing/selftests/bpf/xskxceiver.c | 118 +++-
tools/testing/selftests/bpf/xskxceiver.h | 2 +
18 files changed, 1748 insertions(+), 19 deletions(-)
create mode 100644 net/sched/bpf_qdisc.c
create mode 100644 tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
create mode 100644 tools/testing/selftests/bpf/progs/bpf_qdisc_common.h
create mode 100644 tools/testing/selftests/bpf/progs/bpf_qdisc_fifo.c
create mode 100644 tools/testing/selftests/bpf/progs/bpf_qdisc_fq.c
next reply other threads:[~2025-04-17 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-17 18:43 Martin KaFai Lau [this message]
2025-04-22 1:54 ` pull-request: bpf-next 2025-04-17 Jakub Kicinski
2025-04-22 18:49 ` Martin KaFai Lau
2025-04-22 9:11 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250417184338.3152168-1-martin.lau@linux.dev \
--to=martin.lau@linux.dev \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=martin.lau@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).