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 A4CB545A1C; Tue, 24 Sep 2024 18:26:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 363A14028E; Tue, 24 Sep 2024 18:26:03 +0200 (CEST) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 9C95940274 for ; Tue, 24 Sep 2024 18:26:01 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2d877e9054eso4011387a91.3 for ; Tue, 24 Sep 2024 09:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727195160; x=1727799960; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KLVWlh4RAzTRk35OZYpVv0RLNqsr/29Rs8HSlBQTuD0=; b=jZxbHmsFad0YopD4n9VIMv/VRfTqCjHHGeZ1yKMYQrT19l2T4y9r3zwU6ZHsrIyv17 QgjxReco7R78awQZmlnuY1xAxR2VGMGdszKuKOSYfldgyPYe0H/ay7O2pJeIr1kZ70pm oHn1mvTC2iN3nuQGWiy3JxXgdD1a4p1C3NIcqTVnBSNudduSVb6muCNQ2nGPoajdgjBj Lwxv1HVIJpixcPVcPqin9unL/H8YGnla4QIUboi9M46QkJcQjLl7UivchuHXxwW1KTSc 4nDcufAVPjFUW08ZodFsQtaWp0FsgDBgV8fs8NOEYsvCXgB167QPquGT2Z7sGja1k1ug 6EtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727195160; x=1727799960; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KLVWlh4RAzTRk35OZYpVv0RLNqsr/29Rs8HSlBQTuD0=; b=p4QvQUeQ3O8r2/j2gp33Zigsac/V3Ip0wi5QIaB4Zr9Vex7OxTx6J1lY+wxHe1Saq2 mOas8t3t79CQ/jlShegC7IZFFD4oe3YjS2iTiPuHlnMxWE3d95n1k5YA9o18cP3aNSUb nwz07suTnOMwJiPefZ6rks8T9hJMrSde14HCzgwXfsGRCIroq/YPq/WNrygfKnpBNHMD gSZr50Bs0mXlVU5YhGvnxnJHTqpQIbN4oHlLZispemKZgB8WJPSxAsQbauwMfC4a0jFr KpXwsBRIcyymdUOG64shCtPSlPlDPJBsQz/Dg4Hhvissm4YfbU9IixopOYYcseDaqyXu d1Lw== X-Gm-Message-State: AOJu0YwZGsq7fQpqaAWz23SukovZ8Vc5vZh5Rg2UdlLMV+9VR4v9kmuH gq+LWz5T01m8FaS1UZVzycAg0MECOpGgq8Ok5/yjXkaop6JxDs/0r2pMYeSJlhmqdXzM9CSaspO bYHrO8gC42BtXUcX9o+MjE38BVcD+bWnv X-Google-Smtp-Source: AGHT+IFW0YF217P52xw6w9DMC6daOeU9CeJ3/fvg9JZmDLUq3rtiKy3BKTsJXvdtw4YNMgbur4i1feRUbq8uTnSGLys= X-Received: by 2002:a17:90b:384a:b0:2d8:f7e2:eff with SMTP id 98e67ed59e1d1-2dd7f727eb0mr18867373a91.36.1727195159990; Tue, 24 Sep 2024 09:25:59 -0700 (PDT) MIME-Version: 1.0 From: Rajasekhar Pulluru Date: Tue, 24 Sep 2024 21:55:45 +0530 Message-ID: Subject: [Azure] [ConnectX-3] net_mlx4: cannot access device, is mlx4_ib loaded? To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000f81c310622dff591" 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 --000000000000f81c310622dff591 Content-Type: text/plain; charset="UTF-8" Hi Team, Unable to attach ConnectX-3 mlx4 interfaces(uio_hv_generic) in DPDK. testpmd application reports below errors. mlx4_ib is loaded. Not sure if I am missing anything here. Appreciate any help to resolve this. *EAL: Detected CPU lcores: 8EAL: Detected NUMA nodes: 1EAL: Detected static linkage of DPDKEAL: Multi-process socket /var/run/dpdk/rte/mp_socketEAL: Selected IOVA mode 'PA'EAL: Probe PCI driver: net_mlx4 (15b3:1004) device: 44be:00:02.0 (socket 0)net_mlx4: cannot access device, is mlx4_ib loaded?EAL: Requested device 44be:00:02.0 cannot be usedEAL: Probe PCI driver: net_mlx4 (15b3:1004) device: 9d69:00:02.0 (socket 0)net_mlx4: cannot access device, is mlx4_ib loaded?EAL: Requested device 9d69:00:02.0 cannot be usedEAL: Probe PCI driver: net_mlx4 (15b3:1004) device: a5e7:00:02.0 (socket 0)net_mlx4: cannot access device, is mlx4_ib loaded?EAL: Requested device a5e7:00:02.0 cannot be usedEAL: Probe PCI driver: net_mlx4 (15b3:1004) device: f25c:00:02.0 (socket 0)net_mlx4: cannot access device, is mlx4_ib loaded?EAL: Requested device f25c:00:02.0 cannot be usedhn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retryinghn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retryinghn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retryingTELEMETRY: No legacy callbacks, legacy socket not createdtestpmd: create a new mbuf pool : n=171456, size=2176, socket=0testpmd: preferred mempool ops selected: ring_mp_mchn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retryinghn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retryingEAL: Error - exiting with code: 1 Cause: Creation of mbuf pool for socket 0 failed: Cannot allocate memory* Thanks & Regards, Rajasekhar --000000000000f81c310622dff591 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,
Unable to attach ConnectX-3 mlx4 interfaces(ui= o_hv_generic) in DPDK. testpmd application reports below errors. mlx4_ib is= loaded. Not sure if I am missing anything here. Appreciate any help to res= olve this.

