From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0057A3160 for ; Fri, 11 Oct 2019 08:28:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E37D1E947; Fri, 11 Oct 2019 08:28:22 +0200 (CEST) Received: from sonic311-25.consmr.mail.gq1.yahoo.com (sonic311-25.consmr.mail.gq1.yahoo.com [98.137.65.206]) by dpdk.org (Postfix) with ESMTP id E350A1E92B for ; Fri, 11 Oct 2019 08:28:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1570775299; bh=XYU6PWhIUFdTupAVXPYPkoUtI2Nv+Fxz6sZTDmE8KiE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=AVN74JfRBazOiFMv+ZADZVSRL0IWLDDpLnStwlljqcuAxB1TTIk1J+0KEiw/S9DgOXJQWJUQZmntKHbPy10XB/3wxeizw7q9TPWiQDp8w7e/BrYYN2ij/IKbrXr21bn36rYbLXNr+WzRlizlNQkQCxMN02yXlaoDGoAZd+II+jZhyoriZ15dYQ4svwEu8LcM0pqcDjY0dnXujX32BLNsDvTnhiInEbpx4KaMZO8JKLsZUs6igUC8Ef98fzxegmwBQzo0e7vLt54Jf3e8LCIHXsmojLY+WCSUgE778t43RkGxfMVdZo/1vxjPzC5U5hJstlzl+Xx47FzamgM2Tf3lQA== X-YMail-OSG: y8X1ZXAVM1m5qUe8luO5BQp1KfW9q.y04jaW8e1KhQn1n7pCLj.fjoTF4IfB4op uV4agrLrA6WxV4koFnuT_tSG7JN2g46bDq7Fqnnj6EmgZSl5fGK65u3eYig9pPxHx8fQsB7DwXbK GbZ4xME6T6tmcXe_CszgU3D1Qi_0_NQvRcCYkrY3UshmKV9EeksXnBm1vEINC7VUdvO6DeFAzV24 rYR.tdu_ATZKJ8wnow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2hbC14KgKHca3HSamHQZXz_v0S_xsqMpSLSpZN3d18q2DdaJl90pmzUYv6d.61uy lNoEh57Z9rciGSJmnbKcoLITMjKMx9pfq_2_RiYRObmuIhu6AAGTQys3wz_StMg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Fri, 11 Oct 2019 06:28:19 +0000 Date: Fri, 11 Oct 2019 06:28:14 +0000 (UTC) From: sachin gupta To: Stephen Hemminger Cc: "users@dpdk.org" Message-ID: <1662280955.810704.1570775294586@mail.yahoo.com> In-Reply-To: <20191009181251.0e6d05cb@hermes.lan> References: <215431052.5313737.1570521552689.ref@mail.yahoo.com> <215431052.5313737.1570521552689@mail.yahoo.com> <20191009181251.0e6d05cb@hermes.lan> MIME-Version: 1.0 X-Mailer: WebService/1.1.14498 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] KNI Error while Running KNI example on Google CLoud X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Thanks for the response. Just sending the mail again, hopefully in the right format For the 2 NIC part, i avoided that by doing the unbind/bind from the consol= e. Still saw the same issue. =C2=A0RegardsSachin =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DSTART=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=3D=3D=3D=3D=3D=3D=3D EAL: Detected 2 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket/var/run/dpdk/rte/mp_socket EAL: No free hugepages reported inhugepages-1048576kBEAL: Probing VFIO supp= ort...Oct 8 07:35:17 master-nodekni[19444]:=C2=A0 EAL: Probing VFIO support... EAL: PCI device 0000:00:04.0 on NUMAsocket -1 EAL: Invalid NUMA socket, default to0 EAL: probe driver: 1af4:1000net_virtioOct 8 07:35:17 master-node kni[19444]= :=C2=A0 EAL: PCI device 0000:00:04.0 on NUMAsocket -1Oct 8 07:35:17 master-node kni= [19444]:=C2=A0 EAL: Invalid NUMA socket, default to0Oct 8 07:35:17 master-node kni[19444]:= =C2=A0 EAL: probe driver: 1af4:1000 net_virtio EAL: Error - exiting with code: 1Cause: No supported Ethernet device foundO= ct 8 07:35:17 master-nodekni[19444]:=C2=A0 EAL: Error - exiting with code: 1#012Cause:Oct 8 07:35:17 master-node kni[1= 9444]: No supported Ethernet device found =C2=A0 =C2=A0 I have set 128 hugepages each of size128KB =C2=A0 AnonHugePages:=C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A00 kB ShmemHugePages:=C2=A0 =C2=A0 =C2=A0=C2=A0 0 kB HugePages_Total:=C2=A0 =C2=A0=C2=A0128 HugePages_Free:=C2=A0 =C2=A0 =C2=A0114 HugePages_Rsvd:=C2=A0 =C2=A0 =C2=A0=C2=A0 0 HugePages_Surp:=C2=A0 =C2=A0 =C2=A0=C2=A0 0 Hugepagesize:=C2=A0 =C2=A0 =C2=A0=C2=A02048 kB =C2=A0 =C2=A0 =C2=A0 =C2=A0 ens4:flags=3D4163=C2=A0 mtu 1460 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet10.128.0.17=C2=A0 netmask 255.255.255.255= =C2=A0 broadcast 0.0.0.0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6fe80::4001:aff:fe80:11=C2=A0 prefixlen 64= =C2=A0 scopeid 0x20 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether42:01:0a:80:00:11=C2=A0 txqueuelen 1000=C2= =A0 (Ethernet) =C2=A0 =C2=A0 =C2=A0 =C2=A0 RXpackets 2064=C2=A0 bytes 5260296 (5.2 MB) =C2=A0 =C2=A0 =C2=A0 =C2=A0 RX errors0=C2=A0 dropped 0=C2=A0 overruns 0=C2= =A0 frame 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TXpackets 2001=C2=A0 bytes 183154 (183.1 KB) =C2=A0 =C2=A0 =C2=A0 =C2=A0 TX errors0=C2=A0 dropped 0 overruns 0=C2=A0 car= rier 0=C2=A0 collisions 0 =C2=A0 =C2=A0 =C2=A0 soot@master-node:~/dpdk/dpdk-stable-18.11.2#./usertools/dpdk-devbind.py --s= tatu=C2=A0 =C2=A0 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:04.0 'Virtio network device1000' if=3Dens4 drv=3Dvirtio-pci unused= =3D *Active* =C2=A0 No 'Crypto' devices detected =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 =C2=A0 No 'Eventdev' devices detected =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 =C2=A0 No 'Mempool' devices detected =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 =C2=A0 No 'Compress' devices detected =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 =C2=A0 =C2=A0 =C2=A0=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=3DEND =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=3D=3D=3D=3D=3D=3D On Thursday, October 10, 2019, 06:47:01 AM GMT+5:30, Stephen Hemminger = wrote: =20 =20 On Tue, 8 Oct 2019 07:59:12 +0000 (UTC) sachin gupta wrote: > Hi All,When i run the KNI sample application on Google Cloud, i get the f= ollowing error >=20 >=20 >=20 > EAL: Detected 2 lcore(s)EAL: Detected 1 NUMA nodesEAL: Multi-process sock= et /var/run/dpdk/rte/mp_socketEAL: No free hugepages reported in hugepages-= 1048576kBEAL: Probing VFIO support...Oct 8 07:35:17 master-node kni[19444]:= =C2=A0EAL: Probing VFIO support...EAL: PCI device 0000:00:04.0 on NUMA sock= et -1EAL: Invalid NUMA socket, default to 0EAL: probe driver: 1af4:1000 net= _virtioOct 8 07:35:17 master-node kni[19444]:=C2=A0EAL: PCI device 0000:00:= 04.0 on NUMA socket -1Oct 8 07:35:17 master-node kni[19444]:=C2=A0EAL: Inva= lid NUMA socket, default to 0Oct 8 07:35:17 master-node kni[19444]:=C2=A0EA= L: probe driver: 1af4:1000 net_virtioEAL: Error - exiting with code: 1 Caus= e: No supported Ethernet device foundOct 8 07:35:17 master-node kni[19444]:= =C2=A0EAL: Error - exiting with code: 1#012 Cause:Oct 8 07:35:17 master-nod= e kni[19444]: No supported Ethernet device found >=20 > I have set 128 hugepages each of size 128KB > AnonHugePages:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 kBShmemHugePages:=C2=A0= =C2=A0 =C2=A0 =C2=A0 0 kBHugePages_Total:=C2=A0 =C2=A0 =C2=A0128HugePages_= Free:=C2=A0 =C2=A0 =C2=A0 114HugePages_Rsvd:=C2=A0 =C2=A0 =C2=A0 =C2=A0 0Hu= gePages_Surp:=C2=A0 =C2=A0 =C2=A0 =C2=A0 0Hugepagesize:=C2=A0 =C2=A0 =C2=A0= =C2=A02048 kB >=20 >=20 >=20 > ens4: flags=3D4163=C2=A0 mtu 1460=C2=A0 = =C2=A0 =C2=A0 =C2=A0 inet 10.128.0.17=C2=A0 netmask 255.255.255.255=C2=A0 b= roadcast 0.0.0.0=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::4001:aff:fe80:11=C2= =A0 prefixlen 64=C2=A0 scopeid 0x20=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether = 42:01:0a:80:00:11=C2=A0 txqueuelen 1000=C2=A0 (Ethernet)=C2=A0 =C2=A0 =C2= =A0 =C2=A0 RX packets 2064=C2=A0 bytes 5260296 (5.2 MB)=C2=A0 =C2=A0 =C2=A0= =C2=A0 RX errors 0=C2=A0 dropped 0=C2=A0 overruns 0=C2=A0 frame 0=C2=A0 = =C2=A0 =C2=A0 =C2=A0 TX packets 2001=C2=A0 bytes 183154 (183.1 KB)=C2=A0 = =C2=A0 =C2=A0 =C2=A0 TX errors 0=C2=A0 dropped 0 overruns 0=C2=A0 carrier 0= =C2=A0 collisions 0 >=20 >=20 > soot@master-node:~/dpdk/dpdk-stable-18.11.2# ./usertools/dpdk-devbind.py = --statu=C2=A0 > 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=3D0000:0= 0:04.0 'Virtio network device 1000' if=3Dens4 drv=3Dvirtio-pci unused=3D *A= ctive* > No 'Crypto' devices detected=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 > No 'Eventdev' devices detected=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 > No 'Mempool' devices detected=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 > No 'Compress' devices detected=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 >=20 > ThanksSachin Hard to tell on this email, bad line wrapping (and which ended up in spam f= older). But the startup output indicates you did not configure huge pages. Did you use dpdk-setup.sh ? With virtio you need to unbind the device from the kernel and bind it to dp= dk with dpdk-devbind or manually. In a cloud that means you need to have two Ethernet devices, one for DPDK and one for logging in SSH etc. Also last time I checked Google Cloud had a custom version of virtio and do= n't think virtio developers test wit that. =20