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 0E6F0A0C40 for ; Sun, 20 Jun 2021 10:25:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF8E541120; Sun, 20 Jun 2021 10:25:31 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) by mails.dpdk.org (Postfix) with ESMTP id 03AAF4003F; Sun, 20 Jun 2021 10:25:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0r7QH8BMWwRovpvaBqQCzPtmVHODYTBF/QJ9KN4MuJUOhvjSnrfLGFU8NPBAIJ3+vp7SqKO2ts7XKBOI/LX/ptyHo+zMX99w4jbcnC4UC0YqFhnmNfVmCX6iGh4pP7bsqEpcQ6VgArYm+MCoqXk8bfFosM5fzdkE1uwrkbq6seN53QPw+Q7oA93pnjhmWG6wt2e0TBJezTbj/3gdaM+AF3yItJ6ZOzh8Ggcvo038JmhdvaXbHQ67mVJXa0d1N+EKrCot72AvV3El+rki5w0uQT7nqNuCFJ81AtICK4SJSDS6Msqe5ZZNxZGMudL+Yb2lE4MtvTDfsIZcHXkhqkIGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dOYDx6GWlePRKN3AOLj2dIYIeXAfJpGahWjtyyq+3lI=; b=ZJY4MQgqLCM7xWDBGfw1Fdau9cctedIDxHAOcfE+esDfW15smbNb6bdWCnR36q4x858MbBJOKc7qFI59999lXU9BwQ1413qtaqORrn8Rg+ryjXE7AhiwcVTKaU9nYuWuosji7Pn9o5gVVXXD8psGFKeiYNIuv/Iv3aVVPhCFZkLdhnT4IB40dQ+W4+UivzZgI5ZoxBsNBd0EA4SVLwl8kE1xo5HMPBVOdeOwji4BeQU/jvwRUxcovBWs96mv8zgViEiXJqflSr/dgNwuHOV5gRhwpxTzb8qHuvvvJeaFy1wgG3XjtLXVD+Qax4ZPgcvcUqs6Y7LB5eMKlUQPtV2qHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dOYDx6GWlePRKN3AOLj2dIYIeXAfJpGahWjtyyq+3lI=; b=YfhgtOi2H5VsbRxIXY7PSgwuIV0StTfqieqlQeXPyTEoCzdrLPEjxWgeeKYn4iRW5vkEuxdeIMwGGKs1ZjoamEx1ORDBYJW5AIr2pInqgG912DorHKUee36kssPRxKLc2Oo+yIrOvSOwEtOY70j/8nNR6UmLgoGzUP1NGHxGLuvS1FJbHV33uW0vO6wgK9zil0PmmKSEgwKyJH+A5cglsyNSR6cIrFA2Mib03pZQTDeG1pPO6no7ALu+D7ZydtLsxOa95TVdrQmCY2Vq4lhD5cf+WWLh2c4FCt6FjCOMoIGGb27dqeOhvVpPtVPNyz95t8T5doawQ5jvLvfWg7p/OQ== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (13.101.57.56) by DM4PR12MB5120.namprd12.prod.outlook.com (13.101.57.237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Sun, 20 Jun 2021 08:25:27 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%9]) with mapi id 15.20.4242.023; Sun, 20 Jun 2021 08:25:27 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , NBU-Contact-Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH v2] common/mlx5: add provider query port support to glue library Thread-Index: AQHXZQlyFYeOLLh6X060maNdJvhEF6sckV3g Date: Sun, 20 Jun 2021 08:25:27 +0000 Message-ID: References: <20210619124830.25297-1-viacheslavo@nvidia.com> In-Reply-To: <20210619124830.25297-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.230.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1364f938-6276-46da-fd8c-08d933c4f588 x-ms-traffictypediagnostic: DM4PR12MB5120: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zg/8ExAEJFRg3TkQ5wOihXZtdTNsO1AZXaxWfPj5WxmopyDqmS1PzsnAP/oMDPu8dxiCqIE1WFhiKjQLSDDcb1QM1mmCOmSiFDQhKuMYFl+Xr6HeOPoffaCn9eQjR7RP+RQPCMIvCioh2Lw11jukz/4yZGhFWlU0+TeB4r+T9/QZ4Mdj1ur5cBPf1dIekPZimHmswzMIYeAJ2dLjNCxlcIZ+Y0ukx6Ew0L0TK1HNQaDuNV6W1heTP0tfcQMU3FDn7Accox8AcZQqSr07/Ovgh6Mw1LHSuEpbRKCVTdwNBIxl/Hb0r2xQHAKLtAdRczA4ZVhUSo6cTNVZejDp3PagkMDxZtKpsCJaXyY11T0EVyhgACnpS1iu6v7sCLJ0FZnIntk0eNuKxMIxQtfnCAoFOAP6hvDFwbwmOQbLsLOL16JGaOlYjDe2tQJ+ax2rqT43yABcfsN25n0l/StIFaYdnvHnSaBf1XdWmIRewVI+g8KnmFzVY5P0I80qIlPiolh39U1faU+FdPqPLEn+bcZSMulhqJ5lqtcXyfflLZshrIWnBeaIO3g3dj+fGWvjxW85gpusO7Y5W/AuKuMwh0xYBw38DT126uuUttLpNVVLEvs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39860400002)(396003)(376002)(346002)(71200400001)(52536014)(76116006)(110136005)(54906003)(8676002)(66946007)(66476007)(83380400001)(316002)(4326008)(33656002)(478600001)(26005)(86362001)(5660300002)(2906002)(6506007)(38100700002)(122000001)(186003)(53546011)(55016002)(8936002)(9686003)(66446008)(66556008)(64756008)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eROhfAa3zBKX3LD4p49REZsrAj4iJlI3asYasAxTvFW43o7sgoietj2Ku0Iw?= =?us-ascii?Q?VuHa6rmKrGLzmnBVSS0tIYEpdZIbGcAz13w/Lv/CizSyLzfBwDeZF4Rl1sMJ?= =?us-ascii?Q?ZD9TpsB/OBkd/iKC6kT6MiPfE/tt44mJHSNpLfRfBkSL4lO1R5pCZ1zUtK0P?= =?us-ascii?Q?EbPGwxhARvQ2BgfMkjoDAl6vY7T9lGSwP7/PBHwVVQnBCCnjPHkUH+Rwxdcc?= =?us-ascii?Q?IvRUdq1oFX5rUR13K0dTQRgzux20KuJrxGqfnfrOY3Y2Vhp6dHqejvQtXUSz?= =?us-ascii?Q?2d/zpkQNvh32WQptX9UM430tqXgKVGYbN122X/Kc653H2W/EJVNfTkeLRmlM?= =?us-ascii?Q?YtNHLCI/5TNaqqGg/JuubCEOsOAUX1gXTbCkkcahHiXGb9g0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iVvLoQzt4RH3g8s2jRysohn3oufzQaJNtPSrHNb9Rd8ZpKbIXhpXcj?= =?us-ascii?Q?RBCWUAdPJgn2QMbEG+LAHJR5?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1364f938-6276-46da-fd8c-08d933c4f588 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2021 08:25:27.4801 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o/+EkZzGLnx5MByYetg2KSbs945E7c7kQOqsW7rqE+u6osVUxICPTTYX8uxgIv6uXcGkLvXGUL91GTo7CYVfiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5120 Subject: Re: [dpdk-stable] [PATCH v2] common/mlx5: add provider query port support to glue library X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Saturday, June 19, 2021 3:49 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; NBU-Contact-Thomas Monjalon > ; stable@dpdk.org > Subject: [PATCH v2] common/mlx5: add provider query port support to glue > library >=20 > The rdma-core mlx5 provider introduced the port attributes query > API since version v35.0 - the mlx5dv_query_port routine. In order > to support this change in the rdma-core the conditional compilation > flag HAVE_MLX5DV_DR_DEVX_PORT_V35 is introduced by the this patch. >=20 > In the OFED rdma-core version the new compatible mlx5dv_query_port > routine was introduced as well, replacing the existing proprietary > mlx5dv_query_devx_port routine. The proprietary routine was > controlled in PMD code with HAVE_MLX5DV_DR_DEVX_PORT conditional > flag. >=20 > Currently, the OFED rdma-core library contains both versions of > port query API. And this version is a transitional one, there are > the plans to remove the proprietary mlx5dv_query_devx_port routine > and the HAVE_MLX5DV_DR_DEVX_PORT flag in PMD will not work anymore. >=20 > We had one more dependency on this flag in the code (for the > mlx5dv_dr_action_create_dest_ib_port routine) and the patch > fixes mentioned dependency also, by introducing the new > dedicated conditional flag - HAVE_MLX5DV_DR_CREATE_DEST_IB_PORT. >=20 > This patch is highly desirable to be provided in DPDK LTS releases > due to it covers the major compatibility issue. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > Acked-by: Matan Azrad Removed v1,=20 V2 applied to next-net-mlx, Kindest regards, Raslan Darawsheh