mbox series

[bpf,0/3] net: bpf_xdp_adjust_tail() fixes

Message ID 20231208112945.313687-1-maciej.fijalkowski@intel.com (mailing list archive)
Headers show
Series net: bpf_xdp_adjust_tail() fixes | expand

Message

Maciej Fijalkowski Dec. 8, 2023, 11:29 a.m. UTC
Hi,

this set is about fixing bpf_xdp_adjust_tail() usage in XDP progs for
multi-buffer AF_XDP. Both copy and zero-copy modes were broken.

Thanks,
Maciej

Maciej Fijalkowski (3):
  xsk: recycle buffer in case Rx queue was full
  xsk: fix usage of multi-buffer BPF helpers for ZC XDP
  ice: work on pre-XDP prog frag count

 drivers/net/ethernet/intel/ice/ice_txrx.c     | 14 ++++---
 drivers/net/ethernet/intel/ice/ice_txrx.h     |  1 +
 drivers/net/ethernet/intel/ice/ice_txrx_lib.h | 31 ++++++++++----
 include/net/xdp_sock_drv.h                    | 17 ++++++++
 net/core/filter.c                             | 41 +++++++++++++++----
 net/xdp/xsk.c                                 | 12 ++++--
 6 files changed, 89 insertions(+), 27 deletions(-)