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 222A5A09E4; Sun, 3 Jan 2021 03:05:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C12C2160683; Sun, 3 Jan 2021 03:05:40 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by mails.dpdk.org (Postfix) with ESMTP id CA0ED160682 for ; Sun, 3 Jan 2021 03:05:38 +0100 (CET) Received: from HKMAIL103.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 03 Jan 2021 10:05:37 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 3 Jan 2021 02:05:37 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 3 Jan 2021 02:05:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=izaxyDwRnNEif9FS9/HFBFZvbEIqKFMp6O4/wwUWuftExVNbWmJYjINgDLtppVq39I3Cbd1OBxbXC2GMViv2w6pa7r0/gwPMLK0vhIQDQFXDz1DaiBb1raOzBC2IRt/YHwTnRbDDCf0oMbi0o1Em/yqsq/e8dDwFr/YAi0IzUn2crVF8wkIedHrWKppzaVOjHSFWg2rT3D0YKd+QrO0xEMpcl8hW+/UMNX/5T8N0DdIennospP541ltYwEYLDgLA+FNnIynLusolxTT/SHXTLAOpnIfpuQXRCoDReFQ7i2TeHCXTzfFt6XXUSpL6Ezg7S9PC/mxxPf3asxSefsiGjA== 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=2fcwoqWt5bLgztofZphLGewnPSViczfhzAQV4iJSsN4=; b=VQGQJkXM7K/XaHYmLLtY8xMRSFEweGXU2PAGJPiE7Yolnm0aHX8OCVUQFdBPOpn/+hCEcLuoUE4qsXt3vJnZqE5xk0bJO6DFEuAw3zPFJuIsBCUD8rTY7VjyF1ex/DAMtsGJAAGQm6MT1yGvnRDE6l+Qdv+8p619WGnPeAfXGde6SBDj5agK8zQDtnGin0Sy5UOw5xYioqAS8s6t/DGOBc2ssth3AAPf0sm/vm28zAhlSCn2u3YUGBHZwGcW3Kpe4pk5NnkblmZ0v2tuJGzHm0qqn02dVOzlBOVCM5Xk+k6F7ej4eq1kFgNJrFxHWJmmnH930wNGFNw3nkIsJZOabA== 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 DM6PR12MB4203.namprd12.prod.outlook.com (2603:10b6:5:21f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Sun, 3 Jan 2021 02:05:34 +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.3721.023; Sun, 3 Jan 2021 02:05:34 +0000 From: Raslan Darawsheh To: Tal Shnaiderman , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Matan Azrad , Ophir Munk Thread-Topic: [PATCH v2 00/35] mlx5 Windows support - part #6 Thread-Index: AQHW3RWtBpg8dWdE406F3GKyqVkIAaoVL4ZQ Date: Sun, 3 Jan 2021 02:05:34 +0000 Message-ID: References: <20201217173037.11396-2-talshn@nvidia.com> <20201228123302.3608-1-talshn@nvidia.com> In-Reply-To: <20201228123302.3608-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.228.185] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 347202b1-794d-4ce8-1551-08d8af8c0e7a x-ms-traffictypediagnostic: DM6PR12MB4203: 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:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fmLbbQRQQ/fdABp4s9iUFEXOVyC6xYr3wyo7eRykvCEwhh/FS/2/VmLHypvFb+IdFwTjcWnhzRhxrzI1C8hg2ifTxmOVD7pI6924IBciZN3EhRrqLyB7oo9ypJQRUliCyOswXMvLTEcjDq2wI3djGS+62UKTQl7RfbiE/dA0Xt3TJjhTmucVbY5ZarrreC+bQhhZNo+WCaDyo3rdR32nj2e5XG7gSbWl2XnNshkZc/SNHrvzEoE8BioJ+0KBSWtLKECF29PT4WYXceKCINGjUSjnNfKip238eyETm0QxtJHasTTjk9RWqHkR2aWgSioPclE8+d/dGVJofuwG1RD+HpVDdAPplgJ8Kq9WxfT4E4Aomw4t8aDd6beyhiaeOLWF8F8CL/a2gwmXIK49bz/MMA== 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)(366004)(346002)(136003)(376002)(186003)(8936002)(7696005)(52536014)(83380400001)(110136005)(54906003)(66946007)(55016002)(9686003)(64756008)(76116006)(66476007)(66556008)(66446008)(107886003)(71200400001)(33656002)(2906002)(26005)(8676002)(53546011)(86362001)(6506007)(4326008)(5660300002)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?YLkMIag6kaEPY61zyCyiQ39k7pfNXstfAmO/OgE91tRyALh/OXl5OoaM3XUo?= =?us-ascii?Q?3iAPMRCaI5kGU1enrYBA8UJM2yfZze3M5+OOttz7bDY8ev6gHFWKpDfPj/cs?= =?us-ascii?Q?krrQ8dp79TjRP3TK/02DB/MqFx4sXJhE/jZ+lDjhNPyoRyMJ8ZP9B/YQ4QkG?= =?us-ascii?Q?uF2EM+dqhH0j1JuhvoOlPZ+vuUXhnLpXQnplg3kJDteu2zKwZacTEC9Fuq9S?= =?us-ascii?Q?1OQsSrx+Co3RzZT7Xqz2IOB1n3u9DeAyn+3RxDjpiCzzThIdkn2Ii0q8KHRR?= =?us-ascii?Q?DURmeR3Na++B24vKV7SRCyB3FhSM9RZoLVrCJMEJlPLGtewrnVKz0bpRsuXB?= =?us-ascii?Q?K8HGg38FNbH+mQZfrZzMXbDF0o+vGEUx4PHVTTrdlPXeNkA9FqFSM7tjjGTO?= =?us-ascii?Q?IaixXmv5HV2lMxqRDCVrJtLr7V1B3h8vfM1UU/6XZxU9zAx5UZ9ZJG1YS01D?= =?us-ascii?Q?MFw1i0N+vH+/LWLTv684sMdHn669WFHrxKtYpLU2SP4fYr4jIoYl6EcXjzWq?= =?us-ascii?Q?mOr3CisD/JYlyj3aCgSq2oUVNKVlx26egIfxRJ3hdrXXnAEwHOnUF+DDol3r?= =?us-ascii?Q?5alafyaGCUCmCZnWNB1ZSpb+eGuAo1R3NIXzJBekgyGIRJ+310nRhRWw7yDV?= =?us-ascii?Q?zEe9xv7+IiiMgkJ4bUPZOO7kAHK1RjHVUqtktkcYL9LyDHrK/1W8NmY3Pz4A?= =?us-ascii?Q?4J3VUZb5TTtgPlIZBIQOtwCmMvXovoozMBcP8QaBBjtIZWoTL1IQqXcnBqbX?= =?us-ascii?Q?nx8Tp1qJurTZZ69p7A5JQbL8GYl3r6rH4iltD26zLXvR1e1Tsv1NDKf66SCU?= =?us-ascii?Q?CNK2a9yQpAoQD99qzXSBsmEKnmWk5hlrkWQM1U+CPubfMkggwJymYEzT5Nbj?= =?us-ascii?Q?2vbESy+rNlMX5vE+dH3KOe9Gyo+3DPyOVlv5n9CiDGMsOgVpvhzI4NTK2V0G?= =?us-ascii?Q?rwzXz3XIY/dgL4SRPe9a0qr0v9de8NapKD2Z6f3tVbs=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: 347202b1-794d-4ce8-1551-08d8af8c0e7a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2021 02:05:34.5139 (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: 4gWxtj+A4b3u1xW23U0AdCze3a+swONgDbmNYRApCk0M5N140JiUh4elCQ+tUEeBYTXcDz5KaEpEPFklXCDaTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4203 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1609639537; bh=2fcwoqWt5bLgztofZphLGewnPSViczfhzAQV4iJSsN4=; 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=jl4i59BUUTn0gPbJjj3e0Xs5JZUMTKYWgfV+uGzDw12dW0OfM6f3uOqQfKyjvYtxw xh3MM+LfsWidMpm+JB8d6EpGWvzANAfi4cZCDHSjSaXRfvIwcov+9fk8KuqqDr2vkt Irfw6wQIUfnitmLNCtnDYJYKDry0zbsrDRR1Q0+NMl+JS3blaXxokYp14myJeywA8w zWm38zP0rTSHRw5ZAvPowNn+a00x2KGC/cm80bLZPvhSTmWf4PSALNEpNJmq18KJEq 4ZHNQ9ZQJMcOVK+HZUXQdXqrG0Kf3UucD3D3nuNu0eHSeGPOkiIhu9qognvsveg+RJ O43KjiMXGezfw== Subject: Re: [dpdk-dev] [PATCH v2 00/35] mlx5 Windows support - part #6 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 2:32 PM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; Matan Azrad > ; Raslan Darawsheh ; Ophir > Munk > Subject: [PATCH v2 00/35] mlx5 Windows support - part #6 >=20 > This patch series is part of preparing mlx5 PMD to compile and run under > Windows OS. Part #6 >=20 > Depends-on: series-14480 ("mlx5 Windows support - part #5") >=20 > v2: Fix style issues. >=20 > Ophir Munk (18): > common/mlx5/windows: add missing DV and IBV definitions > common/mlx5: add rte compatibility header file > common/mlx5/windows: add DevX UAR getters > net/mlx5/windows: add memory region callbacks > net/mlx5/windows: add stubs for MP requests > net/mlx5/windows: add ethdev stub operations > net/mlx5/windws: add VLAN stubs > net/mlx5/windows: support open device > net/mlx5/windws: spawn eth devices > net/mlx5/linux: wrap adjust flow priority with OS calls > net/mlx5/linux: add OS default miss flow action > net/mlx5/linux: fix add OS dest_devx_tir action > net/mlx5/windows: introduce flow support > net/mlx5/windows: create flow matcher object > net/mlx5/windows: create flow action dest TIR object > net/mlx5/windows: create flow rule > net/mlx5: use HAVE_INFINIBAND_VERBS_H in shared code > net/mlx5: fix separating eth_dev_ops per OS >=20 > Tal Shnaiderman (17): > mlx5/windows: add mlx5 macros for fs name and path > common/mlx5/windows: wrap event channel APIs with OS calls > net/mlx5/windows: support get mac > net/mlx5/windows: support link update > net/mlx5/windows: support read clock > net/mlx5/windows: support get mtu > net/mlx5/windows: support get interface name > net/mlx5/windows: support device removed query > net/mlx5/windows: support get pdn > net/mlx5/windows: initial probing implementation > net/mlx5/windows: support VF PCI address > net/mlx5: define MLX5_NAMESIZE for device interface size > net/mlx5: use OS independent code in ASO feature > mlx5: use init function for ctx list mutex > mlx5: use OS function for dr_sync_domain > mlx5: do not fail on IPv6 broadcast flow creation failure > net/mlx5: fix warnings on comparison sign mismatch >=20 > drivers/common/mlx5/mlx5_devx_cmds.h | 1 + > drivers/common/mlx5/mlx5_prm.h | 7 + > drivers/common/mlx5/windows/mlx5_common_os.h | 104 +++ > drivers/common/mlx5/windows/mlx5_glue.c | 47 ++ > drivers/common/mlx5/windows/mlx5_glue.h | 2 + > drivers/common/mlx5/windows/mlx5_win_defs.h | 228 +++++++ > drivers/common/mlx5/windows/mlx5_win_ext.h | 8 +- > drivers/net/mlx5/linux/mlx5_ethdev_os.c | 4 +- > drivers/net/mlx5/linux/mlx5_flow_os.h | 68 ++ > drivers/net/mlx5/linux/mlx5_os.c | 156 +---- > drivers/net/mlx5/linux/mlx5_os.h | 10 +- > drivers/net/mlx5/mlx5.c | 158 ++++- > drivers/net/mlx5/mlx5.h | 18 +- > drivers/net/mlx5/mlx5_devx.c | 15 +- > drivers/net/mlx5/mlx5_flow.c | 10 +- > drivers/net/mlx5/mlx5_flow.h | 16 +- > drivers/net/mlx5/mlx5_flow_age.c | 15 +- > drivers/net/mlx5/mlx5_flow_dv.c | 23 +- > drivers/net/mlx5/mlx5_flow_verbs.c | 6 + > drivers/net/mlx5/mlx5_trigger.c | 8 +- > drivers/net/mlx5/windows/meson.build | 4 + > drivers/net/mlx5/windows/mlx5_ethdev_os.c | 391 +++++++++++ > drivers/net/mlx5/windows/mlx5_flow_os.c | 240 +++++++ > drivers/net/mlx5/windows/mlx5_flow_os.h | 373 +++++++++++ > drivers/net/mlx5/windows/mlx5_mp_os.c | 71 ++ > drivers/net/mlx5/windows/mlx5_os.c | 968 > ++++++++++++++++++++++++--- > drivers/net/mlx5/windows/mlx5_os.h | 19 + > drivers/net/mlx5/windows/mlx5_vlan_os.c | 83 +++ > 28 files changed, 2730 insertions(+), 323 deletions(-) > create mode 100644 drivers/net/mlx5/windows/mlx5_ethdev_os.c > create mode 100644 drivers/net/mlx5/windows/mlx5_flow_os.c > create mode 100644 drivers/net/mlx5/windows/mlx5_flow_os.h > create mode 100644 drivers/net/mlx5/windows/mlx5_mp_os.c > create mode 100644 drivers/net/mlx5/windows/mlx5_os.h > create mode 100644 drivers/net/mlx5/windows/mlx5_vlan_os.c >=20 > -- > 2.16.1.windows.4 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh