From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28AB9C07E95 for ; Wed, 7 Jul 2021 17:39:32 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 5384361CC2 for ; Wed, 7 Jul 2021 17:39:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5384361CC2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtddvgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Jul 2021 13:39:27 -0400 (EDT) From: Thomas Monjalon To: Viacheslav Ovsiienko 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: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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