From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 96F03A0A0C; Tue, 3 Aug 2021 14:34:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AB86411A7; Tue, 3 Aug 2021 14:34:45 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id E4A0640E3C for ; Tue, 3 Aug 2021 14:34:43 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8D0A95C014F; Tue, 3 Aug 2021 08:34:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 03 Aug 2021 08:34:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= Y1Sv/aFCdskHZL5U7g2gwJNi/z7W/GdL8qKC4JwZoWw=; b=uwYrlh6Nt5bJGJ/E H3jfZE2fx9O5ZpnCfww5f9H5/vo07iLc2juzOW7/DY9QxmR63jypcdqf74EuN4M4 T0FdVgsCPihgNcMng8GspC/DxlBW6Y7VbGG2GeABlsO7RMB+ZaIY/9V6hEztBnrL U8N0NFUomw/Uw9vCFYq2AXuQyn0/bp7aAMe/pwx2MI2dmnwGC4HWaO5dyPXPkkZP 6tlvxiXBiMXVu5AGO0rUKOiMwT/RPBi8hUOQs5q1zwonzWIFxMi7eRARtcP3bfoc M0biEcxWdy3+UZq3oJbJUAcc0Q3csI29FU4ysGru0wv+pi7RmbLgsi/DXPyd9ru4 Vzajqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Y1Sv/aFCdskHZL5U7g2gwJNi/z7W/GdL8qKC4JwZo Ww=; b=s/H86viIg9M4nzDHBf4YJetgHJvOl39dYRov3ZIrfEG38xXnkbCGSA985 mSDSaEqPNhnga5qKu4y5f05nIWbQAE2RBffrfWuzVPPi2CkBUyKkcC+L6MUjasDB /lv4VuF2VC4jpWDM3Jy+ilNCyGvukbjxixywwky3QIuTRQRf8GszwHngnPR6IK0k 8qQ4dhacypcfk+f/ZCUmBtZe/f5A1wLgdQ2ATD1EJyr5gHMAJi+LiHNSFaWnSmkB cwsz2psBm0RP8fb1/yJqLZqasHOwcjO+RuTmqTy6ArOx6qc6a8cmq6E01RrQlcoj 747sPEb2Jsp/nGMF0hKUa1y722VwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieeggdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Aug 2021 08:34:42 -0400 (EDT) From: Thomas Monjalon To: Gregory Etelson Cc: dev@dpdk.org, matan@nvidia.com, rasland@nvidia.com, Viacheslav Ovsiienko , Xueming Li Date: Tue, 03 Aug 2021 14:34:41 +0200 Message-ID: <1678891.g4SDaZsxXZ@thomas> In-Reply-To: <20210802145524.3248-1-getelson@nvidia.com> References: <20210802145524.3248-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix port domain_id initialization X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Title proposal: net/mlx5: fix port initialization of switch domain 02/08/2021 16:55, Gregory Etelson: > All active ports that belong to the same E-switch share domain_id > value. > Port initialization procedure searches through a database for existing > port with matching properties. New domain_id allocated if match was > not located. Otherwise, new port inherits existing domain_id. > > Port initialization did not pass enough info to search procedure to > find existing matches. Therefore, each port was created with a private > domain_id value. As the result, port_id flow action failed because it > could not match ports in a rule to E-switch. > > The patch adds dpdk_dev with port properties to device search. > > Fixes: 56bb3c84e982 ("net/mlx5: reduce PCI dependency") > > Signed-off-by: Gregory Etelson > Acked-by: Viacheslav Ovsiienko Applied, thanks.