All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn@kernel.org>
To: netdev-bot+sashiko@kernel.org
Cc: magnus.karlsson@intel.com, maciej.fijalkowski@intel.com,
	aleksander.lobakin@intel.com, ast@kernel.org,
	daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com,
	andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com,
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, willemb@google.com, andrew+netdev@lunn.ch,
	anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com,
	netdev@vger.kernel.org, bpf@vger.kernel.org, horms@kernel.org,
	sdf@fomichev.me, martin.lau@linux.dev, song@kernel.org,
	yonghong.song@linux.dev, jolsa@kernel.org, emil@etsalapatis.com,
	ihor.solodrai@linux.dev, intel-wired-lan@lists.osuosl.org,
	clecigne@google.com, michal.swiatkowski@linux.intel.com,
	sriram.yagnaraman@ericsson.com, kurt@linutronix.de
Subject: Re: [PATCH net v3 4/4] xsk: Keep the shared info of zero-copy buffers in kernel memory
Date: Fri, 04 Dec 2026 15:12:01 +0100	[thread overview]
Message-ID: <87tsktyw26.fsf@all.your.base.are.belong.to.us> (raw)
In-Reply-To: <179638077906.3146.4204032299868924468@kernel.org>

netdev-bot+sashiko@kernel.org writes:

> [Severity: Low]
> Should the AF_XDP selftests be updated along with this layout change?

[...]

> Wouldn't these tests pass just the same if the kernel still reserved the
> tailroom?

They would, yes. They're conservative, so they pass on both layouts.
We'll add selftest update goes to net-next once this is in net, like
Maciej asked back in v2. It drops the old tailroom math and adds a
zero-copy bpf_xdp_adjust_tail() grow up to the end of the chunk, plus a
UMEM headroom above the old limit.


Björn

      reply	other threads:[~2026-12-04 14:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  9:56 [PATCH net v3 0/4] xsk: Keep the shared info of zero-copy buffers in kernel memory Björn Töpel
2026-12-03  9:56 ` [PATCH net v3 1/4] libeth: xsk: Count each XDP_TX buffer on its own Björn Töpel
2026-12-04 10:39   ` netdev-bot+sashiko
2026-12-04 14:08     ` Björn Töpel
2026-12-03  9:56 ` [PATCH net v3 2/4] xdp: Size zero-copy skbs from the data, not the frame size Björn Töpel
2026-12-03 14:04   ` Maciej Fijalkowski
2026-12-04 10:39   ` netdev-bot+sashiko
2026-12-04 14:09     ` Björn Töpel
2026-12-03  9:56 ` [PATCH net v3 3/4] intel: Copy the exact length of XSk packets to skbs Björn Töpel
2026-12-03 14:07   ` Maciej Fijalkowski
2026-12-04 14:51   ` Loktionov, Aleksandr
2026-12-03  9:56 ` [PATCH net v3 4/4] xsk: Keep the shared info of zero-copy buffers in kernel memory Björn Töpel
2026-12-03 15:16   ` Maciej Fijalkowski
2026-12-04  9:57   ` sashiko-bot
2026-12-04 10:39   ` netdev-bot+sashiko
2026-12-04 14:12     ` Björn Töpel [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=87tsktyw26.fsf@all.your.base.are.belong.to.us \
    --to=bjorn@kernel.org \
    --cc=aleksander.lobakin@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrii@kernel.org \
    --cc=anthony.l.nguyen@intel.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=clecigne@google.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=eddyz87@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=emil@etsalapatis.com \
    --cc=hawk@kernel.org \
    --cc=horms@kernel.org \
    --cc=ihor.solodrai@linux.dev \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kurt@linutronix.de \
    --cc=maciej.fijalkowski@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=michal.swiatkowski@linux.intel.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=sdf@fomichev.me \
    --cc=song@kernel.org \
    --cc=sriram.yagnaraman@ericsson.com \
    --cc=willemb@google.com \
    --cc=yonghong.song@linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.