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 AC958A0547; Thu, 22 Jul 2021 16:45:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 933CC4014D; Thu, 22 Jul 2021 16:45:21 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 4979040040; Thu, 22 Jul 2021 16:45:20 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EBD825C0066; Thu, 22 Jul 2021 10:45:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 22 Jul 2021 10:45:19 -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= b8BFjzIbnc9MfaOdaXP7gGJjRfCzynqXs3cJR7Ogwjg=; b=j9GCLEMc2IpUeSlh RxulAViuudDiwShFiUT/2agMA5au8roASXn7omylVkiJWI2tIVLXpBYgmXO0E42+ 5IiWmdx3TnMK2dzslFjsmlsGFnRDWBmgZLhk6PxMg7GR/l0Pwzb+SZDb32NFSf1v JOJBeLqmdYrUxjh/2S15dLBBX2WZARgfQ2q6+Fm9XszHw+IqeT1UDtl64EOrWodk cxJijxZYTOEtyhsWUiGZQ6Ku4BNPMZM0ZtIT+wx8gHHol7Dn4erQtXonWvEOo1qi KTy9/A1pc583E5DfOtqbQtleH5s0CR+DiY8CkEnwm0+yZvUzY3U1elnd+YyWi7/q n+bC5A== 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=b8BFjzIbnc9MfaOdaXP7gGJjRfCzynqXs3cJR7Ogw jg=; b=d7v/xpKoGQCUwsMp5+hu5Li7yWyGef/4jzD1j9VghwgrqoPH1uPPt1AVU zmvl3WHOTLga7Yus5C78JglHqmMKXCPNx+uGZRr9mX7K2u1qmS05AcXhtpW6cdKV eRNr8bLAtmIaQu2XZO2YPvd3ZvaVacqgYBbzvJ3vH1wPNrJPQAewdbHV4g8uknkZ eLPt3UZTVEiXh9TttJ22k2539CWrZfN5dNOT8H90h0dSIctSMy+vQfnOfVYhfYkG w2FKRLkqE2QuF5aDUXT8y8CUQxZ4Gwl52G7xYM/g5pXKBuMdGpVt2hNTf9QJeoBv 7CKc4oyM1evQz28WHi0pdWAX2KjAA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeigdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 10:45:19 -0400 (EDT) From: Thomas Monjalon To: Viacheslav Ovsiienko Cc: dev@dpdk.org, stable@dpdk.org, rasland@nvidia.com, matan@nvidia.com Date: Thu, 22 Jul 2021 16:45:36 +0200 Message-ID: <73954955.ZbVXDTKmUn@thomas> In-Reply-To: <20210721083140.7719-1-viacheslavo@nvidia.com> References: <20210721083140.7719-1-viacheslavo@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix ROCE LAG bond device probing 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" 21/07/2021 10:31, Viacheslav Ovsiienko: > The ROCE LAG bond device requires neither E-Switch nor SR-IOV > configurations. It means the ROCE LAG bond device might be > presented as a single port Infiniband device. > > The mlx5 PMD wrongly recognized standalone ROCE LAG bond device > as E-Switch configuration, this triggered the calls of E-Switch > ports related API and the latter failed (over the new OFED kernel > driver, starting since 5.4.1), causing the overall device probe > failure. > > If there is a single port Infiniband bond device found the > E-Switch related flags must be cleared indicating standalone > configuration. > > Also, it is not true anymore the bond device can exist > over E-Switch configurations only (as it was claimed for VF LAG > bond devices). The related checks are not relevant anymore > and removed. > > Fixes: 790164ce1d2d ("net/mlx5: check kernel support for VF LAG bonding") > Cc: stable@dpdk.org > > Signed-off-by: Viacheslav Ovsiienko > Acked-by: Matan Azrad Applied, thanks