mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: Marcin Knap <Marcin.Knap@vecima.com>
Cc: "Björn Töpel" <bjorn@kernel.org>,
	"Magnus Karlsson" <magnus.karlsson@gmail.com>,
	"Tony Nguyen" <anthony.l.nguyen@intel.com>,
	"Przemek Kitszel" <przemyslaw.kitszel@intel.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Magnus Karlsson" <magnus.karlsson@intel.com>,
	"Stanislav Fomichev" <sdf@fomichev.me>,
	"Simon Horman" <horms@kernel.org>,
	"Alexei Starovoitov" <ast@kernel.org>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	"jtollet@cisco.com" <jtollet@cisco.com>,
	"intel-wired-lan@lists.osuosl.org"
	<intel-wired-lan@lists.osuosl.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"bpf@vger.kernel.org" <bpf@vger.kernel.org>
Subject: Re: [PATCH bpf] xsk: Do not free ZC Rx buffer when the Rx ring is full
Date: Wed, 28 Oct 2026 12:08:56 +0100	[thread overview]
Message-ID: <auHXyG7M0UGtia+j@boxer> (raw)
In-Reply-To: <DS4PPFFD8A841C2FF8203BAD3C773A7784D806F2@DS4PPFFD8A841C2.namprd18.prod.outlook.com>

On Wed, Oct 28, 2026 at 08:40:06AM +0000, Marcin Knap wrote:
> > Marcin, FWIW, we'll discuss this topic on the office hours today [1].
> > Feel free to join! I added a link with suggested wording for a future
> > doc [2], and asked an LLM to audit the drivers [3].
> 
> > Björn
> 
> > [1] https://lore.kernel.org/netdev/aqPxxX9MeGmAqGy6@boxer/
> > [2] https://gist.github.com/fb-bjorn/d6835c49650bc3433b427a9c9708fbe2
> > [3] https://gist.github.com/fb-bjorn/181786547c4dd8182ba09e23cf394dbe
> 
> Sorry, for late answer, I couldn't join last week, I can join today if needed.
> I saw your audit which is very descriptive, that helps with understanding it.
> Thanks! As I understand you would like to fix the drivers ,which broke 
> the R2 handling considering RX Ring Full rule.
> I can send fix proposal for mlx5 driver. if so should I create another patch
> from scratch and link that conversation only?

I believe we agreed on making drivers responsible for releasing buff, so
full audit requires addressing existing -ENOBUFS-aware drivers (intel),
removing release from core and then teach rest of the drivers to handle
-ENOBUFS properly.

Basically this is what you initially proposed but with bigger driver
scope, but maybe for now stick to addressing drivers that Sashiko pointed
out (gve?).

Bjorn might be OoO today but this is what I had in my mind after the
meeting, without revisiting the links.

> 
> Regards,
> Marcin 

      reply	other threads:[~2026-10-28 11:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  8:22 Marcin Knap via B4 Relay
2026-10-19  8:59 ` bot+bpf-ci
2026-10-19 21:10 ` Maciej Fijalkowski
2026-10-20  6:09   ` Magnus Karlsson
2026-10-20  7:00     ` Marcin Knap
2026-10-20 12:23       ` Maciej Fijalkowski
2026-10-20 13:52         ` Marcin Knap
2026-10-21 12:31           ` Björn Töpel
2026-10-28  8:40             ` Marcin Knap
2026-10-28 11:08               ` Maciej Fijalkowski [this message]

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=auHXyG7M0UGtia+j@boxer \
    --to=maciej.fijalkowski@intel.com \
    --cc=Marcin.Knap@vecima.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hawk@kernel.org \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=john.fastabend@gmail.com \
    --cc=jtollet@cisco.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=magnus.karlsson@gmail.com \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=sdf@fomichev.me \
    /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

all inboxes | Powered by JetHome®