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 5E06D439A7 for ; Tue, 23 Jan 2024 13:34:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD18E402E5; Tue, 23 Jan 2024 13:34:25 +0100 (CET) Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mails.dpdk.org (Postfix) with ESMTP id C644C402C5 for ; Tue, 23 Jan 2024 13:34:24 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-6dd72c310b2so446745b3a.2 for ; Tue, 23 Jan 2024 04:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interfacemasters.com; s=google; t=1706013263; x=1706618063; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5OiMuitqHDRucwod0QC5SGdyYXwfB43pEnVH1D2ILZc=; b=I3utQ5uX+3WpbOOEp0dNXxcN4oqMdY/1N2zsemNv0t9VoCLvgDlKbfWfBpGYHG+z/5 /n2E74UR7UodPd8X7e9bABG+EQ0z1AlHzGNYmUOdx9mALL48AgjLglTNQCXnPr+rM/bH Ow3Vr4m/o5X2AXsDpn182Z3kZpvPJV0M8I9Y8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706013263; x=1706618063; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5OiMuitqHDRucwod0QC5SGdyYXwfB43pEnVH1D2ILZc=; b=vZ1+SQce6CMuuoWO89jIXmbThK+hVHAjn3mmA9LCKOlfwfmq9CtEsIi7s+7WuMy/o3 OSRdGsFYrnv2yjMMVuuOmRy6s1Q3AUsDqj3OSyGfiVdQPmZbILakNDkKtv9eTThCvStI KknSy12N5jA5VUe3Lw8UzgGSC1ciJiEp+/fnO3L/h1hvy6vZPBa6t23OJcFfLsZieWFG horOAiZ9IprVJEFVBIUl6mETwwcY9e2tVPCZsoPRM3zaXCkWdUYmULFw7mTNkqxdAmkL gjQo2D8Y8mhvoMsYAqL7SLZAj8cxyWPQJj2fnwidx7TnNSDQC/IXAcU+r9UKlrHxUDcz hcNg== X-Gm-Message-State: AOJu0YyfGMWneX0TwnuonG2ue26JJa/wK1VCW3thQZEsXH8SvokaiCXs F4Zk+/v/4dR7jnAMHRjQHGj1w+gEwYCj1xi5RRlFxSN6qo6dZCX2ScfdXvYYWwFz1AQuM5xg8/3 SLNVGM4tpqb/uz8uwroIgV97soYlpMCQ7y8nabULW6Zj3ITu+jCQ= X-Google-Smtp-Source: AGHT+IFulVdxqUUk0M5ipTwxZA5zTLfuYC1Oa9al+CAzXQnEDtQdqB/KIhVvc2ECztMeIBGv6b1UyLOsMm4A27MQPsw= X-Received: by 2002:a05:6a20:3943:b0:19b:827d:ee10 with SMTP id r3-20020a056a20394300b0019b827dee10mr3347899pzg.92.1706013263380; Tue, 23 Jan 2024 04:34:23 -0800 (PST) MIME-Version: 1.0 From: Oleksandr Nahnybida Date: Tue, 23 Jan 2024 14:34:12 +0200 Message-ID: Subject: DPDK Netvsc - RNDIS reports VF but device not found, retrying To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000008bd244060f9c2aea" 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 --0000000000008bd244060f9c2aea Content-Type: text/plain; charset="UTF-8" Hello, I am trying to set up dpdk with netvsc as master pmd on Azure following https://learn.microsoft.com/en-us/azure/virtual-network/setup-dpdk?tabs=ubuntu and https://doc.dpdk.org/guides-22.11/nics/netvsc.html but I have the following error messages EAL: VFIO support initialized EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: 8565:00:02.0 (socket 0) mlx5_net: DV flow is not supported. mlx5_common: Failed to allocate DevX UAR (BF/NC) mlx5_common: Failed to allocate UAR. mlx5_net: Failed to prepare Tx DevX UAR. mlx5_net: probe of PCI device 8565:00:02.0 aborted after encountering an error: Operation not permitted mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 8565:00:02.0 cannot be used EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: d377:00:02.0 (socket 0) mlx5_net: DV flow is not supported. mlx5_common: Failed to allocate DevX UAR (BF/NC) mlx5_common: Failed to allocate UAR. mlx5_net: Failed to prepare Tx DevX UAR. mlx5_net: probe of PCI device d377:00:02.0 aborted after encountering an error: Operation not permitted mlx5_common: Failed to load driver mlx5_eth EAL: Requested device d377:00:02.0 cannot be used EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: f97e:00:02.0 (socket 0) mlx5_net: DV flow is not supported. mlx5_common: Failed to allocate DevX UAR (BF/NC) mlx5_common: Failed to allocate UAR. mlx5_net: Failed to prepare Tx DevX UAR. mlx5_net: probe of PCI device f97e:00:02.0 aborted after encountering an error: Operation not permitted mlx5_common: Failed to load driver mlx5_eth EAL: Requested device f97e:00:02.0 cannot be used EAL: Bus (pci) probe failed. hn_vf_attach(): Couldn't find port for VF hn_vf_add(): RNDIS reports VF but device not found, retrying hn_vf_attach(): Couldn't find port for VF hn_vf_add(): RNDIS reports VF but device not found, retrying and so on in a loop Also, with debug logs I see mlx5_common: DevX read access NIC register=0X9055 failed errno=22 status=0 syndrome=0 mlx5_common: DevX read access NIC register=0X9055 failed errno=22 status=0 syndrome=0 mlx5_common: DevX read access NIC register=0X9055 failed errno=22 status=0 syndrome=0 The DPDK version is 22.11, running on Linux dpdk0 5.15.0-1053-azure #61~20.04.1-Ubuntu VM type D8ls v5, accelerated networking is on for two ports driverctl -b vmbus list-devices 000d3a1c-e0df-000d-3a1c-e0df000d3a1c hv_netvsc 000d3a1e-4573-000d-3a1e-4573000d3a1e uio_hv_generic [*] 000d3a1e-47da-000d-3a1e-47da000d3a1e uio_hv_generic [*] Any, ideas what I might be doing wrong? I see the same behavior with testpmd and my app. --0000000000008bd244060f9c2aea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am trying to set up dpdk with netvsc as ma= ster pmd on Azure following
https://learn.microsoft.c= om/en-us/azure/virtual-network/setup-dpdk?tabs=3Dubuntu
but I have the fol= lowing error messages

