Netdev List
 help / color / mirror / Atom feed
From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>,
	 daniel.zahka@gmail.com,  willemdebruijn.kernel@gmail.com
Cc: edumazet@google.com,  cratiu@nvidia.com,  borisp@nvidia.com,
	 kuniyu@google.com,  netdev@vger.kernel.org,
	 Jakub Kicinski <kuba@kernel.org>
Subject: Re: [RFC net-next 1/6] psp: steer Rx queues with the virtualization cookie
Date: Sun, 23 Aug 2026 14:18:46 -0400	[thread overview]
Message-ID: <willemdebruijn.kernel.357385e9d8055@gmail.com> (raw)
In-Reply-To: <20260822225524.2328465-2-kuba@kernel.org>

Jakub Kicinski wrote:
> PSP leaves the 64b virtualization cookie undefined in transport mode.
> Put it to use: let both ends of a connection tell each other which Rx
> queue they want traffic on, so that a flow can be pinned to a queue
> without the receiver having to install a per-flow steering rule, and
> without the sender having to know anything about the receiver's queue
> layout. The cookie holds a queue ID the sender is asking the peer to
> send to ("req") and the queue ID the peer last asked for, granted
> ("dst"). Each ID gets a 32b word of the cookie to itself and uses only
> the low half of it, so that either can grow to 32b later without the
> fields moving.
> 
> The two directions are configured separately:
> 
>  * rx asks peers to send to the queue paired with the flow's Tx queue,
>    so traffic this host receives gets steered. The receiver installs one
>    low priority rule per Rx queue matching "dst", which wins over RSS,
>    so this needs vc-steer-cap.
>  * tx grants the requests peers make, so traffic this host sends gets
>    steered at the far end. The queue is the peer's to pick and the rules
>    are the peer's to install, so this needs nothing from the local
>    device and can be turned on where vc-steer-cap is absent.
> 
> Splitting them is what makes one sided deployment work. Turn granting on
> everywhere, cheaply, and asking wherever the NIC can actually do it.

Split the feature patch also? In three parts, one to add generic
extension header support (and all zero VC), one that adds tx granting
and finally one that adds rx requests.
 

  parent reply	other threads:[~2026-08-23 18:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-22 22:55 [RFC net-next 0/6] psp: use virt cookie as Rx steering hint Jakub Kicinski
2026-08-22 22:55 ` [RFC net-next 1/6] psp: steer Rx queues with the virtualization cookie Jakub Kicinski
2026-08-23 15:31   ` Daniel Zahka
2026-08-24 15:01     ` Jakub Kicinski
2026-08-24 15:09       ` Cosmin Ratiu
2026-08-24 15:19         ` Jakub Kicinski
2026-08-23 18:18   ` Willem de Bruijn [this message]
2026-08-22 22:55 ` [RFC net-next 2/6] netdevsim: support PSP VC based queue steering Jakub Kicinski
2026-08-22 22:55 ` [RFC net-next 3/6] selftests: drv-net: psp: move the PSP test plumbing into psp_lib.py Jakub Kicinski
2026-08-22 22:55 ` [RFC net-next 4/6] selftests: drv-net: psp_steer: test PSP VC based queue steering Jakub Kicinski
2026-08-22 22:55 ` [RFC net-next 5/6] selftests: drv-net: psp_steer: test where PSP steering sits in the Rx pipeline Jakub Kicinski
2026-08-22 22:55 ` [RFC net-next 6/6] selftests: drv-net: psp_steer: cover corner cases and races Jakub Kicinski
2026-08-23 17:48 ` [RFC net-next 0/6] psp: use virt cookie as Rx steering hint Willem de Bruijn
2026-08-24 15:05   ` Cosmin Ratiu
2026-08-25  9:52     ` Cosmin Ratiu
2026-08-25 18:55       ` Jakub Kicinski
2026-08-24 15:11   ` Jakub Kicinski
2026-08-24 18:04     ` Willem de Bruijn

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=willemdebruijn.kernel.357385e9d8055@gmail.com \
    --to=willemdebruijn.kernel@gmail.com \
    --cc=borisp@nvidia.com \
    --cc=cratiu@nvidia.com \
    --cc=daniel.zahka@gmail.com \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.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