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 0C97DA0032 for ; Tue, 12 Jul 2022 10:27:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0028641109; Tue, 12 Jul 2022 10:27:24 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id B79B9410EF for ; Tue, 12 Jul 2022 10:27:23 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id bn33so8998244ljb.13 for ; Tue, 12 Jul 2022 01:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lAjQcHOrZ0ugXaoVpoa7ifIZeE+BclNloZtk4RzdF+o=; b=RQB7E3jt2ZydrX9VdP1iN764EXdiI0ufz31YnIEr0uivraUwT2T+vztw74d0d9iuFT fxw+wcdOCg89g41TIjE6gLfEUorn08P3cF4DiEXK08triLK+P4cfN3nCpZeEGHSbtLsZ 3S5k8M6hglEQablhiZ2EY745f9lS7c4Uv1OW5O5aM5v4vKJGjojOTI5Mco8tppfsmsAT UUX9ymzoDt5n1k2hUIXUodr3B5666oJtlrDwgKsnve311T2pzvY2fkXthcqRD2SwhVeu YCT+uHyERLctn9ll4Ry+tH038+TsJiq864sYvfXtoFbvYTtclDn+ibmiw+h1W+DwT/9S VpEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lAjQcHOrZ0ugXaoVpoa7ifIZeE+BclNloZtk4RzdF+o=; b=heOruEKeWiz+weWKE09qMP+E/IlIRTCx5sceFJ9Jbzl7CdZBYWa+/+9gml/S7NjF/x pq/IcOgAYDbQTuWSIhyDh6TUeoUgLLHD4tmfkbQ+C+WJInqFeCPbn7Bp0538ojfyazYl mcQtwWYZzqqOBMQzJSw6RH/TVrijgedi0KgQWb5SFR2/AkZ8dtKGCAPBVWLgExI7cDP7 j5qseFznZ+nYVlbQtxtxMT3EeiPOhCRlD8anaSxBMMCJnU+eLzJg3yXICXnXMdWMduEd M36q66Gp7vBUJ5rAbIC3Vryl2m2KR6ZPVvZz+V5rq+FyAWAaSmRZ7a7s51RJF8d8O6Fp ILAA== X-Gm-Message-State: AJIora8vJin9EUD1PAO1dokeR5DaY/5JIDxsd5596q5T0PwwO0d1VFU4 ML50wvEScYmAO9MMY2coLos= X-Google-Smtp-Source: AGRyM1vMBSiKBKXIlSxSfZ8UJpREr1WdZ26NS5ZrDycFsQA7sBRO2M6EOarBaRqLc4/xHfjbhJi1tQ== X-Received: by 2002:a2e:aaa5:0:b0:25d:5a53:d143 with SMTP id bj37-20020a2eaaa5000000b0025d5a53d143mr11212199ljb.401.1657614443032; Tue, 12 Jul 2022 01:27:23 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id i25-20020a2e8659000000b0025d64453f4dsm2025464ljj.122.2022.07.12.01.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 01:27:22 -0700 (PDT) Date: Tue, 12 Jul 2022 11:27:21 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman , Ophir Munk Cc: Robert Hable , "users@dpdk.org" Subject: Re: Windows examples failed to start using mellanox card Message-ID: <20220712112721.19292750@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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=0X9055 failed errno=0 status=0 syndrome=0 > > 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=0X9055 failed errno=0 status=0 syndrome=0 > 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=0X9055 failed errno=0 status=0 syndrome=0 > 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=0X9055 failed errno=0 status=0 syndrome=0 > 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=0X9055 failed errno=0 status=0 syndrome=0 > 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=331456, size=2176, socket=0 > testpmd: preferred mempool ops selected: ring_mp_mc > testpmd: create a new mbuf pool : n=331456, size=2176, socket=1 > 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