Article View: linux.kernel.netdev
Article #18995Re: [net-next v6 05/15] ice: rename ICE_MAX_RSS_QS_PER_VF to ICE_MAX_QS_PER_VF_VCV1
From: netdev-bot+sashiko
Date: Thu, 19 Nov 2026 06:44
Date: Thu, 19 Nov 2026 06:44
53 lines
10294 bytes
10294 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The rename marks every user of the old ICE_MAX_RSS_QS_PER_VF as a
legacy virtchnl-v1 opcode limit.
--
ice: rename ICE_MAX_RSS_QS_PER_VF to ICE_MAX_QS_PER_VF_VCV1
This commit renames ICE_MAX_RSS_QS_PER_VF to ICE_MAX_QS_PER_VF_VCV1 across
the ice driver and keeps the value at 16. It prepares for the next patch,
which raises the per-VF queue maximum to 256. It also adjusts the
kernel-doc of ice_vf_has_no_qs_ena().
> diff --git a/drivers/net/ethernet/intel/ice/ice_vf_lib.h b/drivers/net/ethernet/intel/ice/ice_vf_lib.h
> index fa436b3b1eac2..4959ecee0c21c 100644
> --- a/drivers/net/ethernet/intel/ice/ice_vf_lib.h
> +++ b/drivers/net/ethernet/intel/ice/ice_vf_lib.h
> @@ -19,7 +19,8 @@
> #define ICE_MAX_SRIOV_VFS 256
>
> /* VF resource constraints */
> -#define ICE_MAX_RSS_QS_PER_VF 16
> +/* for "old" virtchnl opcodes that accept up to 16 queues */
> +#define ICE_MAX_QS_PER_VF_VCV1 16
[Severity: Low]
This isn't a bug, but the new comment calls this constant a limit for the
"old" virtchnl opcodes. At this point in the series, several of its users
are not opcode limits.
The txq_ena/rxq_ena bitmaps and qs_bw[] in struct ice_vf, and q_home[][]
in struct ice_lag, use it as a storage size. ice_set_per_vf_res() uses it
as the per-VF Tx/Rx queue cap. ice_vsi_set_rss_params() uses it as the VF
VSI rss_size.
The value is still 16 everywhere, so nothing goes out of bounds here. The
next patch in the series ("ice: bump to 256qs for VF") adds
ICE_MAX_QS_PER_VF and moves the storage, allocation and RSS users over to
it. After that, ICE_MAX_QS_PER_VF_VCV1 remains only at the v1 opcode
sites.
Could ICE_MAX_QS_PER_VF be introduced in this patch, with only the opcode
sites switched to the VCV1 name? That way the intermediate tree would
match the new comment.
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261117094913.100756-1-przemyslaw.kitszel%40intel.com
Technical Details
Message-ID:
<179507069485.3136.3088916078389743897@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366777-linux-kernel-netdev=dewy.ruReferences:
<20261117094913.100756-6-przemyslaw.kitszel@intel.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366777-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [net-next v6 05/15] ice: rename ICE_MAX_RSS_QS_PER_VF to ICE_MAX_QS_PER_VF_VCV1 Date: Thu, 19 Nov 2026 06:44:54 +0000 Organization: Usenet Network Message-ID: <179507069485.3136.3088916078389743897@kernel.org> References: <20261117094913.100756-6-przemyslaw.kitszel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2809574"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ePkPd7aed/LJZE5HXGOWXqF86iw= sha256:JzKkmHqmlNQ4zOTrJ8HxIlC64mtogmEMxxvad6tc9zM= sha1:aq1HrDJK30alM9ZdRxd1a8KnD8o= sha256:fgN0uP8N4Glejl9OxCA8ZI3h3osSl7FMcbM6Klp1kH8= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E53AB115522; Thu, 19 Nov 2026 09:45:14 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.5 X-Spam-Status: No, score=-3.5 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pNVi7v4apbVP; Thu, 19 Nov 2026 09:45:10 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366777-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id B1FD911551D; Thu, 19 Nov 2026 09:45:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 52E1D7230E1; Thu, 19 Nov 2026 06:45:02 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795070698; b=rEO1BQ8wsU8xpUvOdWTS7UPl0+tukdLy/VEnfEx6JvqX7BE9zsVVgnOpPtmtqLUEnfDC LpX/2GF4d5HyewEskYVodFVfqLM0dUMy5fKLDK6N0d6bv01xNexK2H4UY9vfOkOG5TAsz kc09O7td+EpcDWtvftiHj6QAtMZud9V7IkCrDzjLd7Z5wnfIoEMb5/v4i55xobscW1ZrX n4muZ8A6fJsz40GSFqnzofxKwd2oD8DVWMIqhnm9HmZMJf0svjWbblQrYOErDX5vc9m1Z IPLVmx4TRO0+sx9qC+lUp0d5oLgWcNqsKTZtEqfWTPV4VTmcftRAN68gPn1H71tI6Cw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795070698; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=JLBL2wrg3mE0HWqiTHlCWKNYklhYyRHXyYX58075LC4=; b=COTSOxaTEOJyRLK80PkCMiQBMdM+tyEIKLW46Qz9/hF7pBFv1BVHLzPbjsJ5os0kBMVA FxkxNvsn4tPkzEnpW1yucbU15BcKg5E9URW3m+Z4+47dK/bWrERVeQCZWEDMlAya9fg/S qczSNks8VcWUajf1LO8wgfZpHEOxzFfTZf7cb787adb7U/tOkAfao0a07wIb4PPCVhaVd shnxA+J/DvjXB+wJXP53Ml+FtnAmkbNB6Z4D4OXPiLysQ3jg9JbdHaZsQd/+nDCu/+jwr 4fcSQwqXxX/C9th0UMCCjMoHdD4nNB2GxZFcsDm2knJCHq9VquqldRfN0nW5DK7T+Qw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h4HjtuVz; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 032EF606A335; Thu, 19 Nov 2026 06:44:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h4HjtuVz X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795070697; b=hLnhrhms+UuEhWEINFRkF6TvdToU6CBuvljZDtRIzEbiAbpVNotm6KQOf/O+xBrWliNl MY1DV2JPRhIFVvn8CNkazNTcKnVcrYni49I9xqU2KQo8J6stMimL6jAU6zdXJ3CYRpjPn RSpaXr4kRbls1yXp48dxcepNATfzxPOJdojjxxY1H4vYDt66yhAjzbUxO108hWsA9jqTv nWVhz6fjeLMAVNnDO42/MKYL8R6duKnDbCKndEwW/cL9nSJM5unWWzVZroLGLj0eLvJvg XTT8SdousPZKL79HPuuXCLsS1BVZ6ZjQ6D5KM5N+HdVZdVHGts9CVc64lUCY2Rw73xA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795070697; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=JLBL2wrg3mE0HWqiTHlCWKNYklhYyRHXyYX58075LC4=; b=kXZulQDVinJlF16LjfZPsBD6L28sxjyB9QW/675yF1I3iCedROeaS5JM+NnhEUzC4VQs 0kgJy7ix81x7aUFMaOZvpKY9VfHiTtNzjA9rdRyoYm3gDbfn8t/Sb6z9dt/R5dcmmOqwo OhJYGUWBYK2iBU8HaDJuAmEXNTaNXjpP2ncFYP+/l8JPRfBMM+7V8SIcFo3YPlzrWzovU rx4xB1+W1ovJaD5fZaDYaMIMyW2GspWPmRCHwJwAihnYptx+MGptSEFhIPQ3Ak9rgP/sY 8AoVLsfEFZ/b84HS8p9jcx6vVHeSA9lF8xvhbx9YNUU91SfkaFXhobmuDbLcfYYdPmg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h4HjtuVz; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F507606A326 for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 06:44:56 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 560E41F000C4; Thu, 19 Nov 2026 06:44:55 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795070696; bh=JLBL2wrg3mE0HWqiTHlCWKNYklhYyRHXyYX58075LC4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=h4HjtuVz0OrTPPR7vgSb5uOH/NlV+9Goh1sQNVAB93vDNEqh3HBnnJYpDSqfeVm3O alTdiZw1wZNc6hDgE4qPeGuCd9MOD3cpKnfn1Q0CgfBu959NBoi+QmXUj4rvMnWByX CuTMuK0ABx0TmtrbX01n31o1DWdzxLm3GuDGNAt+AtpJVf5XZi75O/nT0Gc/qfe+M7 v6lR4XP4c9eBT47wffFk583LELWoKklApwI7Jvs91FU67xDcI6B6oIYZPcTjbPHYYZ SQzLkcy7mE7UqgIF9bwzwWkElcysvXRboLguKMXQd2pSUWpxYD4GDAvH2xV7stEx+s XP0pL2bDtRKWQ== X-Cc: kuba@kernel.org, netdev@vger.kernel.org, aleksandr.loktionov@intel.com, andrew+netdev@lunn.ch, anthony.l.nguyen@intel.com, anzaki@gmail.com, brett.creeley@amd.com, corbet@lwn.net, davem@davemloft.net, edumazet@kernel.org, horms@kernel.org, jacob.e.keller@intel.com, jedrzej.jagielski@intel.com, jiri@resnulli.us, leon@kernel.org, mbloch@nvidia.com, mschmidt@redhat.com, ohartoov@nvidia.com, pabeni@redhat.com, poros@redhat.com, rdunlap@infradead.org, saeedm@nvidia.com, skhan@linuxfoundation.org, tariqt@nvidia.com X-In-Reply-To: <20261117094913.100756-6-przemyslaw.kitszel@intel.com> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list