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 AA624A0032 for ; Tue, 12 Jul 2022 12:23:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ECCF41109; Tue, 12 Jul 2022 12:23:58 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2079.outbound.protection.outlook.com [40.107.93.79]) by mails.dpdk.org (Postfix) with ESMTP id EA48B410EF for ; Tue, 12 Jul 2022 12:23:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dw5gflM++AoTNl6+s0/OJ5Dm15d8znI7kb9ZxYSVSCZSAJxl3Huxb8u2VR+eIDiHWGVEFQtXGX/eumkIaORJhzIdYyxFuXQ4iBHmKubjcgSA7D1lz8qdnIPjUKgo1vyF0mmwUba9AxlFIdxqnBSV8Own6Xu7ktjRC0vYBH0k69jpjhxmSUQLRYXDSNwxhDcPlsh27MMHjRrzJyY9zUfnq25rACV26T+SutkbHGXjWYPq8Q5N4o+cmXRMi3+zOhVI8rsrdsB7feyEf0kjohSz8dGT47U0XPeP9RpnUxsK4502UdqM67Mj0J6JKA0SnBoVfdxsRjCDVdh+45HgK9cpVw== 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=3OWxQveqXfUN83Es95LkjYpS4EUSQx9zNWg8GUAC580=; b=LFxOW7wLS1Rog6F6Gtvditku4k5ajgdSbKZiVE/TBYZrRJBcFe3aC8EsEU7bNjBNrGNhd5fpCVZSSWlihLTJxppz5kN2c6ShW5Z1bF+uY0gmwS0X4vRC8KiYnH6pvlTH9erTuXROXZC3N4qByRpDchFglhH2zj6lGSbe4thDhbO/dhB7G8zksuwnZnwXSnMNrzSHtj3Z5MlX3ZCyGlnAfNncaaVFSDQDUM42Yvh42THWqkUW2Ykh0FRXl0KIo9nVywYNuV2TyJB3YIBYHUB3Ub+Xl/9CmzArfJwYP/kkObF6t/5x23b/H5+0Xlh51ahdLIi7PEUnoXZJt7UhF+GXaw== 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=3OWxQveqXfUN83Es95LkjYpS4EUSQx9zNWg8GUAC580=; b=l45qvkja7eAhDnZzbrsfuAfoZ+PWEILSm2GNzr5kkhiq74PPKDNkZoJ+PeECA8dwbuPutdu4KOu7PNUFk+T1ARHrPt26r1B7qDAmpX40SFyEAB+ezmhpWrNFGiZeD+ry0aw8BQIYr3mn4lTA1GxbD3UFi7SrbdIiTHbuxg7rjs8QmwM0XzTBmRTRLInBdXo8qC5gDp97T0OeH7FPu92nrWMzTRSt3jcCxwUT1/RluakYk6EA5rx/cbYsIzv09yJhi4ebdkkIqIQ2vcImdLOZmLWQncxRQ5hxpUZNB8QtWggUWkeWd0fgiNQo0Q+2Gvkmvble5KTUabokDufcCcNRdg== Received: from MW4PR12MB5668.namprd12.prod.outlook.com (2603:10b6:303:16b::13) by BN9PR12MB5243.namprd12.prod.outlook.com (2603:10b6:408:100::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Tue, 12 Jul 2022 10:23:55 +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 10:23:55 +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+BKDjLM7U32q16Z90ggAAfO7A= Date: Tue, 12 Jul 2022 10:23:54 +0000 Message-ID: References: <20220712112721.19292750@sovereign> In-Reply-To: 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: e356d45d-6a65-4192-bfde-08da63f09fbc x-ms-traffictypediagnostic: BN9PR12MB5243:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +jWTc4q70U/4p7c4gxTMn7m27j9svGsv7t6gjqsxxBQBYaSVvJo/j9m/T9JHmDcmv8rZB1lpDLwuyand1LGsbxRS969Bx1+340oMAs5HGqiCIfZWqW5SNItNSIZOZnsM9uZMpXLtodL/NU9vUaUbuysnq2oZV1VyoPsDbKJX+pvhnB8jdTXheoHRNQIFjpXlF1i5eyy/TDOaV2avBoE/5etQPfOdDeTK5kXSOzjuKmpN255AUQ/ZcPZFJMnZHXEb52LHDTLksWkPf+cwEfPQ8HdKrz7yDcxaLlnM+ldISUMCVjQEpwICVWPQY+zyWdFXH3Eh6I1SAVeN7qfY4Hm18Frn+dZ6UPtaENTBgTRonxOWxbQeJupR6++W1m2tyTldhyOWziMuUQam1uu0rxyd81BAclIEhgUQR2NFI1gKPK1oJuAR5+rBtYWdJY3deY8X9DybdOKsWW3WaHHycC+h7w6hE2NczWIPoO8IZz3i9qPznkuWW/XcFLZdNKfJl73Krw3D34r6jnhB+PPL9LlPvSEHDXQl8V5UftMIuTQ55lb72BhTttbFJFqqK/F9xVHY0MDYreYh+KGpP/NyuR/Es8Siwfit6sAyNheFBEoJl4Tq9pKs3maesXaai2Vf4qzrBfVU+aaovsNdgBbxY6nFUGbf8CSUglhYGfQEZ2K8U/mkCz1DyJad09RyC0SSrrF0CorUR2qR682zPD6BruUziSBIOAx8M7Q3gZckPs9340s6iPA4ymbBkgJOvKMzuZTSX5UVD6N/ORWhaJf9+KODpmCCthMv4Fsqh0Ha2fjovzfnaTv4nEis0LF4TjfkAmgaE+FT4EHKg12ecY1pLnHFSwcMaPeWUnjmD8rygmgCJUPrhJ8hVmdKGz56k4vNQ7OZPA9zc2XWw3qSKGUbQhJzPnw/gc8rmK+qPIzgq5fd2ZQ= 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)(366004)(136003)(39860400002)(376002)(346002)(55016003)(9686003)(86362001)(122000001)(186003)(8936002)(966005)(2906002)(110136005)(52536014)(478600001)(5660300002)(64756008)(41300700001)(316002)(2940100002)(7696005)(71200400001)(38070700005)(66476007)(6506007)(76116006)(66946007)(33656002)(66446008)(26005)(66556008)(83380400001)(8676002)(38100700002)(4326008)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0o6RwBNFUF2NhVfZmB73J1MhgbTLktry9BfX0xOVOFmkn+oKeUSObT/9BCc+?= =?us-ascii?Q?q3mkOFGbqdeL5w5s2E4uUjP/5qbsQSEOThdCwCgt4ZHjQ/HrFPAq+Yt1Ifp1?= =?us-ascii?Q?T6dguz0w2zNDpxyg0EuRQ1fznV6DHE8HM7tLneOfNobHLAy6IOw4RsqwSut+?= =?us-ascii?Q?Ll7RWF30Xbs2FcIalRFc1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?+UkAZnXMm4ko1eSgC/XjleZnsoeIYQ2LppNuSH5vQx+sGRCZ8B/5Y2LTbhpQ?= =?us-ascii?Q?LrdyZMprrbGK2kuxxNz7VeRE3QRDHFoLlTM9vI46aCeH8Vt8BzL8/p7bRJ5w?= =?us-ascii?Q?aKYg8/yY+eCQV0JI80xiC45xy72lToHDJrL+sly6ybdtirXOM7OdZqpRf/q+?= =?us-ascii?Q?99Xh+XxMSO4dMVP4inTBPeGcJmEoxikb9X7Yh8Jt2G64u9JMWw3LP6cmHjYL?= =?us-ascii?Q?NhqLFe85X7Dx5qC4VDlQ+KEcKgz5icGmKKww6CqNQPZRsgaUbIgu/PGVynrJ?= =?us-ascii?Q?4IcV8TwQYlYFfP8KzykSJU9QbzsB/z0DYEJaY0FgXTDBGMbqURLRHW8465FY?= =?us-ascii?Q?vEEPG8JZfpDRIoIyws4HjCKWGzucF4998AoynL+uDMHevGB0KQ8cZ2zNYpez?= =?us-ascii?Q?4h/zJGr9i1oYbsbl2cQnJF347ZOen8mVXP2f6PGLMwj6PnYlxWXwf2smIsRC?= =?us-ascii?Q?Otrp32UUWMGanEV81pvKNdmoFMlwTMPowR05knPh?= 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: e356d45d-6a65-4192-bfde-08da63f09fbc X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2022 10:23:54.8968 (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: j/3737eRBTY9jIJoL3rBVtTTUxdxJUkXnP4WHJ3wcBkbshXMTx5bmYNeqvevJZDFA1MOXxBkN2DZ+bxNLOY4Yg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5243 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 Small correction, please try with the value 0xFFFFFF. > Subject: RE: Windows examples failed to start using mellanox card >=20 > Hi Robert, >=20 > Did you set the registry key (DevxFsRules) in the Windows registry? >=20 > https://docs.nvidia.com/networking/display/winof2v290/Configuring+the+Dri= ve > r+Registry+Keys >=20 > If not, can you try setting it to the value (0xFFFFFFFF) and see it the i= ssue still > occurs after adapter restart? >=20 > Thanks, >=20 > Tal. >=20 > > Subject: Re: Windows examples failed to start using mellanox card > > > > External email: Use caution opening links or attachments > > > > > > Tal, Ophir, could you advise? > > > > 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 exits 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 > > > following > > 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