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 2AF9943C4B for ; Fri, 8 Mar 2024 22:19:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA90740291; Fri, 8 Mar 2024 22:19:21 +0100 (CET) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mails.dpdk.org (Postfix) with ESMTP id E641240274 for ; Fri, 8 Mar 2024 22:19:20 +0100 (CET) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d27184197cso31332801fa.1 for ; Fri, 08 Mar 2024 13:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709932760; x=1710537560; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PhCSGwwlwKqFDUsqGNjrGvsR7gvITh+GnnYtlG/HnYM=; b=GIPqRAz82b2QL+ONPIxgm6lK/8WcTSnAX5ROc/OGcQw6giqe6FkShQSwvsGtLanZnd OhecGLxQLYzwJ2n+lgWYVTGmERkNKcgq9Q+npa5cBRssP1vvSRsxfZjNCnbVpkeMiPdR Utl4yV7hHUL9Xn76ibVoYgEYPqsT58YHh4wsNyzv+xfAJCuyaY04lPcudFcT1yeRSV5Z gVMvueIHOgfm0rgdHKNCEozogpyQKLkd9ZpzxEPwv4H9fVRps88fvJaXdl9EpstyBpFd h6GMPGVkkFZhaxmBMHLPlpvTMJUkgtUJEF5IhA993H7H1FJJg2Gi/Psdg83ClFjSOTvR WSfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709932760; x=1710537560; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PhCSGwwlwKqFDUsqGNjrGvsR7gvITh+GnnYtlG/HnYM=; b=o2usJD/aZ/DCxwPk0krcG9hPpUAXTXkeBOkE1VMxP8hx14XP46+Qtypy9pVSJzzxOv eG4KHoxnAdZ/F/dDIgo+8B+MEOzk7DaWCGHwIqFxFj8HvVnGgq5RGYjrhqzfQVNj/mZT jO5ANDX4zPx30IAGis1hiilkSMyTFVYlxH+rV4Jxwf6vn0tJZlPDGkVsGPbR/Xrfq287 3Hnr0QdTxk4fsjkkREF9bdWVwr/Jg8iVR8GJibAtiCAeNdnfrgyMObpPg59YJFh8TKFS W0d2Pu61YmFhfW8AauSyi7aTL2ea7duZc2ATt+DcfC6328VSDAW7pV+h8tFTk9xlx58Y AhYA== X-Gm-Message-State: AOJu0Yz6DeZE94uTIZY6nrSbLhoz82DDV1Zxt2rBAtslnIzkjsTO+Q47 uN42vjmq136Ug8uqFVNX3pQ/Bjhvlx6gLnEc4OveYbVJWGYHBBDfiCtTbmQob43V5sijAArcgAX 0ux/cASrfHmyRanO4KbyXm0qKTotXNgVfD9Y9og== X-Google-Smtp-Source: AGHT+IFdW9XeG/MDrt6TEIS0B6AqR9p+7o+RHsJnJU00oSLsNCcLSow0+MbI3v2VBX9p9R6kIzK4ISJm7ZrWhv/w2mQ= X-Received: by 2002:a2e:681a:0:b0:2d3:f6a8:122 with SMTP id c26-20020a2e681a000000b002d3f6a80122mr251821lja.47.1709932759518; Fri, 08 Mar 2024 13:19:19 -0800 (PST) MIME-Version: 1.0 From: sonntex Date: Fri, 8 Mar 2024 21:19:08 +0000 Message-ID: Subject: testpmd: no probed ethernet devices i219-v vfio-pci To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000b8953e06132cbedf" 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 --000000000000b8953e06132cbedf Content-Type: text/plain; charset="UTF-8" Hi, I am trying to configure dpdk on my laptop and get "no probed ethernet devices" in dpdk-testpmd utility: laptop :: ~ % sudo dpdk-testpmd -l 0-1 -n 4 --log-level=debug -- -i EAL: Detected CPU lcores: 8 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized testpmd: No probed ethernet devices Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Done testpmd> ... Checked that dpdk 23.07 supports this my NIC at http://doc.dpdk.org/guides/rel_notes/release_23_07.html: Intel Corporation Ethernet Connection (16) I219-V Firmware version: 0.6-4 Device id (pf): 8086:1a1f Driver version(in-tree): 5.15.113-rt64 (Ubuntu22.04.2)(e1000) Configuration: laptop :: ~ % pacman -Ss dpdk extra/dpdk 23.07-1 [installed] A set of libraries and drivers for fast packet processing laptop :: ~ % sudo ethtool -i enp0s31f6 driver: e1000e version: 6.7.8-arch1-1 firmware-version: 0.6-4 expansion-rom-version: bus-info: 0000:00:1f.6 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes laptop :: ~ % sudo modprobe vfio-pci laptop :: ~ % sudo lsmod | grep vfio vfio_pci 16384 0 vfio_pci_core 86016 1 vfio_pci vfio_iommu_type1 45056 0 vfio 73728 3 vfio_pci_core,vfio_iommu_type1,vfio_pci iommufd 106496 1 vfio irqbypass 12288 2 vfio_pci_core,kvm laptop :: ~ % sudo dpdk-hugepages.py -m laptop :: ~ % sudo dpdk-hugepages.py -p 2M --setup 1G laptop :: ~ % sudo dpdk-hugepages.py -s Node Pages Size Total 0 512 2Mb 1Gb Hugepages mounted on /dev/hugepages laptop :: ~ % sudo dpdk-devbind.py --status-dev net Network devices using kernel driver =================================== 0000:00:14.3 'Comet Lake PCH-LP CNVi WiFi 02f0' if=wlan0 drv=iwlwifi unused= *Active* 0000:00:1f.6 'Ethernet Connection (10) I219-V 0d4f' if=enp0s31f6 drv=e1000e unused= laptop :: ~ % sudo dpdk-devbind.py -b vfio-pci 0000:00:1f.6 laptop :: ~ % sudo dpdk-devbind.py --status-dev net Network devices using DPDK-compatible driver ============================================ 0000:00:1f.6 'Ethernet Connection (10) I219-V 0d4f' drv=vfio-pci unused=e1000e Network devices using kernel driver =================================== 0000:00:14.3 'Comet Lake PCH-LP CNVi WiFi 02f0' if=wlan0 drv=iwlwifi unused=vfio-pci *Active Any suggestions on what might be missing here? Thanks! --000000000000b8953e06132cbedf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to configure dpdk on my laptop and = get "no probed ethernet devices" in dpdk-testpmd utility:

