Netdev List
 help / color / mirror / Atom feed
From: willemb@google.com
To: "Björn Töpel" <bjorn@kernel.org>,
	"Alexander Duyck" <alexanderduyck@fb.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Alexei Starovoitov" <ast@kernel.org>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	netdev@vger.kernel.org, bpf@vger.kernel.org
Cc: "Björn Töpel" <bjorn@kernel.org>,
	kernel-team@meta.com, "Stanislav Fomichev" <sdf@fomichev.me>,
	"Simon Horman" <horms@kernel.org>,
	"Dimitri Daskalakis" <dimitri.daskalakis1@gmail.com>,
	"Bobby Eshleman" <bobbyeshleman@meta.com>,
	"Daniel Zahka" <daniel.zahka@gmail.com>,
	"Mike Marciniszyn (Meta)" <mike.marciniszyn@gmail.com>,
	"Mohsin Bashir" <hmohsin@meta.com>,
	"Breno Leitao" <leitao@debian.org>
Subject: Re: [PATCH net-next] eth: fbnic: Support XDP redirect
Date: Wed, 02 Dec 2026 22:46:39 -0500	[thread overview]
Message-ID: <willemb.2b81c6519c59b@google.com> (raw)
In-Reply-To: <20261127055334.3156389-1-bjorn@kernel.org>

Björn Töpel wrote:
> fbnic treats XDP_REDIRECT as an invalid action: it warns and drops the
> packet, so programs on fbnic cannot redirect to devmap, cpumap or
> AF_XDP sockets.

> Support the verdict and advertise NETDEV_XDP_ACT_REDIRECT. The buffers
> of a redirected packet go to the target, and a failed redirect drops
> the packet as XDP_ABORTED does. Each RX queue flushes its redirects
> once per poll.

> The NAPI vector, not a variable of the RX loop, notes that a flush is
> due, as one more live variable in that loop costs XDP_DROP six
> instructions per packet.

> Signed-off-by: Björn Töpel <bjorn@kernel.org>

META driver owners, PTAL

      reply	other threads:[~2026-12-03  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  5:53 [PATCH net-next] eth: fbnic: Support XDP redirect Björn Töpel
2026-12-03  3:46 ` willemb [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=willemb.2b81c6519c59b@google.com \
    --to=willemb@google.com \
    --cc=alexanderduyck@fb.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bobbyeshleman@meta.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel.zahka@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=dimitri.daskalakis1@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=hawk@kernel.org \
    --cc=hmohsin@meta.com \
    --cc=horms@kernel.org \
    --cc=john.fastabend@gmail.com \
    --cc=kernel-team@meta.com \
    --cc=kuba@kernel.org \
    --cc=leitao@debian.org \
    --cc=mike.marciniszyn@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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