EAL: VFIO support initialized
EAL: Probe PCI driver: m= lx5_pci (15b3:1018) device: 8565:00:02.0 (socket 0)
mlx5_net: DV flow is= not supported.
mlx5_common: Failed to allocate DevX UAR (BF/NC)
mlx5= _common: Failed to allocate UAR.
mlx5_net: Failed to prepare Tx DevX UAR= .
mlx5_net: probe of PCI device 8565:00:02.0 aborted after encountering = an error: Operation not permitted
mlx5_common: Failed to load driver mlx= 5_eth
EAL: Requested device 8565:00:02.0 cannot be used
EAL: Probe PC= I driver: mlx5_pci (15b3:1018) device: d377:00:02.0 (socket 0)
mlx5_net:= DV flow is not supported.
mlx5_common: Failed to allocate DevX UAR (BF/= NC)
mlx5_common: Failed to allocate UAR.
mlx5_net: Failed to prepare = Tx DevX UAR.
mlx5_net: probe of PCI device d377:00:02.0 aborted after en= countering an error: Operation not permitted
mlx5_common: Failed to load= driver mlx5_eth
EAL: Requested device d377:00:02.0 cannot be used
EA= L: Probe PCI driver: mlx5_pci (15b3:1018) device: f97e:00:02.0 (socket 0)mlx5_net: DV flow is not supported.
mlx5_common: Failed to allocate De= vX UAR (BF/NC)
mlx5_common: Failed to allocate UAR.
mlx5_net: Failed = to prepare Tx DevX UAR.
mlx5_net: probe of PCI device f97e:00:02.0 abort= ed after encountering an error: Operation not permitted
mlx5_common: Fai= led to load driver mlx5_eth
EAL: Requested device f97e:00:02.0 cannot be= used
EAL: Bus (pci) probe failed.
hn_vf_attach(): Couldn't find = port for VF
hn_vf_add(): RNDIS reports VF but device not found, retrying=
hn_vf_attach(): Couldn't find port for VF
hn_vf_add(): RNDIS rep= orts VF but device not found, retrying
and so on in a loop

Also, with debug logs I see
mlx5_common: DevX read access NIC re= gister=3D0X9055 failed errno=3D22 status=3D0 syndrome=3D0
mlx5_common: D= evX read access NIC register=3D0X9055 failed errno=3D22 status=3D0 syndrome= =3D0
mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 22 status=3D0 syndrome=3D0

The DPDK version = is 22.11, running on
Linux dpdk0 5.15.0-1053-azure #61~20.04.1-Ub= untu=C2=A0
VM type=C2=A0D8ls v5, accelerated networking is o= n for two ports

driverctl -b vmbus list-devices
000d3a1c-e0df-000d-3a1c-e0df000d3a1c hv_netvsc
000d3a= 1e-4573-000d-3a1e-4573000d3a1e uio_hv_generic [*]
000d= 3a1e-47da-000d-3a1e-47da000d3a1e uio_hv_generic [*]


= Any, ideas what I might be doing wrong? I see the same behavio= r with testpmd and my app.=C2=A0

--0000000000008bd244060f9c2aea--