From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796332669; b=i8K/ty5ZAlkUN7SXXLTFFTam4aXbseke0Ba6lXRhkeNG0Ktvkwp6I0KEm3egdZM7sRAV jsFu+It4+ATI9cuHpgBSQMU2bQf1MUTzBh7aHi46sgS1jszKHCxC6P6xxcXgdzV9w0rd8 MOHb09hQODt0+iLwPRcD+yjpGUP6gsxW43bgWGFJAk7DIsUhtYFpAwypRbpbWViiGLF8T MqFWBDSw+/RmdjP3nZSFzcLszXN2aXEhs5KM/lOYHspAnxPekejTeya2k45HZ6CstOryU rrkmS1cesFwKEl/skNU2Oo//tQ5RiWOETRGGusEZ6mPZOxjVSuVkTh8d3a3A5Gce47A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796332669; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=bWh3/tJJ+0y9mfjn5eKfhbSNSmqTZcu7dl54z8BbRKg=; b=0L+Q+5q5DBG8vOJ0fwArbCXqcdkmFV/wWWHsED8di6MaayX4Dywc2ezuy+hduOK3n937 aHYWsD8vHsukmIGt9WcPvvORlcJAFQ9eqbWKZoBaD9czZEnhyPuNvSEDJEOtUn8e5osFa ZkB4IICvR5HTL0MSqw86rZnKVO9rfI4u5+NLVOgQZaD57iBsVw7nuFsGNKbusOTqf6cop 1cyzZX5aFgVKpWS4Mlr7f5KSWcwwE7jtwgBNZiL84UqWCqal4CFxOqe2fmr/aIEOsGyky rRSYf8OouMdtAAJOvbf6iFfx2jjyH1YcLyGkN/fkV1A1zKwdzu3MRAlwckcWgf8JJNQ== 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="IXt/Bg5S"; arc=none smtp.remote-ip=100.103.45.18 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 0F515606A322 for ; Thu, 3 Dec 2026 21:17:49 +0000 (UTC) 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=IXt/Bg5S Received: by smtp.kernel.org (Postfix) with ESMTPSA id C90901F000CE; Thu, 3 Dec 2026 21:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796332668; bh=bWh3/tJJ+0y9mfjn5eKfhbSNSmqTZcu7dl54z8BbRKg=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=IXt/Bg5SnFkiplDVQwUTnDp0FLeZ8vjOFLGYcA402WMgmfVqMbOgoKseuZzIa2H33 Uoa1C8U508jK8rNQrJlFFaE1c7ZVvY6DZSuVuc2jsM4Z6PWyRVKeLJX4iXJz+lB/EK t3ynnmgHJbl6maUD8PyUTSVkERbrS7DVOT/cGozAt1JJkfX2FuurHo5mipHr8kTUp4 +TZ6cxO0bw7vmg4NRqAWTwcuGXiTKI0QH05rQngK95S0rttMod+fg3hqtorbi/1X8+ byMHqSeYHKxDE8Loev4R/J6zfl4UXWY56bevvoNdx8EJryt7iwUFp1L0tMWIuZciiQ wZ7T7ycS9zWvg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net-next V2] net/mlx5: E-Switch, Size FDB peer groups for asymmetric peers Reply-To: sashiko-reviews@lists.linux.dev To: "Tariq Toukan" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261203210604.4092532-1-tariqt@nvidia.com> References: <20261203210604.4092532-1-tariqt@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 21:17:48 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Uri Dar >=20 > The slow path FDB send-to-vport and peer-miss groups are sized from the > local eswitch total_vports, assuming every eswitch that may pair has the > same number of vports. Per-PF VF configuration (e.g. PF_NUM_OF_VF set > differently per port) breaks that assumption: the larger peer installs > rules sized by its own total_vports into the smaller peer's groups, > which cannot hold them, so pairing fails. >=20 > In SW and HW steering the flow table is unbounded (max_fte is INT_MAX) > and flow groups are backed by dynamically grown matchers, so size the > peer dependent groups to the architectural vport maximum. FW steering, > whose table is bounded by log_max_ft_size, keeps the current sizing. >=20 > Signed-off-by: Uri Dar > Reviewed-by: Moshe Shemesh > Reviewed-by: Shay Drori > Signed-off-by: Tariq Toukan Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203210604.4092= 532-1-tariqt@nvidia.com?part=3D1