From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E887A21B1BF; Wed, 4 Mar 2026 00:07:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772582824; cv=none; b=bYxChnRFF7aO+kKY78N+XN5kyNhRAkj7gIu1o/hICGXxt7Po/KKJIb9AbZgh27WYeYVnjuFtODdxF1q1rwZHIM963kcOcDTz0MCKUN2/WRof29LVnhoPtRUPZkxiqg1rMV1rkRKZjxYRIIx0fM/pGgcV5pjjnAn16QIMpyhW96g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772582824; c=relaxed/simple; bh=DKvD+Lht8o2ly8XEv5qKbz2/Y5MsEFKRtxvkE7ct8Zk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rfPj5EQfAJD8xPybfwTKrbjbNBr5P71ijH47SVRSVwcYoTVoYHpeBYZ5XHptPGLfkVA0S7ZIkXkDrki5u1y0vsTBQskV50mc7Ivxd3PckSeQMi5WPuhqd1RbEYHFpjaq3OGNDTrXPuwYQtZd7PCqhCMXY8sI8WNukS1AFEuC8A8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vPcFGXMW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vPcFGXMW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4488C116C6; Wed, 4 Mar 2026 00:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772582823; bh=DKvD+Lht8o2ly8XEv5qKbz2/Y5MsEFKRtxvkE7ct8Zk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vPcFGXMW56W9eqU0YHr7fJLZpTGK1a3AN7o1DOxMJ9AdCquwKxHcgZUfvY7tcP2jN x+wOJOI+4cZ/imfCdvcXfmb74yPkIr5qS8zsxr7Og4xV27cFDUEF2vXC4o+695vUre 1CZIbp29r5+vLeNk4X5NQsjvERAvfb/9Wvauw1J2IjyjQkkK7Oi7J5oyMq6YKhxnos hKusvQi1gkV9LAWITBFnKZriQt59RfzotWPMfU9OJEZworp7PGpz6tetjPmAkam6X2 hgBQ20izSdr0zB1ti6rykBtBc+nIZlsdquSHYcyn8cNb4zEf71IW1FOBMzkIP2JU8r iWolFwCl+mRzg== Date: Tue, 3 Mar 2026 16:07:02 -0800 From: Jakub Kicinski To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: Michael Chan , Pavan Chebbi , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, Willem de Bruijn Subject: Re: [PATCH net-next 3/5] netdevsim: Add RSS context support with dynamic table sizing Message-ID: <20260303160702.7d28437f@kernel.org> In-Reply-To: <20260303181535.2671734-4-bjorn@kernel.org> References: <20260303181535.2671734-1-bjorn@kernel.org> <20260303181535.2671734-4-bjorn@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 3 Mar 2026 19:15:31 +0100 Bj=C3=B6rn T=C3=B6pel 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. >=20 > 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. >=20 > 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.