public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
@ 2026-01-22  9:15 Srujana Challa
  2026-01-22 10:15 ` Michael S. Tsirkin
  2026-01-22 15:52 ` Jakub Kicinski
  0 siblings, 2 replies; 10+ messages in thread
From: Srujana Challa @ 2026-01-22  9:15 UTC (permalink / raw)
  To: netdev, virtualization
  Cc: pabeni, mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	edumazet, kuba, ndabilpuram, schalla

Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.

The virtio specification requires devices to support at least 40 bytes
for the RSS key size. However, devices may support larger key sizes
up to 52 bytes (as reported by the device's rss_max_key_size config
field). This change allows such devices to work properly.
Previously, devices reporting rss_max_key_size > 40 would fail with
an error during initialization.

The driver already handles variable key sizes dynamically through
vi->rss_key_size, so increasing the maximum limit is safe and
maintains backward compatibility with devices that support smaller
key sizes.

Signed-off-by: Srujana Challa <schalla@marvell.com>
---
 drivers/net/virtio_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index db88dcaefb20..5f06cbc058d7 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -381,7 +381,7 @@ struct receive_queue {
 	struct xdp_buff **xsk_buffs;
 };
 
-#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
+#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52
 
 /* Control VQ buffers: protected by the rtnl lock */
 struct control_buf {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22  9:15 [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN Srujana Challa
@ 2026-01-22 10:15 ` Michael S. Tsirkin
  2026-01-23 11:37   ` [EXTERNAL] " Srujana Challa
  2026-01-22 15:52 ` Jakub Kicinski
  1 sibling, 1 reply; 10+ messages in thread
From: Michael S. Tsirkin @ 2026-01-22 10:15 UTC (permalink / raw)
  To: Srujana Challa
  Cc: netdev, virtualization, pabeni, jasowang, xuanzhuo, eperezma,
	andrew+netdev, davem, edumazet, kuba, ndabilpuram

On Thu, Jan 22, 2026 at 02:45:27PM +0530, Srujana Challa wrote:
> Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> 
> The virtio specification requires devices to support at least 40 bytes
> for the RSS key size.

Indeed:
	The device MUST set \field{rss_max_key_size} to at least 40, if it offers
	VIRTIO_NET_F_RSS or VIRTIO_NET_F_HASH_REPORT.



> However, devices may support larger key sizes
> up to 52 bytes (as reported by the device's rss_max_key_size config
> field). This change allows such devices to work properly.
> Previously, devices reporting rss_max_key_size > 40 would fail with
> an error during initialization.

This one, yes?

                if (vi->rss_key_size > VIRTIO_NET_RSS_MAX_KEY_SIZE) {
                        dev_err(&vdev->dev, "rss_max_key_size=%u exceeds the limit %u.\n",
                                vi->rss_key_size, VIRTIO_NET_RSS_MAX_KEY_SIZE);
                        err = -EINVAL;
                        goto free;
                }


Hmm but why do we do it like this? I suspect we just got confused with
the spec: > vs <.


Can't we just do:
min(vi->rss_key_size, VIRTIO_NET_RSS_MAX_KEY_SIZE)


If yes I'd like that fix in addition to the increase.



If we are validating rss_key_size  against 40, I think we should clear the
feature rather than failing init completely.






> The driver already handles variable key sizes dynamically through
> vi->rss_key_size, so increasing the maximum limit is safe and
> maintains backward compatibility with devices that support smaller
> key sizes.
> 
> Signed-off-by: Srujana Challa <schalla@marvell.com>
> ---
>  drivers/net/virtio_net.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
> index db88dcaefb20..5f06cbc058d7 100644
> --- a/drivers/net/virtio_net.c
> +++ b/drivers/net/virtio_net.c
> @@ -381,7 +381,7 @@ struct receive_queue {
>  	struct xdp_buff **xsk_buffs;
>  };
>  
> -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52
>  
>  /* Control VQ buffers: protected by the rtnl lock */
>  struct control_buf {
> -- 
> 2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22  9:15 [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN Srujana Challa
  2026-01-22 10:15 ` Michael S. Tsirkin
@ 2026-01-22 15:52 ` Jakub Kicinski
  2026-01-22 16:13   ` Eric Dumazet
  2026-01-23 11:46   ` [EXTERNAL] " Srujana Challa
  1 sibling, 2 replies; 10+ messages in thread
From: Jakub Kicinski @ 2026-01-22 15:52 UTC (permalink / raw)
  To: Srujana Challa, Willem de Bruijn
  Cc: netdev, virtualization, pabeni, mst, jasowang, xuanzhuo, eperezma,
	andrew+netdev, davem, edumazet, ndabilpuram, Willem de Bruijn

On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.

I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
Most modern drivers can't use netdev_rss_key_fill() either because
core generates a tiny key. And the devices support hashing over two
layers of IPv6 for tunnels.

Willem, WDYT? Is there a reason to keep the core key small?
Or deprecate netdev_rss_key_fill()?

> The virtio specification requires devices to support at least 40 bytes
> for the RSS key size. However, devices may support larger key sizes
> up to 52 bytes (as reported by the device's rss_max_key_size config
> field). This change allows such devices to work properly.
> Previously, devices reporting rss_max_key_size > 40 would fail with
> an error during initialization.
> 
> The driver already handles variable key sizes dynamically through
> vi->rss_key_size, so increasing the maximum limit is safe and
> maintains backward compatibility with devices that support smaller
> key sizes.

> -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 15:52 ` Jakub Kicinski
@ 2026-01-22 16:13   ` Eric Dumazet
  2026-01-22 16:17     ` Eric Dumazet
                       ` (2 more replies)
  2026-01-23 11:46   ` [EXTERNAL] " Srujana Challa
  1 sibling, 3 replies; 10+ messages in thread
From: Eric Dumazet @ 2026-01-22 16:13 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Srujana Challa, Willem de Bruijn, netdev, virtualization, pabeni,
	mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	ndabilpuram, Willem de Bruijn

On Thu, Jan 22, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
>
> I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
> Most modern drivers can't use netdev_rss_key_fill() either because
> core generates a tiny key. And the devices support hashing over two
> layers of IPv6 for tunnels.

Seems fine to me. Back in 2014, RSS was limited to 52 bytes on all known NIC.

>
> Willem, WDYT? Is there a reason to keep the core key small?
> Or deprecate netdev_rss_key_fill()?

What do you mean by deprecating it ?

One of the ideas was to make sure multiple NIC would share the same key,
for some bonding setups.

commit 960fb622f85180f36d3aff82af53e2be3db2f888    net: provide a per
host RSS key generic infrastructure



>
> > The virtio specification requires devices to support at least 40 bytes
> > for the RSS key size. However, devices may support larger key sizes
> > up to 52 bytes (as reported by the device's rss_max_key_size config
> > field). This change allows such devices to work properly.
> > Previously, devices reporting rss_max_key_size > 40 would fail with
> > an error during initialization.
> >
> > The driver already handles variable key sizes dynamically through
> > vi->rss_key_size, so increasing the maximum limit is safe and
> > maintains backward compatibility with devices that support smaller
> > key sizes.
>
> > -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> > +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 16:13   ` Eric Dumazet
@ 2026-01-22 16:17     ` Eric Dumazet
  2026-01-22 16:52     ` Jakub Kicinski
  2026-01-22 19:32     ` Willem de Bruijn
  2 siblings, 0 replies; 10+ messages in thread
From: Eric Dumazet @ 2026-01-22 16:17 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Srujana Challa, Willem de Bruijn, netdev, virtualization, pabeni,
	mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	ndabilpuram, Willem de Bruijn

On Thu, Jan 22, 2026 at 5:13 PM Eric Dumazet <edumazet@google.com> wrote:
>
> On Thu, Jan 22, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >
> > On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> > > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> >
> > I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
> > Most modern drivers can't use netdev_rss_key_fill() either because
> > core generates a tiny key. And the devices support hashing over two
> > layers of IPv6 for tunnels.
>
> Seems fine to me. Back in 2014, RSS was limited to 52 bytes on all known NIC.
>

BTW make it 256 bytes. 128 is already too small.

> >
> > Willem, WDYT? Is there a reason to keep the core key small?
> > Or deprecate netdev_rss_key_fill()?
>
> What do you mean by deprecating it ?
>
> One of the ideas was to make sure multiple NIC would share the same key,
> for some bonding setups.
>
> commit 960fb622f85180f36d3aff82af53e2be3db2f888    net: provide a per
> host RSS key generic infrastructure
>
>
>
> >
> > > The virtio specification requires devices to support at least 40 bytes
> > > for the RSS key size. However, devices may support larger key sizes
> > > up to 52 bytes (as reported by the device's rss_max_key_size config
> > > field). This change allows such devices to work properly.
> > > Previously, devices reporting rss_max_key_size > 40 would fail with
> > > an error during initialization.
> > >
> > > The driver already handles variable key sizes dynamically through
> > > vi->rss_key_size, so increasing the maximum limit is safe and
> > > maintains backward compatibility with devices that support smaller
> > > key sizes.
> >
> > > -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> > > +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 16:13   ` Eric Dumazet
  2026-01-22 16:17     ` Eric Dumazet
@ 2026-01-22 16:52     ` Jakub Kicinski
  2026-01-22 19:32     ` Willem de Bruijn
  2 siblings, 0 replies; 10+ messages in thread
From: Jakub Kicinski @ 2026-01-22 16:52 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Srujana Challa, Willem de Bruijn, netdev, virtualization, pabeni,
	mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	ndabilpuram, Willem de Bruijn

On Thu, 22 Jan 2026 17:13:55 +0100 Eric Dumazet wrote:
> > Willem, WDYT? Is there a reason to keep the core key small?
> > Or deprecate netdev_rss_key_fill()?  
> 
> What do you mean by deprecating it ?
> 
> One of the ideas was to make sure multiple NIC would share the same key,
> for some bonding setups.
> 
> commit 960fb622f85180f36d3aff82af53e2be3db2f888    net: provide a per
> host RSS key generic infrastructure

Just wanted to put that option on the table, it wasn't clear to me what
the exact use case for the sysfs file was. Good to know that someone
cares :) thanks for the reference!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 16:13   ` Eric Dumazet
  2026-01-22 16:17     ` Eric Dumazet
  2026-01-22 16:52     ` Jakub Kicinski
@ 2026-01-22 19:32     ` Willem de Bruijn
  2026-01-22 19:42       ` Willem de Bruijn
  2 siblings, 1 reply; 10+ messages in thread
From: Willem de Bruijn @ 2026-01-22 19:32 UTC (permalink / raw)
  To: Eric Dumazet, Jakub Kicinski
  Cc: Srujana Challa, Willem de Bruijn, netdev, virtualization, pabeni,
	mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	ndabilpuram, Willem de Bruijn

Eric Dumazet wrote:
> On Thu, Jan 22, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >
> > On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> > > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> >
> > I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
> > Most modern drivers can't use netdev_rss_key_fill() either because
> > core generates a tiny key. And the devices support hashing over two
> > layers of IPv6 for tunnels.
> 
> Seems fine to me. Back in 2014, RSS was limited to 52 bytes on all known NIC.

What is the purpose of extending?

The current length is sufficient for standard Toeplitz 4-tuple hashing.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 19:32     ` Willem de Bruijn
@ 2026-01-22 19:42       ` Willem de Bruijn
  0 siblings, 0 replies; 10+ messages in thread
From: Willem de Bruijn @ 2026-01-22 19:42 UTC (permalink / raw)
  To: Willem de Bruijn, Eric Dumazet, Jakub Kicinski
  Cc: Srujana Challa, Willem de Bruijn, netdev, virtualization, pabeni,
	mst, jasowang, xuanzhuo, eperezma, andrew+netdev, davem,
	ndabilpuram, Willem de Bruijn

Willem de Bruijn wrote:
> Eric Dumazet wrote:
> > On Thu, Jan 22, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote:
> > >
> > > On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> > > > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > > > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> > >
> > > I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
> > > Most modern drivers can't use netdev_rss_key_fill() either because
> > > core generates a tiny key. And the devices support hashing over two
> > > layers of IPv6 for tunnels.
> > 
> > Seems fine to me. Back in 2014, RSS was limited to 52 bytes on all known NIC.
> 
> What is the purpose of extending?
> 
> The current length is sufficient for standard Toeplitz 4-tuple hashing.

Never mind, I should read better:

> And the devices support hashing over two layers of IPv6 for tunnels.

I'm hard pressed to see over 128 B of entropy. But if extending, might
as well go to 256 B right away.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [EXTERNAL] Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 10:15 ` Michael S. Tsirkin
@ 2026-01-23 11:37   ` Srujana Challa
  0 siblings, 0 replies; 10+ messages in thread
From: Srujana Challa @ 2026-01-23 11:37 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: netdev@vger.kernel.org, virtualization@lists.linux.dev,
	pabeni@redhat.com, jasowang@redhat.com,
	xuanzhuo@linux.alibaba.com, eperezma@redhat.com,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, Nithin Kumar Dabilpuram, Shiva Shankar Kommula

> On Thu, Jan 22, 2026 at 02:45:27PM +0530, Srujana Challa wrote:
> > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> >
> > The virtio specification requires devices to support at least 40 bytes
> > for the RSS key size.
> 
> Indeed:
> 	The device MUST set \field{rss_max_key_size} to at least 40, if it offers
> 	VIRTIO_NET_F_RSS or VIRTIO_NET_F_HASH_REPORT.
> 
> 
> 
> > However, devices may support larger key sizes up to 52 bytes (as
> > reported by the device's rss_max_key_size config field). This change
> > allows such devices to work properly.
> > Previously, devices reporting rss_max_key_size > 40 would fail with an
> > error during initialization.
> 
> This one, yes?
> 
>                 if (vi->rss_key_size > VIRTIO_NET_RSS_MAX_KEY_SIZE) {
>                         dev_err(&vdev->dev, "rss_max_key_size=%u exceeds the limit
> %u.\n",
>                                 vi->rss_key_size, VIRTIO_NET_RSS_MAX_KEY_SIZE);
>                         err = -EINVAL;
>                         goto free;
>                 }
> 
> 
> Hmm but why do we do it like this? I suspect we just got confused with the
> spec: > vs <.
I believe the check was added to prevent out-of-bounds errors when 
accessing the hash key buffer.
> 
> 
> Can't we just do:
> min(vi->rss_key_size, VIRTIO_NET_RSS_MAX_KEY_SIZE)
Our device requires hash_key_length to exactly match rss_max_key_size 
for symmetric bidirectional flow hashing. When rss_max_key_size > 
VIRTIO_NET_RSS_MAX_KEY_SIZE, clamping isn't possible. Should we 
disable RSS instead of failing initialization?
Thanks.
> 
> 
> If yes I'd like that fix in addition to the increase.
> 
> 
> 
> If we are validating rss_key_size  against 40, I think we should clear the feature
> rather than failing init completely.
> 
> 
> 
> 
> 
> 
> > The driver already handles variable key sizes dynamically through
> > vi->rss_key_size, so increasing the maximum limit is safe and
> > maintains backward compatibility with devices that support smaller key
> > sizes.
> >
> > Signed-off-by: Srujana Challa <schalla@marvell.com>
> > ---
> >  drivers/net/virtio_net.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index
> > db88dcaefb20..5f06cbc058d7 100644
> > --- a/drivers/net/virtio_net.c
> > +++ b/drivers/net/virtio_net.c
> > @@ -381,7 +381,7 @@ struct receive_queue {
> >  	struct xdp_buff **xsk_buffs;
> >  };
> >
> > -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> > +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52
> >
> >  /* Control VQ buffers: protected by the rtnl lock */  struct
> > control_buf {
> > --
> > 2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [EXTERNAL] Re: [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN
  2026-01-22 15:52 ` Jakub Kicinski
  2026-01-22 16:13   ` Eric Dumazet
@ 2026-01-23 11:46   ` Srujana Challa
  1 sibling, 0 replies; 10+ messages in thread
From: Srujana Challa @ 2026-01-23 11:46 UTC (permalink / raw)
  To: Jakub Kicinski, Willem de Bruijn
  Cc: netdev@vger.kernel.org, virtualization@lists.linux.dev,
	pabeni@redhat.com, mst@redhat.com, jasowang@redhat.com,
	xuanzhuo@linux.alibaba.com, eperezma@redhat.com,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	Nithin Kumar Dabilpuram, Willem de Bruijn

> On Thu, 22 Jan 2026 14:45:27 +0530 Srujana Challa wrote:
> > Increase VIRTIO_NET_RSS_MAX_KEY_SIZE from 40 to 52 bytes to align with
> > the kernel's standard RSS key length defined by NETDEV_RSS_KEY_LEN.
> 
> I've been meaning to bump NETDEV_RSS_KEY_LEN to 128 or some such.
> Most modern drivers can't use netdev_rss_key_fill() either because core
> generates a tiny key. And the devices support hashing over two layers of IPv6
> for tunnels.
Instead of hardcoding 52, we can use:

#define VIRTIO_NET_RSS_MAX_KEY_SIZE  NETDEV_RSS_KEY_LEN

This automatically stays in sync with NETDEV_RSS_KEY_LEN and will adapt 
when it's increased to 128+. Please confirm.
Thanks.
> 
> Willem, WDYT? Is there a reason to keep the core key small?
> Or deprecate netdev_rss_key_fill()?
> 
> > The virtio specification requires devices to support at least 40 bytes
> > for the RSS key size. However, devices may support larger key sizes up
> > to 52 bytes (as reported by the device's rss_max_key_size config
> > field). This change allows such devices to work properly.
> > Previously, devices reporting rss_max_key_size > 40 would fail with an
> > error during initialization.
> >
> > The driver already handles variable key sizes dynamically through
> > vi->rss_key_size, so increasing the maximum limit is safe and
> > maintains backward compatibility with devices that support smaller key
> > sizes.
> 
> > -#define VIRTIO_NET_RSS_MAX_KEY_SIZE     40
> > +#define VIRTIO_NET_RSS_MAX_KEY_SIZE     52

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-01-23 11:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22  9:15 [PATCH net-next] virtio_net: Increase RSS max key size to match NETDEV_RSS_KEY_LEN Srujana Challa
2026-01-22 10:15 ` Michael S. Tsirkin
2026-01-23 11:37   ` [EXTERNAL] " Srujana Challa
2026-01-22 15:52 ` Jakub Kicinski
2026-01-22 16:13   ` Eric Dumazet
2026-01-22 16:17     ` Eric Dumazet
2026-01-22 16:52     ` Jakub Kicinski
2026-01-22 19:32     ` Willem de Bruijn
2026-01-22 19:42       ` Willem de Bruijn
2026-01-23 11:46   ` [EXTERNAL] " Srujana Challa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox