From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15718A0032 for ; Tue, 12 Jul 2022 10:43:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89A1A41109; Tue, 12 Jul 2022 10:43:30 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2052.outbound.protection.outlook.com [40.107.92.52]) by mails.dpdk.org (Postfix) with ESMTP id 1F322410EF for ; Tue, 12 Jul 2022 10:43:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BWC0WzWrHveRRd9ZtEyRK8Q3cCbrSyf/CN9ihiNpWYYaPE97cOXlb2fJa8fEUPmb6wWTItgwcJuJzYYf6PZvMT8i2EyrVskae1cbs7UYEuaT0sfHWu9C6EwiCWXnGZ+8n9dQYbYM3n7TCsYZ1kzjEIf893WOWwYM4/VMMDovN+8K48p5LNOCAltRHBTJK6nrvFp9OXhf56Gq8GC3Zb+j4Nkc6W4nGFans/RHEZ1hnRAFdaHUvURsKz72gvWqV90Zr3mgW6xE6faEmkd/7SEnV482Fh0QfIKQgm3EFYkc3UE6EPV13Qg0i8ryHDqHt98NcYvOW0Ablsh+pOyHABjWGA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jAo8CNExKOBYw+VUbisxKNxpDrdq85HAOmoBTjhrxyA=; b=CKtcyH4rNsaVPxKgxRx8hp7OAWXrbNYBCPMaE3Qu37j8/4Maru5Buib35/a6aC33+9ywsDpaCOd8c9MfVX3ThbisFvoS4APmgAkxeA7Oq7C4Sg0W8GY5Mdk/6mao4asHZfzSOemLF6IIQgtnL2xqhNHMM2uqU6lxLbFd0Sm2y1mFMKh9rRFL556+VxYhQF4r4/sLgZU2gm+2WENoMyZ+gHDJsOBFH1hgM7QS4s65rXWJq0uwPn/4RCYJ1ndEAETO1uydIrUgoXGS3WvfheSJ6JNgIMmRBFav3kH1najkgni1O6x8TtOEFg08DV+r1Hqln9nBoGb9f6joJvaaD0axXA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jAo8CNExKOBYw+VUbisxKNxpDrdq85HAOmoBTjhrxyA=; b=Ke+faKqLVn7rkA3+6KvBV4zyFRngf4CT0t2bjMzefjLnvU3XW10XdBjekjUvwn/wxJ92dPzhruzkxXNdOJRcq5IleFON6fJF4P180v+ub91nsDUd2tvol2fGg1KW0T/TmBv1RyL2aD9Qvh5Ir14xVrgYn4hQKUESQr74f7sHykpxvc6Kf6XQN0ICv3f6QbWH5Kq8Q5BcPvjS/v+V9wv03umTVL55VnTwwAu1OBFurLAt48gv4yKYxL7hfHq+QeE8UL4qj/XKSDmHTBxA6mwAUmLfTzFXNTGcDNirPTu7ODtuTESsSQS3/Q1Ie9KQLz+9nOgO30uGp4JO44yS+PLuZA== Received: from MW4PR12MB5668.namprd12.prod.outlook.com (2603:10b6:303:16b::13) by DM6PR12MB3612.namprd12.prod.outlook.com (2603:10b6:5:11b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.23; Tue, 12 Jul 2022 08:43:27 +0000 Received: from MW4PR12MB5668.namprd12.prod.outlook.com ([fe80::a4a5:3b2f:9c38:54b7]) by MW4PR12MB5668.namprd12.prod.outlook.com ([fe80::a4a5:3b2f:9c38:54b7%4]) with mapi id 15.20.5417.023; Tue, 12 Jul 2022 08:43:27 +0000 From: Tal Shnaiderman To: Dmitry Kozlyuk , Ophir Munk , Robert Hable CC: "users@dpdk.org" Subject: RE: Windows examples failed to start using mellanox card Thread-Topic: Windows examples failed to start using mellanox card Thread-Index: AQHYlck4YCAeCWVDV0+BKDjLM7U32q16Z90g Date: Tue, 12 Jul 2022 08:43:27 +0000 Message-ID: References: <20220712112721.19292750@sovereign> In-Reply-To: <20220712112721.19292750@sovereign> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61bbf526-d78c-4476-9120-08da63e296f6 x-ms-traffictypediagnostic: DM6PR12MB3612:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: z0qgL5sKEzlRM9G8VzuNJZbUu/tapCvgBgKMU0ivWH5TZCui6ErBw4fWZD1Z5+YzCiHl446LtPxTPHivasQTnqBettHiYk+WORlkUj61YkA/yMCQxDh3WPXc5jqAk5mW04706sigezDairWURgfF16pYJuagq0QTR6Pfl7IEKkzl0F6pNnMZztomzAelUObmxvnNnXEo2lXjN/l7uhOQDOOUvLsQIedtcVwUFsgD+PbSzlBIdLHIv15Fw6kh/+ErT23g1gejYw3td2ImIh9Ar20sO4cI83HRjErarWAdjF9jkHFaSjAm0PkJPoKGg3EnaHXZbMkDrmQRtERubmNqEO5sAWlZWoctKlvluFcWeY5tHn2mANY7BzQRR1w6/ov7XVgvtyUxT6Jc9TxayK8rOxL7Oy6a32Vk15zPGoHCH6lB41VlSdFZQoBK2KY0O6yQZsJpFCUiZmg/YMClKaCy70u7btXr5+oB/Z8T44F7HT5CB+LcYVoGYAriNlXbS0dPp55cOHa+z38MdlDZwtP1Mh2Du1X1+5Qg3SzrATpy7xBuDQWVf/FJTVIFEQhfVQiqbptOfeMl7E9AdMvl2S1/2tHpEkUXxcYJ3ZfjILxkG23vipRJq9KgqnLEMhEynGZoIvn9AsvKpZhm8m15pxy0MA8jf//bsI6L9ntCfKLbBfCvefoT+8snKd1a/1CFw6cNjnEQ2Ne4xHXYobrSiWDPoV6lKudmjaWlimaP/9iySwtU0FcPEylKHldvMV+1GWCV7Feu3xi3pmrVhXIV51LHPS2UaT8urQLmAIlvQ7e31XPx/LjtOinBF9+mAaTxc8/7dyseJsQM4cMZ019iSwix5YVfMah+sceQuqb+FEZA7dIsl9eg8JEOnK72PwXAn1VFt7+fyih5PyA2LcFCE5D5nBi4bY7wU6ya1eVHmf26v+o= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR12MB5668.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(39860400002)(366004)(346002)(136003)(8676002)(110136005)(6506007)(71200400001)(2906002)(26005)(66446008)(4326008)(9686003)(316002)(478600001)(186003)(66476007)(76116006)(66946007)(41300700001)(64756008)(66556008)(122000001)(7696005)(38070700005)(5660300002)(86362001)(55016003)(83380400001)(52536014)(38100700002)(8936002)(33656002)(966005)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vOzX25tCndxDb0ho0KL0gjS2oqaJhHH3xuGR7SypqCZPcUh6SicNw+OGg28u?= =?us-ascii?Q?OzxE3nsXjF2o3a+VDMMCtzbrv7XxBgaYjHi5vNjp6+F+WqIqQoOcJKzrBAxO?= =?us-ascii?Q?ZsyJB95VDvYbWnrqQjyjaF/LXN9SJS/h/FvAe/kzo/xFqPBmW2IQ6Uqxim7u?= =?us-ascii?Q?zJb9VdXmjGH3uiRPb3kuaR9PIOGrB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w6FnaIcW+8eotZI8VtoA+otD50zuBX95P+zVf5qHZWZbmKdthZ1gs?= =?us-ascii?Q?vDeEU5TSxt6UrKEh2B4TsMvyzJcGlKbpcB6ksD5WSkjfwbAEVLooryFjNxye?= =?us-ascii?Q?Vf3XJQX7T89HDToyEYkz4Pfdqi81Z7oTQ6KjtfCzPmo6Dy/CrBzixUbNE2yH?= =?us-ascii?Q?Oi+YbRCDvJRvEWdwOfJPbAT2/APevWU3MBzrooFlf2fqJH6YjEbqNHKcomhV?= =?us-ascii?Q?oSi0pTEd+gZEGZ2JMtzhu6JRt6RW59LP3cPfucXMXIJQTvRYSgCukqzpSsAC?= =?us-ascii?Q?Nm06j6SjWYXUqX2wEzvKtAcxs5znbdvJybusRGLut8VUtNVJeoDq/Ps2YZGo?= =?us-ascii?Q?9sFWt3OmxMhBMoQHG82WVlb0Qpl68fOBabh8IqAJgf9mP5ug6RaF8aWd4DLH?= =?us-ascii?Q?WJ9sjtJBkQM8uKbYEPtI/hbhEo+KucRGh1GqBExb3Oz5vX/8iYMbd7KMPozr?= =?us-ascii?Q?i5mogjgI0nPk0mFJCXPutMFFOp6c0xUT5LRl+WMS?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR12MB5668.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61bbf526-d78c-4476-9120-08da63e296f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2022 08:43:27.2690 (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: yk6Sp7g3X05cpUqqj/DFP++GNlpa+4trI2zfPwAZl7dXYfVllMcZNDnE4imWBVzY96GYIgQR37IpiQk4iPbRMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3612 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Robert, Did you set the registry key (DevxFsRules) in the Windows registry? https://docs.nvidia.com/networking/display/winof2v290/Configuring+the+Drive= r+Registry+Keys If not, can you try setting it to the value (0xFFFFFFFF) and see it the iss= ue still occurs after adapter restart? Thanks, Tal. > Subject: Re: Windows examples failed to start using mellanox card >=20 > External email: Use caution opening links or attachments >=20 >=20 > Tal, Ophir, could you advise? >=20 > 2022-07-11 14:10 (UTC+0000), Robert Hable: > > Hello, > > > > I am having trouble running DPDK on Windows. I am trying to use the > example programs and testpmd, but they fail with some errors (see outputs > below). The testpmd program also does not go into interactive mode and ex= its > after a keypress. > > I am using Windows Server 2022 with a Mellanox ConnectX-4 LX Card using > Win-OF 2 2.90.50010 / SDK 2.90.25518. > > I am using the current build (DPDK Version 22.07-rc3). > > > > I followed to DPDK Windows guide, but currently I always get the follow= ing > error: > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > status=3D0 syndrome=3D0 > > > > does anybody have an idea how to resolve this problem, or at least get > some more information why it failed? > > Helloworld output: > > C:\dpdk\build\examples>dpdk-helloworld.exe > > EAL: Detected CPU lcores: 24 > > EAL: Detected NUMA nodes: 2 > > EAL: Multi-process support is requested, but not available. > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.0 > > (socket 0) > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > status=3D0 syndrome=3D0 > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > mlx5_net: Rx CQE 128B compression is not supported. > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.1 > > (socket 0) > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > status=3D0 syndrome=3D0 > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > mlx5_net: Rx CQE 128B compression is not supported. > > hello from core 1 > > hello from core 2 > > hello from core 3 > > hello from core 4 > > hello from core 5 > > hello from core 6 > > hello from core 7 > > hello from core 8 > > hello from core 16 > > hello from core 22 > > hello from core 11 > > hello from core 12 > > hello from core 13 > > hello from core 14 > > hello from core 15 > > hello from core 9 > > hello from core 17 > > hello from core 18 > > hello from core 19 > > hello from core 20 > > hello from core 21 > > hello from core 23 > > hello from core 0 > > hello from core 10 > > > > testpmd output: > > C:\dpdk\build\app>dpdk-testpmd.exe > > EAL: Detected CPU lcores: 24 > > EAL: Detected NUMA nodes: 2 > > EAL: Multi-process support is requested, but not available. > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.0 > > (socket 0) > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > status=3D0 syndrome=3D0 > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > mlx5_net: Rx CQE 128B compression is not supported. > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.1 > > (socket 0) > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > status=3D0 syndrome=3D0 > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > mlx5_net: Rx CQE 128B compression is not supported. > > testpmd: create a new mbuf pool : n=3D331456, size=3D2176, > > socket=3D0 > > testpmd: preferred mempool ops selected: ring_mp_mc > > testpmd: create a new mbuf pool : n=3D331456, size=3D2176, > > socket=3D1 > > testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 > > (socket 0) > > mlx5_net: port 0 failed to set defaults flows Fail to start port 0: > > Invalid argument Configuring Port 1 (socket 0) > > mlx5_net: port 1 failed to set defaults flows Fail to start port 1: > > Invalid argument Please stop the ports first Done No commandline core > > given, start packet forwarding Not all ports were started Press enter > > to exit > > > > > > Stopping port 0... > > Stopping ports... > > Done > > > > Stopping port 1... > > Stopping ports... > > Done > > > > Shutting down port 0... > > Closing ports... > > mlx5_net: mlx5_os_dev_shared_handler_uninstall: is not supported Port > > 0 is closed Done > > > > Shutting down port 1... > > Closing ports... > > mlx5_net: mlx5_os_dev_shared_handler_uninstall: is not supported Port > > 1 is closed Done > > > > Bye... > > > > Kind regards, > > Robert