Re: [PATCH net-next 3/5] netdevsim: Add RSS context support with dynamic table sizing
From: Jakub Kicinski
Date: Tue Mar 03 2026 - 19:10:52 EST
On Tue, 3 Mar 2026 19:15:31 +0100 Björn Töpel wrote:
> Add RSS indirection table, hash key, and non-default RSS context
> support to netdevsim. The create/modify/remove context callbacks are
> no-ops; the core manages context state in its xarray.
>
> The table size is dynamic: roundup_pow_of_two(channels) * 16, capped
> at NSIM_RSS_INDIR_MAX (128). This mimics drivers like bnxt where the
> table size changes with the queue count.
>
> nsim_set_channels() uses the core resize helpers to fold/unfold tables
> on channel count changes, exercising the full resize path.
Let's not bother with netdevsim support?
Let the HW tests cover this?
netdevsim was usual when we didn't have HW tests.