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 50AFDA04A3; Sun, 14 Jun 2020 10:21:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D7BD4C87; Sun, 14 Jun 2020 10:21:11 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70072.outbound.protection.outlook.com [40.107.7.72]) by dpdk.org (Postfix) with ESMTP id F2A9849E0 for ; Sun, 14 Jun 2020 10:21:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZRIBfSHfYdd3YjZJALBgaHL1Q+ZMYlMiprknOHaX/tkJ6N8xH7/G/WoVIl1Qi2pLVT3bleTiS76J6R0sN39AeORLPIxkLDuUj8MOa7m3VwwFaUvqpmRXq5PBxQ5vodEwe8JKqFT+Pv47nLxO2+01NmfddkM2nN+eXTil8ddT70rc0xJDdSJTdbknJAEwzbvO9yfowAi3OeU922f2YE8Xy1u5+oCo8zStdE+6Wtbo3l+ESmjodZ6Rotgso1erNv5ca8kWDffBqo8+vQAc7wyNFJzVZshZ1Edzzlgp5+v3WXwQHJqtrOkPVefz/WWmcEs3tJiYHm76COq7V5/wsSdm/w== 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=3V8FtTSeGBqqDniW24vYWJBDoCDPKrHmC3Lo3Tren5o=; b=J6HdCi0jGPwPbTC7AGnj/gr225Zv7QTDZWfoUjn7qaPeKyIsPg8D0eaGcGJMMPQqhTx4TuhvpiuxbIaxDFMAx0RCffIm8PJCQs9mG75eNr9mWmlqoi2fCoOTBAjHV3WjXlZ0P4XkRQJRYz6itV+pvoqXTOeYdPp/SyoyrNhvtpU+59E4KLUgbFohxrnrg2v0xUxoGHhNwRoLPjT1xp/odYpBFq8IYzhkhasFSAve6ZBwaAOkyyj+GkniLtbNWYZiEXZkSP9oICXwVFEISRVDeEzCt2u+dQzlpEbiTPKBovCDzMjaQThCNM8YKrZpVz3FwErFrX7WntJO73W4H8QCRw== 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=3V8FtTSeGBqqDniW24vYWJBDoCDPKrHmC3Lo3Tren5o=; b=kaw1fPU/RGbULrYzJH/2CnNIDQE9XAaHSHUDvjWqy31OPJgX04HCxEmN9/eBdBiMZ/ZyBuM/k4PkkBQDphpiUF+AKMw4N4+gsVAaTJJCkyJF3njmRj7Zgcr1chuVueDudCSVZH3Xjk9PZ8gPNWtk2jCiIeTPhZdhy2EPaktsaZo= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3953.eurprd05.prod.outlook.com (2603:10a6:208:2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.24; Sun, 14 Jun 2020 08:21:09 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998%7]) with mapi id 15.20.3088.022; Sun, 14 Jun 2020 08:21:08 +0000 From: Matan Azrad To: Ophir Munk , "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [PATCH v1 0/8] mlx5 PMD multi OS support - part #2 Thread-Index: AQHWPwoijMH2IG5hyUiyHoubdOeKuKjXyzBg Date: Sun, 14 Jun 2020 08:21:08 +0000 Message-ID: References: <20200610093233.23902-1-ophirmu@mellanox.com> In-Reply-To: <20200610093233.23902-1-ophirmu@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [77.124.38.174] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a11278c5-2889-4c4c-b6b0-08d8103be426 x-ms-traffictypediagnostic: AM0PR0502MB3953: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 04347F8039 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vkBDviulmX43hhWAwSjhzCu5r6e4sWg7gik1v0gcE9ei57YsnSCAm7Xkx+2MI7QkvyypfFozg7wha/ohyZgL5+6kNMPbrd0MRh0royvwn34qsfh85idvp89qYQzJJKWwGx3G1GBfy7LDhBi5r9qPZkWigYYd2iElEJ6Bn0ESUP34chBS1ahmJVywB2ngZbajsOqWu912AZkQdcUOW+BuavTP7FXlBH2yHPXP0awZKcLiJ1XXgcG4K5QgRXQ1HW1afNNZ9dEP/pYzPN1M9Sq0MXuGw+W2OpfeeblYoRiXEbAhulC+4t6Hn+S5r2c1TTqwmItaq8S0ug0O8+WkFa+huw== 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:(4636009)(366004)(136003)(396003)(376002)(39860400002)(346002)(6506007)(7696005)(6636002)(83380400001)(52536014)(8936002)(66476007)(71200400001)(26005)(66556008)(66446008)(64756008)(5660300002)(86362001)(9686003)(186003)(316002)(55016002)(8676002)(33656002)(110136005)(2906002)(478600001)(66946007)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: tAFNPIdhSB2G2G1h74S5Wf31/2mkNfv/XcioEpVCbZ6vUteyXiua84e55jHYsYNOys7H8yKa6BgXULAorqb2j4hyhlWiY9ebHTujBoNeRgjaSg1G+AOXD3m0J3xghRn8FIizcJ71+Uyc4Y2wWfbFnMXabAda8wfv6M/EhBGLvk2fWFgyVjoFvzAcBCNRx7p6XqLcNlnkrOt0ljz9OawSOMzmR44TUdNJiLfYbwjk4Ohyf9Vvb6GCHYM1DXULahQD05P7qBsgRZrH9XBx0yaypsrXvHrW62ofm23NCUix97Lnrs9iMOcuCTr+bOjtbRb4HyUXPHKybPG6fuPcVA/eGZ//TzjrEe0DWJSfiOQkkM9W5dUnOroPv5DpWpQAaRCc8saME93smKbhQiGcvujazI3DTm7ylJoNs+GxjemCjHJxwMyRI77BBi1XXevzfYc9OjI+JIKVzBA41W4ZhvOH7cDRs1syyT7mBuh2k6O0Ydc= 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: a11278c5-2889-4c4c-b6b0-08d8103be426 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2020 08:21:08.8303 (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: TmBlRZaCUK/Y2LGKgZpMkfENAIFVhKFnlEEpLSrrfhj8JuFU4WG5ZErlfV5rA/Gz9EcN7IA+tyerknfFZSvyQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3953 Subject: Re: [dpdk-dev] [PATCH v1 0/8] mlx5 PMD multi OS support - part #2 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: > This patch series is part of preparing mlx5 PMD to compile and run under > multiple OSs. Part #2 >=20 > v1: > Initial release >=20 > Ophir Munk (8): > net/mlx5: remove dv dependency in mlx5_dev_ctx_shared struct > net/mlx5: rename ib in names > net/mlx5: move socket files under Linux directory > net/mlx5: split mlx5 ethdev under Linux directory > net/mlx5: refactor eth dev ops for Linux > common/mlx5: exclude ibv dependent calls in devx commands > common/mlx5: exclude OS dependency in devx commands > net/mlx5: refactor statistics Series-acked-by: Matan Azrad > drivers/common/mlx5/linux/mlx5_common_os.c | 12 + > drivers/common/mlx5/mlx5_common.h | 1 + > drivers/common/mlx5/mlx5_devx_cmds.c | 9 +- > drivers/net/mlx5/Makefile | 3 +- > drivers/net/mlx5/linux/meson.build | 2 + > drivers/net/mlx5/linux/mlx5_ethdev_os.c | 1270 > ++++++++++++++++++++++++++++ > drivers/net/mlx5/linux/mlx5_os.c | 481 ++++++++++- > drivers/net/mlx5/linux/mlx5_socket.c | 230 +++++ > drivers/net/mlx5/meson.build | 1 - > drivers/net/mlx5/mlx5.c | 172 +--- > drivers/net/mlx5/mlx5.h | 55 +- > drivers/net/mlx5/mlx5_ethdev.c | 1257 +---------------------= ----- > drivers/net/mlx5/mlx5_flow.c | 10 +- > drivers/net/mlx5/mlx5_flow_dv.c | 4 +- > drivers/net/mlx5/mlx5_flow_verbs.c | 2 +- > drivers/net/mlx5/mlx5_rxtx.c | 2 +- > drivers/net/mlx5/mlx5_socket.c | 230 ----- > drivers/net/mlx5/mlx5_stats.c | 332 +------- > drivers/net/mlx5/mlx5_trigger.c | 10 +- > drivers/net/mlx5/mlx5_txq.c | 2 +- > 20 files changed, 2081 insertions(+), 2004 deletions(-) create mode 100= 644 > drivers/net/mlx5/linux/mlx5_ethdev_os.c > create mode 100644 drivers/net/mlx5/linux/mlx5_socket.c > delete mode 100644 drivers/net/mlx5/mlx5_socket.c >=20 > -- > 2.8.4