From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C79EFA0A00; Wed, 30 Dec 2020 20:23:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4017140CC3; Wed, 30 Dec 2020 20:23:34 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by mails.dpdk.org (Postfix) with ESMTP id E23D2140C9E for ; Wed, 30 Dec 2020 20:23:31 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 30 Dec 2020 10:16:22 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 30 Dec 2020 18:16:22 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 30 Dec 2020 18:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XxqCx2Ke6iYSOcl0CWv3msj4LVcuS/4mX//NSuLu4WAluQip11oELniaRrNWgzk+f/K/3UwQYqyX4MoIMV1AMvF3GlZYTMkPHrg4J1OQcaxF2S0cDjBPmlkXKfhVtHoJiFm1xDtxnqsEHHI8g8XzPxrsBQITgYAQQF97YE/5+XwRn6eWPHVMLYz6PqDSgApET5ZTchDR+5eOUKJpkgco76HiUijoUAeVGRwg13jbutY3jGqxot/Uh148HqNvUL9/5g0RUrDlLqdX1ph3Z2aTEDMLiQLlrvIQPXp+9S8IcVvLkXedm7ZB91Me7svGg0gvSOMUjdE0+BA2qDMxujhI6w== 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=bRyEAXd9gJwDKJ7DW4PTgXd42YwdgSbWZwNpakm1s2k=; b=FnjGnCVRLfj+Dg5Xs+BuuVFIZ/Tphwo0XjqOxWn8Nb4SCHl3GkwyPwcAhIjwQ+TL7YkNhGJcIXvvdIWJ7Ib77P0YmLUuKn/mpJzNeWnvUEgkVKGQZ0f/JHBzm73YvF+0wFcEv8STCr497ljxKMUgvN+/MsXUtXBEcPnxUEd/PVE5yko4Y4BxSG4/teTmVVp9qlNHUL3FPskAsyj+U0BppDp5cQdurgMGPNvcLAqSAgmRwgpR41f2nmFYcJcgTvPuKtd76uOvKfAMPNw6vY99Xr00CUraGk29R3bZRJLpO5sN518mwmnrmcHk6YnNqnCK0MaSwFl5ThifpvsoyxTRkw== 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 Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4138.namprd12.prod.outlook.com (2603:10b6:5:220::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Wed, 30 Dec 2020 18:16:20 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3%7]) with mapi id 15.20.3700.031; Wed, 30 Dec 2020 18:16:20 +0000 From: Raslan Darawsheh To: Tal Shnaiderman , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Matan Azrad , Ophir Munk Thread-Topic: [PATCH v5 00/32] mlx5 Windows support - part #5 Thread-Index: AQHW3P9/vOiXZ9a1j06d9U+24NhWvaoP9aJA Date: Wed, 30 Dec 2020 18:16:19 +0000 Message-ID: References: <20201213205005.7300-2-talshn@nvidia.com> <20201228095436.14996-1-talshn@nvidia.com> In-Reply-To: <20201228095436.14996-1-talshn@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.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4d99c30a-b624-4fd1-19b8-08d8acef0206 x-ms-traffictypediagnostic: DM6PR12MB4138: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:284; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: d1qLuPtNjjDe7RPhYyuFqhPaIVPajGawTOgqGTn1EWlsQ+tgtFzlxEMO6gxKksHVilchBQhv/3pco4I3C30rEjM2v7ll/LftX+wU8PujQ0TVnj5xm9JBxFlfjvOA6LevFeo82iXXNOg+BWnc9AGj2nTXbFmG+vHOEKHZEkHoJdgAIrlsVe+/TkgeRBDNzQXJ0oYEe6G1q0iFQtB0ovpqEcZ04RiQ+eb3q+jPLxy1nPmfvVYv8v3p/7VMSXmOw6rALWUFs9rjROf/dNsD+vjggfm8aDHi87WgqI3yfLK8uMs5cFkkvuVdedVdPhWk2ss9kWzi5+7caQmt53pM28eCr54kWPi2sNyuvMcMcFfzoZLZspJI1SHa2jWRwCAjL4TFdB3lpSTKe0felleqQlhNxw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(83380400001)(8676002)(66946007)(52536014)(110136005)(186003)(107886003)(26005)(64756008)(53546011)(2906002)(55016002)(4326008)(5660300002)(86362001)(66476007)(66446008)(7696005)(478600001)(33656002)(9686003)(6506007)(66556008)(71200400001)(54906003)(8936002)(316002)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?f/U7DS+O5rXKGE9qFTZ/Su24YyeMaVTzqPvHwtT3OKh4JDksIzy3ePqupOO/?= =?us-ascii?Q?AaWCbZImFW079OxvM6Z0HVdGAIJ44zojnOsBrHfjyPcydd3CadsuTqOEUWXT?= =?us-ascii?Q?fZAdv3KOnfbnqyTFXhm20wIL0i8bRdF4T9XtG1sZaryBgjp0//ZM5F8b0WNe?= =?us-ascii?Q?wTcvuW/mWOdl6NfXuBtLDpTtjs1X3EjyXL+qsj3nZzii2+hkYMg1PzrKDRFG?= =?us-ascii?Q?eMaqrQ/dz4fSa8xfCE2zyndOqsFYsWz1llV+mHwgx40Zrw/VX6EKKVbg4/pV?= =?us-ascii?Q?Xvy1iiTj5i50xgKwnFrR+FU+/vH/X1J8ogmD8uEMwGOUYq3h2tvoDTGNWZJM?= =?us-ascii?Q?hEwA0Fx6VpBQeEsWGIRKvOJPzIwnQ1/Pxp5Q9u/PVpL+pLzwwuXyV0glh04X?= =?us-ascii?Q?IoscQypkN2hPnEigmAVbPthE+hgxIVACJQ72USFQucD0Ft/NDtFRiyGhgODT?= =?us-ascii?Q?DPjX0WF9qJCg9tr0qmLTba7J6cIOS1PPL/UO/6VEmSSIj1oeahJVM/OEPz3i?= =?us-ascii?Q?w8P/2NVl/Ne2tegoTYJx9JoXP7kcq4hzItLbsKccImQ5Wi6d4sTDI79x7cb7?= =?us-ascii?Q?uog7yApqoVx1z/zSmoVufF7voo9LO/roN8flXQOGk9rKWfwK+dWAcP+0qxU3?= =?us-ascii?Q?l0TYC75+Qw7bZbPgOHyHBxaw5R5ppPTYdl9bpfM+OzxVtdJtj9bng9u4yoVM?= =?us-ascii?Q?Oc0EBg4cAO+IsFftUf1UReasApyncg3PsYP2hl2XArlLfpAjqF1Deu5YqM+J?= =?us-ascii?Q?Eq0wgfP++o1xJKtFk/3RZ61/9av/aV9tKRVq5a8DSKboWkknfU4JdzjlZEHy?= =?us-ascii?Q?CNnMh+UuO5JF+r0dBI65yopTkrERQNFBzXNlwPnR1Wm8AbhaKs8ecmrSHhGp?= =?us-ascii?Q?s8uuXf/emAsYLamxxHW76i4a+U8b2/T+8g/Bhe619SMMgPN8OnxO2lfSxp1U?= =?us-ascii?Q?R8n5c7UZ1VTtSEAgZNOvAsCLlyVqhd4Xg06MmMdxa9g=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d99c30a-b624-4fd1-19b8-08d8acef0206 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2020 18:16:20.2521 (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: M2qPJCd621ANIfowOXIjXth1x46CoaV4bVNPy1shD2HeTr7TvaBS7AlNrh+AHs2QdwTB1f4lg2d4A3XShSawYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4138 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1609352182; bh=bRyEAXd9gJwDKJ7DW4PTgXd42YwdgSbWZwNpakm1s2k=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=Vi8Ucsd4FPcXNqHoanExvkB5VcVt5AVOCunFG+7ECbV/HdjcllVHfVqatcW5+aLTW oKZnvX2t6/4J8EzedoW9WIV1bDjnb6NZZdHY9FtdEgmnGRLaCaX6XxTjBoJdcjmaO4 D4IV0vCcNN8N65lboGKSHGzlQ9vcX/uXVmRkaW/ZYjFI9LL3HWFAQXkeG/B0pcEnfL XT7NJb2ZoshPZZJJBKr3W1WCfteFyYB94TYi8p83J4eI+5GajOofnrcidcQcaYTy42 350kQcwT/gm7lrvdO+RZhdBpkzDO+aXoZccds/NDj6/X2Z3wC+cSovoQx8tIDPkri+ r5rkzus6KE2Pg== Subject: Re: [dpdk-dev] [PATCH v5 00/32] mlx5 Windows support - part #5 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: Tal Shnaiderman > Sent: Monday, December 28, 2020 11:54 AM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; Matan Azrad > ; Raslan Darawsheh ; Ophir > Munk > Subject: [PATCH v5 00/32] mlx5 Windows support - part #5 >=20 > This patch series is part of preparing mlx5 PMD to compile and run under > Windows OS. Part #5 >=20 > v1: initial version > v2: Fixes after CR and rebase, also patchset was split and part of the co= mmits > sent in v1 will be sent later on. > v3: Remove common compilation as it depends on upcoming patches > [DmitryK]. > v4: Fix syntax error in warning message. > v5: Fix style issues. >=20 > Ophir Munk (20): > net/mlx5/linux: extend device attributes getter > net/mlx5: remove Linux files from Windows compilation > net/mlx5: fix freeing packet pacing > net/mlx5: replace Linux sleep with rte sleep > net/mlx5: define mprq functions as static inline > net/mlx5: do not define static_assert in Windows > net/mlx5: move static_assert calls to global scope > net/mlx5: wrap glue alloc/dealloc PD with OS calls > net/mlx5: fix adding destroy flow action wrapper > common/mlx5: add definition HAVE_INFINIBAND_VERBS_H > common/mlx5/linux: handle memory allocations with alignment > common/mlx5/windows: handle memory allocations with alignment > mlx5/windows: add initialization routine for external lib > mlx5/windows: generate file mlx5_autoconf.h > common/mlx5/windows: add getter functions > net/mlx5: update MR prototypes for DevX > common/mlx5/windows: add OS reg/dereg MR > net/mlx5/windows: implement device attribute getter > net/mlx5/windows: add mlx5_os.c stubs > net/mlx5: refactor eth dev ops for Windows >=20 > Tal Shnaiderman (12): > net/mlx5: fix folding constant array error > net/mlx5: wrap glue reg/dereg UMEM with OS calls > common/mlx5/linux: wrap event channel APIs with OS calls > common/mlx5: add Windows exports file > common/mlx5: extend DevX query hca attributes command > common/mlx5: add DevX alloc PD command > common/mlx5/windows: add glue functions APIs > mlx5/windows: add mlx5 meson file > common/mlx5/windows: extend PRM match_param_bits struct > common/mlx5/windows: add OS alloc/dealloc pd > common/mlx5/windows: add OS umem reg/dereg API > net/mlx5/windows: implement mlx5 mac addr add >=20 > drivers/common/mlx5/linux/meson.build | 6 +- > drivers/common/mlx5/linux/mlx5_common_os.h | 83 +++++ > drivers/common/mlx5/mlx5_common.c | 4 +- > drivers/common/mlx5/mlx5_common_mr.h | 1 + > drivers/common/mlx5/mlx5_devx_cmds.c | 46 +++ > drivers/common/mlx5/mlx5_devx_cmds.h | 12 +- > drivers/common/mlx5/mlx5_malloc.c | 14 +- > drivers/common/mlx5/mlx5_prm.h | 87 +++++ > drivers/common/mlx5/rte_common_mlx5_exports.def | 69 ++++ > drivers/common/mlx5/version.map | 1 + > drivers/common/mlx5/windows/meson.build | 45 +++ > drivers/common/mlx5/windows/mlx5_common_os.c | 210 > ++++++++++++ > drivers/common/mlx5/windows/mlx5_common_os.h | 154 +++++++++ > drivers/common/mlx5/windows/mlx5_glue.c | 307 > ++++++++++++++++++ > drivers/common/mlx5/windows/mlx5_glue.h | 58 ++++ > drivers/common/mlx5/windows/mlx5_win_defs.h | 25 ++ > drivers/common/mlx5/windows/mlx5_win_ext.h | 40 +++ > drivers/net/mlx5/linux/mlx5_os.c | 9 +- > drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- > drivers/net/mlx5/linux/mlx5_verbs.h | 8 +- > drivers/net/mlx5/meson.build | 16 +- > drivers/net/mlx5/mlx5.c | 20 +- > drivers/net/mlx5/mlx5.h | 11 + > drivers/net/mlx5/mlx5_defs.h | 7 +- > drivers/net/mlx5/mlx5_devx.c | 24 +- > drivers/net/mlx5/mlx5_flow.c | 17 +- > drivers/net/mlx5/mlx5_flow_dv.c | 6 +- > drivers/net/mlx5/mlx5_rxq.c | 71 ----- > drivers/net/mlx5/mlx5_rxtx.c | 98 +++--- > drivers/net/mlx5/mlx5_rxtx.h | 73 ++++- > drivers/net/mlx5/mlx5_trigger.c | 3 +- > drivers/net/mlx5/mlx5_txpp.c | 34 +- > drivers/net/mlx5/windows/meson.build | 8 + > drivers/net/mlx5/windows/mlx5_os.c | 406 > ++++++++++++++++++++++++ > drivers/vdpa/mlx5/mlx5_vdpa_event.c | 7 +- > 35 files changed, 1778 insertions(+), 204 deletions(-) > create mode 100644 drivers/common/mlx5/rte_common_mlx5_exports.def > create mode 100644 drivers/common/mlx5/windows/meson.build > create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.c > create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.h > create mode 100644 drivers/common/mlx5/windows/mlx5_glue.c > create mode 100644 drivers/common/mlx5/windows/mlx5_glue.h > create mode 100644 drivers/common/mlx5/windows/mlx5_win_defs.h > create mode 100644 drivers/common/mlx5/windows/mlx5_win_ext.h > create mode 100644 drivers/net/mlx5/windows/meson.build > create mode 100644 drivers/net/mlx5/windows/mlx5_os.c >=20 > -- > 2.16.1.windows.4 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh