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 153F6A057B; Wed, 1 Apr 2020 11:59:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C9E41BEAC; Wed, 1 Apr 2020 11:59:36 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2057.outbound.protection.outlook.com [40.107.22.57]) by dpdk.org (Postfix) with ESMTP id 981062C15 for ; Wed, 1 Apr 2020 11:59:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Suaw9339xM9aISO3sEKPNlEK3ekyuol+jYEMehLLNT3dJyeG+cUImQU3Inwk6mAgymwXZACSt5zlcLLg/5QQtQi8Mfm7+NMxVLvZcKl5on+Xxe1MFVsYx6aMDT6+gLzs2oIUANtRtlz7eVmrvTzzF6H8j4qYC+pDzgsE/A382GB4zXAYULSV1e8gYxdjUvOHkrUJkxVAaG7n4jgPqZ/TIT5cddhGLE9/iixQ2oA34cRBlmUNnhJmU9Bqv5IyVQ8URo8qpKW8Xh6v55FHFIU832DbxOSovaTfsaAQnheqohZj2EuOFUdW2185sPUAcxrXe1DIyUS6O2sYi0MphNxZlA== 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=V2v4f4eiAtZfdbniJUQJ4SyeIAwXoaNjrd1k/GKFN8o=; b=mtF3dEhuzm8kT6JlpEXG79yOucdyuNK1aC4Fmd+4iPkEw/TRN5Bd+H+MmDwCbHsyU8zZIbWkDCVHlg+y2yOMho4i0+RM3H0xVsK/Y/u8eS+u7Em/hsGpsLEi7Vjjz1bMEuqMvM1TMLaGXEuVStiAxbgJJyYashatoeAIKr8+XXC6uxAdK0cGj+mjjmTn2du/oXXWUWmSdDLL5anpekRKe+5fKXP8gPxinOPPE6JAyBhsYCLX0OrTgUC6F07DiA7tP33xLq8W7stLAV6+ce4VI2YPd8VUUXukZSwrf5OKcj7p3aMDLPUqgffV1DKP7yNJIPlIheK7d8lqkAQy5X4UNw== 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=V2v4f4eiAtZfdbniJUQJ4SyeIAwXoaNjrd1k/GKFN8o=; b=gn553o4JoejPenMTtelwQaQs6EFTIhr8yod0rxUBYL0sVWPWeT63DEguOCU/POO/ia5uxRxlG9l6FZfNcMI5YW2yT9muqVshqr/tQ2MibZBB32b1FfUVaolo/lqFEWDOACOS6XK4nm9EOCyjsDmBm8baD0ZqclC+8j9tE2ezwoE= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB6611.eurprd05.prod.outlook.com (20.178.117.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Wed, 1 Apr 2020 09:59:33 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 09:59:33 +0000 From: Raslan Darawsheh To: Ophir Munk , "dev@dpdk.org" , Matan Azrad CC: Thomas Monjalon , Olga Shern , Ophir Munk , Asaf Penso Thread-Topic: [PATCH v1] common/mlx5: remove devx depndency on ibv and dv Thread-Index: AQHWBhnw2ncT9G76G0uVm9X702nG7ahkDBHQ Date: Wed, 1 Apr 2020 09:59:32 +0000 Message-ID: References: <20200329223222.7553-1-ophirmu@mellanox.com> In-Reply-To: <20200329223222.7553-1-ophirmu@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [188.161.229.130] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6d0c58b6-f79d-4e0a-2911-08d7d62360aa x-ms-traffictypediagnostic: AM0PR05MB6611:|AM0PR05MB6611: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:229; x-forefront-prvs: 03607C04F0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(346002)(39860400002)(366004)(136003)(376002)(86362001)(110136005)(7696005)(8676002)(6506007)(4744005)(5660300002)(55016002)(81166006)(2906002)(54906003)(33656002)(316002)(53546011)(9686003)(107886003)(52536014)(4326008)(81156014)(66556008)(64756008)(76116006)(66446008)(478600001)(26005)(8936002)(6636002)(186003)(71200400001)(66476007)(66946007); 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: 2E9DApzAWrc6/oOJtn7oRCIcrOhZHmsxVoImGkQMEv6knyBP4AhxPJEKdAA+tfOt7z8WA7dkUjzkoJj4xIzYwSo0XRDflOaq99uryusoG8+Jtyh9WoG8S+mI9Teg5rh6NlWBO/eVgsk0TK8LKi154ZTVJUHuikh8CtuYFcEIZ+0CnYleniWXiQd11RqN/lGsate+GMh730KoxMiPLOka9X7gxUULOqUikG903opnxFj7lV4r20sfqnMv2O7tlWQcwD5iuVn8gmHBlfN7MpTPRx5ZmtUwxlB7t28MdeNkj5IsyKPnCuj8OgN6OvwakOma/2SudrcG+a3J8iymrZontENWnarPpv0nej1FkcDWAaa4cjYhxecrXaepS35VvZvMeopx5f2vvgzmYZqP8TGOwCxAtARHsEm466M5QkhtBtRDh391/XQ4lZ3gTS0scs5+ x-ms-exchange-antispam-messagedata: ab9Fl8iu1IdmDF20yNP5/QzPLZTqGYk6gKkp9MS8KMKBTTRVc1OXiDhH6GlTfKJEW2lqPkVpQirAHPQjUUu7TQCx0pyO8EfoKSg3W3FOFdx01dZif9OyaElPTFaFDaBmQdga4rCLOkK9yTaygITwDg== 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: 6d0c58b6-f79d-4e0a-2911-08d7d62360aa X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 09:59:32.9142 (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: dKlm7MvcWuzVK7n6kJ5qwmBIJ5mqrwPiAdfOsJGA0Poa+OK9TR2LX0rLSb7L7Px+lwIM+ZJpk7WSUwaNmrHMAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6611 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" Hi, > -----Original Message----- > From: Ophir Munk > Sent: Monday, March 30, 2020 1:32 AM > To: dev@dpdk.org; Matan Azrad > Cc: Thomas Monjalon ; Olga Shern > ; Raslan Darawsheh ; Ophir > Munk ; Asaf Penso > Subject: [PATCH v1] common/mlx5: remove devx depndency on ibv and dv >=20 > File mlx5_devx_cmds.c should contain pure DevX calls. It must be OS > agnostic and not include any references to ibv or dv structs (defined in > ibverbs and rdma-core linux libraries). This commit replaces all ibv and > dv references 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 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh