From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A9AECA0C4B;
	Wed,  7 Jul 2021 19:39:30 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 67145413DB;
	Wed,  7 Jul 2021 19:39:30 +0200 (CEST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id B01F7413B6;
 Wed,  7 Jul 2021 19:39:29 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 405045C0196;
 Wed,  7 Jul 2021 13:39:29 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Wed, 07 Jul 2021 13:39:29 -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=
 +gnkUMLjIHO3YHrV7IT1CTJKNITeegv69M0Qxz+u7gs=; b=ESFYsl6laF8a922M
 5pPdAv3vdDjX0vNuksZqJqQ8PqaPtJ9hEmuoah+OJSvZz/YCSScJ6Yaxf3D1v5rf
 PALvimK8rmQ/7nX3NcgMV5qVDtjJ9KiIo2/35kZRTMBcwX3vSarD5h/xntyAjhgW
 QbdPdZe9Mi7aI14tAzDglPHDk344Z/ATEEFgtOgdsjQ/RC6jPtEW5txKM7JgDQYE
 qZPY5MH9b1Nv7PdleDB3GYtUcgtta9/246eUHKb5E53gj6yL27CE47l+LfsI7PvF
 ZtIWxpt7IPDl0bPHoStg6tluP29CHHanfiFymidVZBVETUsbB/HEEcHqV1Aj7taj
 PFp7TA==
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=+gnkUMLjIHO3YHrV7IT1CTJKNITeegv69M0Qxz+u7
 gs=; b=pxbdJYXCK2a3Rd9GEepmQcAmykc77G3l7I4TmMXYSBYd+ZBS0elD51ejz
 GTc4Z+En+jTMFRYm1jD7vzxEeLQPJ89ewHjCEqaZIk9tL8+zPjy5Cq2sckDNlkF0
 KEPcz0hw+VBS1Ibvzrt+6kn0XzGnmLhrhJ2/WaaDHAphY4AbMi2KVVX7PfBlk+Bn
 fhtFzt21wUpG8mkbj+tNCSKhXtuTOqfY5PkUOkiGfbM42Q7X1H9drisxuVhpY6XI
 hTfrUhX6dzd+Rfe32qmRSSP8dar/jKaorhozvjpddcFRwAB8QZROrkKc0WGLyGPG
 o9145YIWLaCV86KK0dtVmddZXWudA==
X-ME-Sender: <xms:0OblYHcyvj6rdzbB3oCK1ivNuYDfi56pvgT5LDP2MActLCuoSKE4Cg>
 <xme:0OblYNOC_JfpCIXOju5bYqIWGmlwIIfZvP1PYZnbJ6RSyDILRoiSO7gPEvgqu-b-6
 ErbnErQV3xY677NtQ>
X-ME-Received: <xmr:0OblYAie8R8vrYzJZaQyRoTrIrp5MqpkGzKD_LKHoFHylHX2A74NBG43pcQsUFpjMrx8-nid8Livy6dEIzSAl0Duaw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtddvgdduuddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:0OblYI_lHpKR1c1i_Tp5-hKGOtHcoRpJpFMXL71Gkj3-FWj0caxhcA>
 <xmx:0OblYDv8fdflnGcHIuR54IPvO9IqZ9bcvfr8E7YuhdCH1flvpjDCtw>
 <xmx:0OblYHEDjCLCkwDEzUt3aOw7eN5gtLzMYeQYrsYEkZMBtxWRI_J1tQ>
 <xmx:0eblYNIuaJcYRXiqgiXIeKeDtR-CWQpUUWKMSrK9txTDdCxlBsO5bQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 7 Jul 2021 13:39:27 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Cc: dev@dpdk.org, rasland@nvidia.com, matan@nvidia.com,
 david.marchand@redhat.com, stable@dpdk.org
Date: Wed, 07 Jul 2021 19:39:25 +0200
Message-ID: <1753804.yxaCvmeDAy@thomas>
In-Reply-To: <20210707155428.13178-2-viacheslavo@nvidia.com>
References: <CAJFAV8yYp1W0WAWawHVnpwP3trvgfCcbazoKZzLD3L+g4yLhcg@mail.gmail.com>
 <20210707155428.13178-1-viacheslavo@nvidia.com>
 <20210707155428.13178-2-viacheslavo@nvidia.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v4 2/2] common/mlx5: fix compilation flag on
 port query API
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

The title could be:
common/mlx5: fix compatibility with OFED port query API

07/07/2021 17:54, Viacheslav Ovsiienko:
> The compilation flag HAVE_MLX5DV_DR_DEVX_PORT depends on presence
> of mlx5dv_query_devx_port routine in rdma-core library.
> 
> The mlx5dv_query_devx_port routine exists only in OFED versions
> of rdma-core library and is being planned to be removed and replaced
> with Upstream compatible mlx5dv_query_port.
> 
> As mlx5dv_query_devx_port is being removed all the dependencies on
> the HAVE_MLX5DV_DR_DEVX_PORT compilation flag are reconsidered.

May be interesting to record that the new compilation flag
HAVE_MLX5DV_DR_CREATE_DEST_IB_PORT is for OFED only,
and is required for compatibility with a future OFED version.

> Fixes: 6cfe84fbe7b1 ("net/mlx5: fix port action for LAG")
> Cc: stable@dpdk.org