From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org
Cc: netdev@vger.kernel.org, magnus.karlsson@intel.com,
bjorn@kernel.org, maciej.fijalkowski@intel.com,
echaudro@redhat.com, lorenzo@kernel.org
Subject: [PATCH bpf 0/3] net: bpf_xdp_adjust_tail() fixes
Date: Fri, 8 Dec 2023 12:29:42 +0100 [thread overview]
Message-ID: <20231208112945.313687-1-maciej.fijalkowski@intel.com> (raw)
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(-)
--
2.34.1
next reply other threads:[~2023-12-08 11:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 11:29 Maciej Fijalkowski [this message]
2023-12-08 11:29 ` [PATCH bpf 1/3] xsk: recycle buffer in case Rx queue was full Maciej Fijalkowski
2023-12-08 11:29 ` [PATCH bpf 2/3] net: fix usage of multi-buffer BPF helper for ZC AF_XDP Maciej Fijalkowski
2023-12-08 17:29 ` kernel test robot
2023-12-08 17:53 ` kernel test robot
2023-12-08 17:53 ` kernel test robot
2023-12-08 11:29 ` [PATCH bpf 3/3] ice: work on pre-XDP prog frag count Maciej Fijalkowski
2023-12-08 11:53 ` Sokolowski, Jan
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=20231208112945.313687-1-maciej.fijalkowski@intel.com \
--to=maciej.fijalkowski@intel.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=echaudro@redhat.com \
--cc=lorenzo@kernel.org \
--cc=magnus.karlsson@intel.com \
--cc=netdev@vger.kernel.org \
/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