Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Jakub Kicinski
Thu, 15 Oct 2026 23:36
Re: [PATCH net-next v3 1/3] net: rss: Require indir table size or hash key size to support RSS
Author: Jakub Kicinski
Date: Thu, 15 Oct 2026 23:36
Date: Thu, 15 Oct 2026 23:36
26 lines
7125 bytes
7125 bytes
On Thu, 8 Oct 2026 11:04:44 +0200 Maxime Chevallier wrote: > >> Yes it does, that's the intended behaviour here. RSS bits are all optional, > >> but does it make sense to report hashing params when the indirection table > >> is size 0 and key len is 0 ? > > > > Not sure if there's an implementation in the tree but > > it's possible to implement poor man's RSS on strict > > power-of-2 queue set with some hashing built into the > > Rx engine, without a key. We'd still want to control > > which fields are hashed in this case. > > > > In the Netlink API we combine the two so we'd break this? > > Hmm I wasn't aware of that :( I guess the safe choice is to check on -EOPNOTSUPP > for .get_rxfh() + 0-len indir table / 0-size key and skip the device during the > dump instead of returning early ? Not sure I'm following the suggestion, isn't that what the v3 already does? I think the API was suggesting we let the device progress into the dump, and rely on the existing "unset" checks before the nla_put_ calls filter out the data which wasn't provided (which may be all the data). Not sure it's worth it, could you poke around to see if a device which reports zero-length key + indir table actually exists?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads