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 24B3AA04F2; Sun, 7 Jun 2020 10:49:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C3C21BFF8; Sun, 7 Jun 2020 10:49:11 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00071.outbound.protection.outlook.com [40.107.0.71]) by dpdk.org (Postfix) with ESMTP id 9AAC11BFF7 for ; Sun, 7 Jun 2020 10:49:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XWkSiyjgi+kXFJEn6RhN62MrU6orTDd/WvozSz8aWiEFVD0CqOKuc4eeV4Y7Ae42N+7ySK65At9lfgTU5hC/DzpvZW8QTQWICvHhusR80NhghMdbmdSBMbuXId10q4Wze2N1HI6gEdIVRvuKiPCKd2a4K8RX3he9YoP96Gi/IMLduGSNONAQm0UMU18u6PTP+E044dcgnuYIkQmivgLIy/Ogx7vHvBOqNihzcyDdPrllErwCapPSe4v7ijLheLPr3f1XbvgZEUlxe6FZzOHHDVCNWfg7Bs4k4M9DEt69sWUI5k7OoHpZLPFXpvLOkakLdZxM3islbgBFmFcvoSJN3g== 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=/hGZUKW+88E0j4UXRN/TBAHtSP3zX/4SJ5jO3VQeP0A=; b=ULEqI4Ehh1cJX5QOGji6VxRkfU3DLmGMAjlNxn3y+vEZ+seQ+4LAsLnrEqRHu54lCQiVUdbpSyNan5j20gFMG2FxH68gvQV1/HKgOS5nkvDHQhS7GLjSI+5RjDkQX3k8OAxGb8275Z/SCxL+Ete1JcTDHrkTs5UekOsSJqC5ew9twiuyCm2RBmr7H8tVE24QwnET3plxXgevIOPKeJhsoJJqoOX8YbbCgefA0EAX4UyL3vBrpU8xKNisIZU0YLBOQUrTF9RtolQhahJpIUeb+5nrUGswo9iZKPTEK/ty0Lys9O8d3eI1J61WA88R3hlDIZWTrCdxTY05ewdb9/QEZg== 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=/hGZUKW+88E0j4UXRN/TBAHtSP3zX/4SJ5jO3VQeP0A=; b=q3gVhfdjOIKXsAdzcZc9rxPyT+o8fNuENDvkRFc6DIcokYThb850vKpYSSmtIQxTItkUTyc8D9J90jwKV82AFm6fQJfuNioNKJu/FhPvGD4Btswfx8N8s4uuNtVspGfPKzFo6Mm7Zfz1QgSNccqUeOBsXKUD04sEe5rmFuaHkZ0= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB5906.eurprd05.prod.outlook.com (2603:10a6:208:128::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Sun, 7 Jun 2020 08:49:09 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e%5]) with mapi id 15.20.3066.023; Sun, 7 Jun 2020 08:49:08 +0000 From: Raslan Darawsheh To: Ophir Munk , "dev@dpdk.org" , Matan Azrad Thread-Topic: [PATCH v1 0/8] mlx5 PMD multi OS support Thread-Index: AQHWObiCueV2U87cmkCDqwOgwePBC6jM3BKg Date: Sun, 7 Jun 2020 08:49:08 +0000 Message-ID: References: <20200603150602.4686-1-ophirmu@mellanox.com> In-Reply-To: <20200603150602.4686-1-ophirmu@mellanox.com> Accept-Language: en-US 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: [84.242.49.134] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b82119c8-f1a0-45cb-1513-08d80abfa49e x-ms-traffictypediagnostic: AM0PR05MB5906: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 04270EF89C x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ve4w+4BiZzpipVyhKxozts4tIoly+ytoNDo24pJOANUHw6AIsSUaxIROaWo7JVZ9hbLBK4qYVIR0wqL/ua1nourVDuYTa5h64MpskcMcEtTqOA7x0Y7aBgVn4PaQZS0c6Bi2+PrleY1i7CCoMaxD6GVH3ZrJzuXXlPMOnYYTwBUWZrrZl8qqujNxbiif1vaWTqts9ZFD07pjar+sjsRPE7q+ObV52/rmZo0qnmGO9d+tz0Dsl6gs0lX6j115Vjn7EP03FB5WohfgWFoPXxG7nUMd1Jwtz6tRv+1CjKuxz/dmrwNuCHDtQKhBt0c0LCd0XMVN/MbiEwsl8hdMUp1UBA== 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:(4636009)(376002)(39860400002)(396003)(346002)(366004)(136003)(86362001)(478600001)(53546011)(71200400001)(186003)(6506007)(2906002)(7696005)(9686003)(6636002)(26005)(5660300002)(52536014)(33656002)(76116006)(66556008)(66446008)(64756008)(55016002)(66946007)(66476007)(110136005)(8676002)(316002)(8936002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: D0ZeSur5jQH/pY2bVwBNw8fLtbWdh7xJIxj3MNkaIfPiwq5CBYZmFD2cjihiiVXC0UAyhoaV0/fVUFOm7BXJAOIhujlbS+oZ+4NhfQ01vr7vRoGC5Kv+vuUx61xSuGLHD9r7hE1obPMvdK/qmwhEsgXuf5+2D26scVG/lMe7tTTb2/IP+HPAhn5U7tHyWR8Olz0bX+AbdZilP3FlE/RZrnnEOWf4mIMoSnN1T0fk0hlWJncSF8KAJvTvM3ePD0mGC1zbfId5SyXxCdM144H7scoM9m6sS36U0zcP0Kx/QQEJJGkfkrtK9RzRfw1khCZzmCFaAY9vKnpEo15R2o4Urg0kRAD40zBoUYYDoQ28wK1WrrHbKS778UO0MbpPwiEZZrrfRNqBGM4vwO94XWU+GQ2w+mVZmvRNeba1KuV7MxDVKAFXgUCq4he6DCdrfliQWDu1cL9IZqU+DrBHz+dWTlErnsg7kFkj8SKFt336S4Q= 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: b82119c8-f1a0-45cb-1513-08d80abfa49e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2020 08:49:08.8784 (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: Ljkp6vPI0jfk4BwOXpCMKbe271p/l6PXq/iky5grAfREtFUj6qd+ua27e1iB345v78Vh5ZyUDE4Wyi/fK00tCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5906 Subject: Re: [dpdk-dev] [PATCH v1 0/8] mlx5 PMD multi OS support 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: Wednesday, June 3, 2020 6:06 PM > To: dev@dpdk.org; Matan Azrad ; Raslan > Darawsheh > Cc: Ophir Munk > Subject: [PATCH v1 0/8] mlx5 PMD multi OS support >=20 > This patch series is part of preparing mlx5 PMD to compile and run under > multiple OSs. >=20 > v1: > Initial release >=20 > Ophir Munk (8): > net/mlx5: rename mlx5 ibv shared struct > net/mlx5: add mlx5 Linux specific file with getter functions > drivers: remove mlx5 protection domain dependency on ibv > net/mlx5: remove attributes dependency on ibv and dv > net/mlx5: remove umem field dependency on dv > net/mlx5: refactor PCI probing under Linux > net/mlx5: add mlx5 header file specific to Linux > net/mlx5: remove ibv dependency in spawn struct >=20 > drivers/common/mlx5/mlx5_common_mr.c | 24 +- > drivers/common/mlx5/mlx5_common_mr.h | 6 +- > drivers/net/mlx5/Makefile | 2 + > drivers/net/mlx5/linux/meson.build | 8 + > drivers/net/mlx5/linux/mlx5_os.c | 1992 > ++++++++++++++++++++++++++++++++++ > drivers/net/mlx5/linux/mlx5_os.h | 18 + > drivers/net/mlx5/meson.build | 5 +- > drivers/net/mlx5/mlx5.c | 1900 ++--------------------------= ---- > drivers/net/mlx5/mlx5.h | 100 +- > drivers/net/mlx5/mlx5_ethdev.c | 12 +- > drivers/net/mlx5/mlx5_flow.c | 20 +- > drivers/net/mlx5/mlx5_flow_dv.c | 28 +- > drivers/net/mlx5/mlx5_mp.c | 2 +- > drivers/net/mlx5/mlx5_mr.c | 10 +- > drivers/net/mlx5/mlx5_rxq.c | 6 +- > drivers/net/mlx5/mlx5_txq.c | 18 +- > 16 files changed, 2233 insertions(+), 1918 deletions(-) > create mode 100644 drivers/net/mlx5/linux/meson.build > create mode 100644 drivers/net/mlx5/linux/mlx5_os.c > create mode 100644 drivers/net/mlx5/linux/mlx5_os.h >=20 > -- > 2.8.4 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh