From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 00ED1A0562; Tue, 31 Mar 2020 08:29:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52AB32C15; Tue, 31 Mar 2020 08:29:06 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30050.outbound.protection.outlook.com [40.107.3.50]) by dpdk.org (Postfix) with ESMTP id CFACE2BCE for ; Tue, 31 Mar 2020 08:29:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fgmGAq6P2dm4j1JklmGe1tPKv9HxpmqZAjTJwnmQ+ygvG9IowGCKu9WTe5PSAJi5gHoRfKQ09sNXLMrh6UYWAMsRh2mEELnqGmYTokcQ7HG49FL8p125DBA4JeqmKSmlXUX5QNX0OsPECz/V7xQErxzokykCY7CPTbKRVOYvOwXrLWTTBdUsdW0RjtfRD1syg8Zp7yMX1EuhWpuJ7woa0uKuBreLYzsmhrpMZpv2peTR8t1pbU++UTo2nuZjpu53hyFBIfIKciT1tGfjgXrsWx0oNK1RlE4NOAKZeK5t37OgRvAdY7S1ba+RfaYmcSqGOiiWre5CVuhAv2DEqawJdA== 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=gmk+s094a5TPorAhRNFvKLSNBSpqh3+LLZeHxHKqaN4=; b=lnmCrsuaj/wgcu+azINVMpBTvkWKlUfYBgXbk2wX8GG8XCS4YfxK08JPCPlLwF9i0Owf34yDj/BEXPCFmPOCtDfa6F9BOgJ91D+ZPcRT/G6C37U7e5n6vwyatrznjfiPvFXCoIceRF0+fvXqELalhaWqotVSpB4hd/7j8cq/OY2sKdCfRu6VHFJ24RVbsEheX7dlvwNhh46WIIzsm91+rEgfUTpmx2xbcVc4DQNqPjRGwcK04sToWI9TxF8xWnOWP0Gt9VwbYd8WrTvVhDhnAAPorDv1vyvrc6pOeuycPpAXEHS93BtpuYvJrPKCvR4BpqR1egvA/5thoG/3NgOeSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gmk+s094a5TPorAhRNFvKLSNBSpqh3+LLZeHxHKqaN4=; b=nzjEe3mkeXHAmew86WZMeJABDbPf27Hhuvxxq2cEBSe1y0VDB7/XZAGDDArRmTzTon2guWxQUvxYM5WEm2x/q5umgbHYMIras/ePXaGAzZ3W4s+/Y9XTm9M6XBjiydw5rId1UMNlO0j1Og8FU88f1/h8udAy0JoOnJ/4fCKBGnA= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4018.eurprd05.prod.outlook.com (52.133.37.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Tue, 31 Mar 2020 06:29:03 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2856.018; Tue, 31 Mar 2020 06:29:03 +0000 From: Matan Azrad To: Ophir Munk , "dev@dpdk.org" CC: Thomas Monjalon , Olga Shern , Raslan Darawsheh , Ophir Munk , Asaf Penso Thread-Topic: [PATCH v1] common/mlx5: remove devx depndency on ibv and dv Thread-Index: AQHWBhnxy1ExYNiplkyIkRtD3PSVmahiPv9A Date: Tue, 31 Mar 2020 06:29:03 +0000 Message-ID: References: <20200329223222.7553-1-ophirmu@mellanox.com> In-Reply-To: <20200329223222.7553-1-ophirmu@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [77.125.94.232] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 967ab7ff-a037-465d-6275-08d7d53cce50 x-ms-traffictypediagnostic: AM0PR0502MB4018:|AM0PR0502MB4018: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:459; x-forefront-prvs: 0359162B6D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(366004)(136003)(39860400002)(346002)(396003)(376002)(76116006)(81156014)(316002)(8676002)(81166006)(110136005)(9686003)(66446008)(55016002)(64756008)(54906003)(478600001)(107886003)(66556008)(66476007)(6506007)(52536014)(7696005)(71200400001)(5660300002)(186003)(4326008)(86362001)(33656002)(4744005)(26005)(66946007)(2906002)(8936002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9GyWNm7pgq/3FfwBlN2S9r1S8swRIPejeYDBLMk0MX3iWUBhwijsk98A6tND/KSp/0BHa6xvisyUO7nrI+6AqX4NXAHqproShSaOd5rIw6X0HRWFta6zjp08PfgwlP+ZrqFaTsUY/8zCfTi4pVMJeG3qPNtPOfWhy03QUHDWpWkIqxuvcGguU8S0O136ABTeTzfyiVk2SnU7uNB7SaxpEzppDlxuGw5LuoTSfKM+JLWx2KAkaRhgQDyUXEhmqQWlvBoeOFivILQb1th+ia8Z323ZcRLpRrz1/aVHmY3Iqa5jm3J7/iBCCz/+UGbAjaRxY1kuz1ipyltFNvTjuLtYwdQzvpg6/VVa2f0gSGbeHAaqbG/tVMMOqH3sufWvrDEn7iJIq0rvjBPFm4ilYuImPEd+398A8349ImxT+jYeC2miZQzTR8egzFV218mIDN1Q x-ms-exchange-antispam-messagedata: K6lUhyCqP8974w2JWaG+0zT1h4Ta3mdmAFyQLx+8jksrhjeVZKirnipXpwVNcBmqgsHZl3TjPs2zihn2g9FFQKTXOTELnyD/K77kUQDNVM+d3W7YatS7pMvL1JfuzOJG3LYclUMi9JZ7NqFX+ablRw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 967ab7ff-a037-465d-6275-08d7d53cce50 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2020 06:29:03.1423 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mvwfP/us1Dauwnjlu4y19lnEnbGU8XsokRQaVyRAVghlTsbaL5bqGsm3uiI0uO+Q7TXR//j4VoHCTDnlcg8uTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4018 Subject: Re: [dpdk-dev] [PATCH v1] common/mlx5: remove devx depndency on ibv and dv X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" From: Ophir Munk > File mlx5_devx_cmds.c should contain pure DevX calls. It must be OS agnos= tic > and not include any references to ibv or dv structs (defined in ibverbs a= nd > rdma-core linux libraries). This commit replaces all ibv and dv referenc= es with > 'void *'. Specifically, the following struct were > replaced: > 1. struct ibv_context * > 2. struct ibv_qp * > 3. struct mlx5dv_devx_cmd_comp * >=20 > Signed-off-by: Ophir Munk Acked-by: Matan Azrad