= laptop :: ~ % sudo dpdk-testpmd -l 0-1 -n 4 --log-level=3Ddebug -- -i
EA= L: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected s= tatic linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_soc= ket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialize= d
testpmd: No probed ethernet devices
Interactive-mode selected
te= stpmd: create a new mbuf pool <mb_pool_0>: n=3D155456, size=3D2176, s= ocket=3D0
testpmd: preferred mempool ops selected: ring_mp_mc
Donetestpmd> ...

Checked that dpdk 23.07 supports this my NIC at http://doc= .dpdk.org/guides/rel_notes/release_23_07.html:

Intel Corporation= Ethernet Connection (16) I219-V
Firmware version: 0.6-4
Device id (p= f): 8086:1a1f
Driver version(in-tree): 5.15.113-rt64 (Ubuntu22.04.2)(e10= 00)

Configuration:

laptop :: ~ % pacman -Ss dpdk
extra/dpd= k 23.07-1 [installed]
=C2=A0 =C2=A0 A set of libraries and drivers for f= ast packet processing

laptop :: ~ % sudo ethtool -i enp0s31f6
dri= ver: e1000e
version: 6.7.8-arch1-1
firmware-version: 0.6-4
expansi= on-rom-version:
bus-info: 0000:00:1f.6
supports-statistics: yes
su= pports-test: yes
supports-eeprom-access: yes
supports-register-dump: = yes
supports-priv-flags: yes

laptop :: ~ % sudo modprobe vfio-pci=
laptop :: ~ % sudo lsmod | grep vfio
vfio_pci =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 16384 =C2=A00
vfio_pci_core =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A086016 =C2=A01 vfio_pci
vfio_iommu_type1 =C2=A0 =C2= =A0 =C2=A0 45056 =C2=A00
vfio =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 73728 =C2=A03 vfio_pci_core,vfio_iommu_type1,vfio_pci<= br>iommufd =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 106496 =C2=A01 = vfio
irqbypass =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A012288 =C2= =A02 vfio_pci_core,kvm

laptop :: ~ % sudo dpdk-hugepages.py -m
la= ptop :: ~ % sudo dpdk-hugepages.py -p 2M --setup 1G
laptop :: ~ % sudo d= pdk-hugepages.py -s
Node Pages Size Total =C2=A0
0 =C2=A0 =C2=A0512 = =C2=A0 2Mb =C2=A0 =C2=A01Gb
Hugepages mounted on /dev/hugepages

l= aptop :: ~ % sudo dpdk-devbind.py --status-dev net
Network devices using= kernel driver
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:14.3 'Comet= Lake PCH-LP CNVi WiFi 02f0' if=3Dwlan0 drv=3Diwlwifi unused=3D *Active= *
0000:00:1f.6 'Ethernet Connection (10) I219-V 0d4f' if=3Denp0s= 31f6 drv=3De1000e unused=3D

laptop :: ~ % sudo dpdk-devbind.py -b vf= io-pci 0000:00:1f.6
laptop :: ~ % sudo dpdk-devbind.py --status-dev net<= br>Network devices using DPDK-compatible driver
=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:1f.6 'Ethernet Connection = (10) I219-V 0d4f' drv=3Dvfio-pci unused=3De1000e
Network devices usi= ng kernel driver
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:14.3 'Co= met Lake PCH-LP CNVi WiFi 02f0' if=3Dwlan0 drv=3Diwlwifi unused=3Dvfio-= pci *Active

Any suggestions on what might be missing here?

Th= anks!


--000000000000b8953e06132cbedf--