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 33E22A0C46; Wed, 9 Jun 2021 15:08:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACE274069B; Wed, 9 Jun 2021 15:08:14 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2078.outbound.protection.outlook.com [40.107.236.78]) by mails.dpdk.org (Postfix) with ESMTP id 28C924003C; Wed, 9 Jun 2021 15:08:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GMq7sK6pG45IsCdYk9wSxJreLNLyPFkTD7DnTL60qrech67yvUQFullrUZuUpufmLMC4XgPnfKnft3H/fzFmwu28OriReTx2AG/ku//ifG+p1c2B8i7kVvs+PwqCv16Fae6+IyfmBteWO1kT+g0JbIYbvi24PPtrctK0KEjJ+ssEQTUtOy7+NkMixT+rR5VgAZoFrhYRnxOv6w58XcAzPLTYpY2M8RG9Nf6kLl//L0+ABKMdVscAxH2elAIBG2+JMvIyuHkavRHHhFItt2fdaTIEnAo9IYUdhGLc+DHdjeuEtOnfFejVf7BKYYTxz7XmaKDcvawahMz+cl6KmiI3mw== 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=tO5BphvL788BxG6SyJ5h/ugrBfP5ci3iYUdc8ocA7uw=; b=hjOdwX+tdKvKkv5Dq8ohPyy2yq8DqNnF+SVd+mJMpOriXqQjcDcdWLSQr1b0GAzfTkctEGdiNWPM/I1UrkbtxKJJS6PJW8o/cRPGs2qIFc7Vso8gpLMN4bZihIJiBavUTRpgakXk0i/F2MVJPlTaZAgwl9xJi9dEXml2VD3VQBozEM/tUlOev2zILku2iHj3yFi+J7mnPomznMYMRgbNnYOGViosnMs7H6li28zG2m/KsS2zQoMeQIxHVq1N+XGAQc+NqnXHNhAuuUJePUmXzTbDCHnKpr86du2EqUlnRgMzwqGQHwPJFblcsijnCKFFhY2MHECYuP1OHn0HgpOP/w== 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=tO5BphvL788BxG6SyJ5h/ugrBfP5ci3iYUdc8ocA7uw=; b=OsLfyzdCZJiMzRz893coYT9ZGTmS5CG/SbYbRKWi5ELeh7ZVqUj12Cd4MoJdH7TTMQPZsNxUr0r2s3T355k01MiTNsOS3tYPBbNPxQeUK7aJ7x1rwm4WcU981wro/tj8OUU8AntgEvFNbvEmKxd3v8GvpZP49cTWpnDOGDBgaGs3MXOIJiibsrrcdhgiE8PyMQXGiuXcQFv/eur5eNUnRvv7p7Nu21An3lFVG4KQ5o4Ync7lB3p2N/0cPORoOMhex3GyJMRdyvXq+7zFbdXtxwk1E/JFsRorkLgqcgc/72CiMPO3IHZgVGds9s7RJJfxas3gENvaRQmmmtpVF2kRlw== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5152.namprd12.prod.outlook.com (2603:10b6:5:393::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21; Wed, 9 Jun 2021 13:08:12 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%7]) with mapi id 15.20.4219.022; Wed, 9 Jun 2021 13:08:12 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [PATCH] common/mlx5: add provider query port support to glue library Thread-Index: AQHXW4DQgcOjOTeXaUWZLuvxR3EgEqsLqedg Date: Wed, 9 Jun 2021 13:08:12 +0000 Message-ID: References: <20210607093726.14546-1-viacheslavo@nvidia.com> In-Reply-To: <20210607093726.14546-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.229.60] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d64b1bca-a0a2-48ce-7854-08d92b47a2b5 x-ms-traffictypediagnostic: DM4PR12MB5152: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j2JNBuL1aj4DcJs1h9+3lKol/c+9FCRfSvDUtv7GR3uw3iISGe/wqkSNaU3yXQ2L0ga0PKLpP6EeptbKgosODyXCx5ZCAY6elm7jyxtqPYuWTmjGSNGMuGK0SX91ATCMg/kSEKFuXI+mXRuQwiWIzuVqE/jxjH0wul5OnuSOyvlkhrYsmZ2l889TDYcIRoDfZuvmj4mN88cW5mq2ZZ3jDrbgVq8X2mnn7mwklZsX8O/5vEYOtaKWr7o1GT4JsVTcHDZhlZ+Mca08Mg46J7/D/Fp87Fg1KwsAq5SWJdof5AwGR71mhBr9I4dl4WNqWQD/JsqkE670bEt4RSHcXs7gfo/2Cx7QdP6PBuUcvUqXbcnAwVfZyBA5RHXf/MBhGiBOS5nWFPsngrnO6N2qWrMz2mMjno5NrYiMAjUig6ANC+cjcRi3m/9RQDayCztJAVC0JSjvhqcJrchgKIo2O7Uyv8tCDr+QEhR5X+UC/HZwvq0/++ls5/u8Qr/ijvMNvX5YWHP9qm4//Mf5QhhSeSWboL9JF9z2QqGdyhK9NOFZYIfQ4/m3TgIgw8O2pDXQY3v3q/cFKHK448WZ1eHZeByHgzHrl9mPplUT6L0CNKCabYk= 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)(376002)(396003)(366004)(346002)(136003)(39860400002)(83380400001)(7696005)(33656002)(2906002)(66946007)(186003)(66556008)(64756008)(6506007)(4744005)(66476007)(66446008)(26005)(76116006)(8676002)(450100002)(86362001)(4326008)(54906003)(122000001)(110136005)(55016002)(53546011)(52536014)(9686003)(5660300002)(478600001)(38100700002)(71200400001)(8936002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?om6OapDjVQIOI8M9thoHpQqvmW1o6YHAcwaWfz3gaNw2D5YlUVw3dwIN4hX+?= =?us-ascii?Q?NwtQvt1CtEDmaD9m84LSg8a2R1X2AJ+jNWWqCsuVxP92cmAq+UwRLeoYnKbM?= =?us-ascii?Q?fkEjYYxSrsxp2PvgrnHDVoRk0aYgBUTzYn+AT3uS+9JpLxcDN/2dJ0hpSwx+?= =?us-ascii?Q?RR4MHFnUimHgKPEfBEl3UL1Ur+Ju+fsrRzPzF3H/yeWBw8/WLSWnH/DFNGH1?= =?us-ascii?Q?1iCeX1+7hgqF2N1wy80cF0K0CRRBuSZ8PVNR5DU7L8m+ABTEliPTHyBtV/6B?= =?us-ascii?Q?0Gf1uf5U0h0dcggwym0PgxTEqGphYPwhaL9YvWQkGb6omMcio3KrcxlPDtAg?= =?us-ascii?Q?0R4ua/yW+FCv5f+fJ2OJJ+1f9lGnb2TljYL2v3o6T55vsuBw0LEE8Xcfz3fr?= =?us-ascii?Q?6feCrzQNCi17voIkF5Em/i1rcNrMTP1a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IJFTECYUIw2zYyHa?= 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: d64b1bca-a0a2-48ce-7854-08d92b47a2b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2021 13:08:12.0855 (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: kFNqkR1wbmS1qj8R7kyGOR/QOXFieejmgSHwcA/dVrzKehRJ8WZNBU1Q8tI+Ilz7bdi6XcEVrF0raXfr5s3HRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5152 Subject: Re: [dpdk-dev] [PATCH] common/mlx5: add provider query port support to glue library 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" Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Monday, June 7, 2021 12:37 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; stable@dpdk.org > Subject: [PATCH] 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 patch adds the conditional support > of this API to the glue library. The transitional OFED rdma-core > versions provide both APIs for compatibility, the new API has > a priority for the case. >=20 > The compile time configuration key HAVE_MLX5DV_DR_DEVX_PORT > was used to choose the destination E-Switch port action > creation routine. This dependency should be removed and > new dedicated key HAVE_MLX5DV_DR_CREATE_DEST_IB_PORT is > introduced. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh