mbox series

pull-request: bpf 2024-01-25

Message ID 20240125084416.10876-1-daniel@iogearbox.net (mailing list archive)
State Accepted
Commit fdf8e6d18c6dcc0421d65aa6382f5a4fa0050149
Delegated to: Netdev Maintainers
Headers show
Series pull-request: bpf 2024-01-25 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Checks

Context Check Description
netdev/tree_selection success Pull request for net
netdev/build_32bit success Errors and warnings before: 1095 this patch: 1095
netdev/build_tools success Errors and warnings before: 2 this patch: 0
netdev/build_clang success Errors and warnings before: 1082 this patch: 1082
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 1112 this patch: 1112
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/contest pending net-next-2024-01-25--09-00

Message

Daniel Borkmann Jan. 25, 2024, 8:44 a.m. UTC
Hi David, hi Jakub, hi Paolo, hi Eric,

The following pull-request contains BPF updates for your *net* tree.

We've added 12 non-merge commits during the last 2 day(s) which contain
a total of 13 files changed, 190 insertions(+), 91 deletions(-).

The main changes are:

1) Fix bpf_xdp_adjust_tail() in context of XSK zero-copy drivers which
   support XDP multi-buffer. The former triggered a NULL pointer
   dereference upon shrinking, from Maciej Fijalkowski & Tirthendu Sarkar.

2) Fix a bug in riscv64 BPF JIT which emitted a wrong prologue and
   epilogue for struct_ops programs, from Pu Lehui.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Björn Töpel, Maciej Fijalkowski, Magnus Karlsson

----------------------------------------------------------------

The following changes since commit 1347775dea7f62798b4d5ef60771cdd7cfff25d8:

  Merge tag 'wireless-2024-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless (2024-01-23 08:38:13 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to 9d71bc833f57a6549c753e37ce47136d35b67fc4:

  Merge branch 'net-bpf_xdp_adjust_tail-and-intel-mbuf-fixes' (2024-01-24 16:24:07 -0800)

----------------------------------------------------------------
bpf-for-netdev

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'net-bpf_xdp_adjust_tail-and-intel-mbuf-fixes'

Maciej Fijalkowski (10):
      xsk: recycle buffer in case Rx queue was full
      xsk: make xsk_buff_pool responsible for clearing xdp_buff::flags
      xsk: fix usage of multi-buffer BPF helpers for ZC XDP
      ice: work on pre-XDP prog frag count
      ice: remove redundant xdp_rxq_info registration
      intel: xsk: initialize skb_frag_t::bv_offset in ZC drivers
      ice: update xdp_rxq_info::frag_size for ZC enabled Rx queue
      xdp: reflect tail increase for MEM_TYPE_XSK_BUFF_POOL
      i40e: set xdp_rxq_info::frag_size
      i40e: update xdp_rxq_info::frag_size for ZC enabled Rx queue

Pu Lehui (1):
      riscv, bpf: Fix unpredictable kernel crash about RV64 struct_ops

Tirthendu Sarkar (1):
      i40e: handle multi-buffer packets that are shrunk by xdp prog

 arch/riscv/net/bpf_jit_comp64.c               |  5 +--
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 47 ++++++++++++++++---------
 drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 49 +++++++++++++--------------
 drivers/net/ethernet/intel/i40e/i40e_xsk.c    |  4 +--
 drivers/net/ethernet/intel/ice/ice_base.c     | 37 ++++++++++++--------
 drivers/net/ethernet/intel/ice/ice_txrx.c     | 19 +++++------
 drivers/net/ethernet/intel/ice/ice_txrx.h     |  1 +
 drivers/net/ethernet/intel/ice/ice_txrx_lib.h | 31 ++++++++++++-----
 drivers/net/ethernet/intel/ice/ice_xsk.c      |  4 +--
 include/net/xdp_sock_drv.h                    | 27 +++++++++++++++
 net/core/filter.c                             | 44 ++++++++++++++++++++----
 net/xdp/xsk.c                                 | 12 ++++---
 net/xdp/xsk_buff_pool.c                       |  1 +
 13 files changed, 190 insertions(+), 91 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 25, 2024, 10:40 a.m. UTC | #1
Hello:

This pull request was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 25 Jan 2024 09:44:16 +0100 you wrote:
> Hi David, hi Jakub, hi Paolo, hi Eric,
> 
> The following pull-request contains BPF updates for your *net* tree.
> 
> We've added 12 non-merge commits during the last 2 day(s) which contain
> a total of 13 files changed, 190 insertions(+), 91 deletions(-).
> 
> [...]

Here is the summary with links:
  - pull-request: bpf 2024-01-25
    https://git.kernel.org/netdev/net/c/fdf8e6d18c6d

You are awesome, thank you!