Article View: linux.kernel.netdev
Article #24772Re: [PATCH net-next V2 2/5] net/mlx5: E-switch, match master egress rule by vport metadata
From: Simon Horman
Date: Mon, 30 Nov 2026 19:52
Date: Mon, 30 Nov 2026 19:52
19 lines
8827 bytes
8827 bytes
On Fri, Nov 20, 2026 at 09:59:55AM +0200, Tariq Toukan wrote: > From: Shay Drory <shayd@nvidia.com> > > The master egress-ACL bounce group and rule matched the slave uplink by > source_port + source_eswitch_owner_vhca_id. Virt LAG master cannot match > that way; it must match by vport metadata (reg_c_0). > > Virt LAG only supports MPESW, where every uplink has a unique metadata. > Hence, use metadata matching when LAG is virt LAG, and keep the > source_port + source_eswitch_owner_vhca_id match otherwise. > > Signed-off-by: Shay Drory <shayd@nvidia.com> > Reviewed-by: Akiva Goldberger <agoldberger@nvidia.com> > Reviewed-by: Moshe Shemesh <moshe@nvidia.com> > Reviewed-by: Mark Bloch <mbloch@nvidia.com> > Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID:
<20261130195222.GG804035@horms.kernel.org>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374425-linux-kernel-netdev=dewy.ruReferences:
<20261120075959.2533702-1-tariqt@nvidia.com> <20261120075959.2533702-3-tariqt@nvidia.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374425-linux-kernel-netdev=dewy.ru From: horms@kernel.org (Simon Horman) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next V2 2/5] net/mlx5: E-switch, match master egress rule by vport metadata Date: Mon, 30 Nov 2026 19:52:22 +0000 Organization: Usenet Network Message-ID: <20261130195222.GG804035@horms.kernel.org> References: <20261120075959.2533702-1-tariqt@nvidia.com> <20261120075959.2533702-3-tariqt@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1522676"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MWTAjhBPKVL/PHrbbKVU9Tddn1c= sha256:7ZhcjPcsxUM6AMG+LY0UslJSzJG2AEFmBMbvClLFghI= sha1:X35kkTXi4ijnobSse55ZlaHvsYM= sha256:+ELO8YGjHkAn923t+KjasV9m0Kf/C2QgVbQmOz/ayIA= Content-Disposition: inline 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 7C2C7126001; Mon, 30 Nov 2026 22:52:44 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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] 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 II4U_ICxdVbt; Mon, 30 Nov 2026 22:52:39 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374425-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E964C126000; Mon, 30 Nov 2026 22:52:30 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 31AB62F371; Mon, 30 Nov 2026 19:52:29 +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=1796068348; b=JN4InKgyw39R2At1wEu2ZtKmJG0HCQZzuLqDH/Qd0eBzVrq08IenqiL+v3gkTbiaYDmR W9bERE9hZBCKtwCdDjZCMi5QtKShxTZnC2sCDWHiYg1T2vTH7SevpTLTYVbgpMJ1EJcoh lm45oUuUcboITRksB7ANdpJqO79u8cUbrhOKTMUNsNWRTqGh5Cne5BUdeEE7VChe2WviT u48oRB6fc74NN+0AN4BC0S/iofwcmLIQprKfGrxhsYt6cp6Ug+fChPaXjyUAgcYwMwozl +mDEt+CMedLkT7wrG2HFlwMeShaN0ARxN4KfHH6v9Pu2w5Dr1MN/JTqZpAPYGnYeW2g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796068348; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=w+AQbpaIFmi1TWDe+xslsSnLVX1f96kV+02J6yjfVXs=; b=4LTYruPOjtTqVA6yWF8u3aHjnQiceJntZ1x6lvYxw+OmHVyYTNWOxp+9k/qjXBb6/bsf 6CSJiY+vdGuiZnSjxLqaVfbaNstMYCG8z7/38XG8GUS/9DaaLEq9jXDIxQcOAx2MTN/AW 97MaXF0gVU0JT4SU2YabuLKRPonJ9XgzYYk8xPwfexPcEs9ef/kPE4Cf33Suo+sRNEuZi FNCi8hYLydStWfDTkAtv0ZveDDZPqD2xp7SRCx9zIyaD6F1oVqQGoYvgXpP/zxYiffJdj tc1V8dyA7XUBQvm88NZrN9+Z/8+tnbVF3zUmO0FlduSJXmz8yv8odu7z9iOjOiAKycQ== 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=IoNhzhBS; 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 C49B7606A330; Mon, 30 Nov 2026 19:52:28 +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=IoNhzhBS 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=1796068348; b=h9kAPplp8rQnQv06gUjPi3QPny9QoI5HTyhBacyRqvOEBuOi24xp9AY6pQWvrGOnXYPC /9zfkef0FhHwwoJb0aVcnh80EwJF9UJo5I9tMadE+BXYIEwbNSAIaI3EI+xgOAYD5F97U aGg4c6T4qUcpAo0QL65nDzQrG1fMKjq8wbG5s3cKbGXtAwftcQtJv0w+2lAei5ycQqDbY PMOs8wRThkIZg+zjEOqm62BRrNdcQ04eUg7WhV0OH84KOTYdymE1VDstJm5qrctgx+ZdG amYMkGW37n9COrWvdyJZKDp+KLVinCstAqaHySTO7EKM22R1OGbANDs5EopV9ivYHZg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796068348; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=w+AQbpaIFmi1TWDe+xslsSnLVX1f96kV+02J6yjfVXs=; b=It5230DQApeLDGjKkYqH/e2RRDE1aJYSYC6UxuYREj5LQDsJ6JWAAv6uDTQ3/tsBII8d LqYbZ4JX3BmCz7X11sGrNg6dOtaCyNq68NP8oLA1CbTMJlTzxPKOJSFKRsBeOnIU8V8sF ZeoTwFWjQkkKcpdpc10z3oVL2mgzTGRtEg/juL8v7W+ib8Fo31zDUHoFvhFZ6nMGyVe9m /yTv+hYUmgmSKbM1/sZmu3FM5+Pr7Br6cy3eM0kJ/oO3qffDlIpcRPNFoeUJWgpZBQKn3 w8CYAmN9qhVNL/dOilVTd4a7oKhSMw1USldmn8Bh1IY+4W3hxVa+7yHVxvZs8Tc5DUw== 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=IoNhzhBS; 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 E3763606A320; Mon, 30 Nov 2026 19:52:27 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBE081F000C1; Mon, 30 Nov 2026 19:52:24 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796068347; bh=w+AQbpaIFmi1TWDe+xslsSnLVX1f96kV+02J6yjfVXs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=IoNhzhBS16Tf22bDvlSpwVp0yH8vBRTatG6oDuTUj5IsbMV6oCcxnc9FefHZTfoKU pYBYx80w2fB5sDIccnuW8cGZXiztNY+PZe8b2XYfwVABTgafBJWYlRPk9ik/Vv6zTu IQp9kWSwNygOUDu7h1hqCF2/MH40ysIFxQcHRkS3ANog/9uaBDLXrGAzx7ZrCPddWI r/auFOnwJZiyjhIOjueAZOUjnKUcachuzp/0Tx1u6Wlb1e3Uw6G1NHLISIOmtMB66O +bOA7llncTrpWXaYcbgwK5r1DoB3Xz3fEm3c5/st34PoIiaKbFnRG2pBL7b8IAeLEO Ua5qaOLBN31Rw== X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, Akiva Goldberger <agoldberger@nvidia.com>, Gal Pressman <gal@nvidia.com>, Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>, linux-rdma@vger.kernel.org, Mark Bloch <mbloch@nvidia.com>, Moshe Shemesh <moshe@nvidia.com>, Or Har-Toov <ohartoov@nvidia.com>, Saeed Mahameed <saeedm@nvidia.com>, Shay Drory <shayd@nvidia.com> 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 X-In-Reply-To: <20261120075959.2533702-3-tariqt@nvidia.com>