lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250417184338.3152168-1-martin.lau@linux.dev>
Date: Thu, 17 Apr 2025 11:43:37 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: David Miller <davem@...emloft.net>,
	Jakub Kicinski <kuba@...nel.org>,
	Eric Dumazet <edumazet@...gle.com>,
	Paolo Abeni <pabeni@...hat.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
	Andrii Nakryiko <andrii@...nel.org>,
	Daniel Borkmann <daniel@...earbox.net>,
	Martin KaFai Lau <martin.lau@...nel.org>,
	netdev@...r.kernel.org,
	bpf@...r.kernel.org
Subject: pull-request: bpf-next 2025-04-17

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