EAL: Detected CPU lcores: 8
EAL: Detected NUMA nod= es: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket = /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL:= Probe PCI driver: net_mlx4 (15b3:1004) device: 44be:00:02.0 (socket 0)
= net_mlx4: cannot access device, is mlx4_ib loaded?
EAL: Requested device= 44be:00:02.0 cannot be used
EAL: Probe PCI driver: net_mlx4 (15b3:1004)= device: 9d69:00:02.0 (socket 0)
net_mlx4: cannot access device, is mlx4= _ib loaded?
EAL: Requested device 9d69:00:02.0 cannot be used
EAL: Pr= obe PCI driver: net_mlx4 (15b3:1004) device: a5e7:00:02.0 (socket 0)
net= _mlx4: cannot access device, is mlx4_ib loaded?
EAL: Requested device a5= e7:00:02.0 cannot be used
EAL: Probe PCI driver: net_mlx4 (15b3:1004) de= vice: f25c:00:02.0 (socket 0)
net_mlx4: cannot access device, is mlx4_ib= loaded?
EAL: Requested device f25c:00:02.0 cannot be used
hn_vf_atta= ch(): Couldn't find port for VF
hn_vf_add(): RNDIS reports VF but de= vice not found, retrying
hn_vf_attach(): Couldn't find port for VFhn_vf_add(): RNDIS reports VF but device not found, retrying
hn_vf_att= ach(): Couldn't find port for VF
hn_vf_add(): RNDIS reports VF but d= evice not found, retrying
TELEMETRY: No legacy callbacks, legacy socket = not created
testpmd: create a new mbuf pool <mb_pool_0>: n=3D17145= 6, size=3D2176, socket=3D0
testpmd: preferred mempool ops selected: ring= _mp_mc
hn_vf_attach(): Couldn't find port for VF
hn_vf_add(): RND= IS 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, r= etrying
EAL: Error - exiting with code: 1
=C2=A0 Cause: Creation of m= buf pool for socket 0 failed: Cannot allocate memory

<= /i>
Thanks & Regards,
Rajasekhar
--000000000000f81c310622dff591--