<div dir="ltr">Have you allocated huge pages? <a href="http://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#use-of-hugepages-in-the-linux-environment">http://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#use-of-hugepages-in-the-linux-environment</a><div>Check huge pages using ./dpdk-hugepages.py -s </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 29 мар. 2022 г. в 11:21, Ariba Ehtesham <<a href="mailto:ariba@dreambigsemi.com">ariba@dreambigsemi.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi ,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Can someone please guide me about dpdk dumpcap application with testpmd .</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
while running application I am getting following errors:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pcapng
<div>Device 0000:04:00.0 is not driven by the primary process</div>
<div>mlx5_net: can not attach rte ethdev</div>
<div>mlx5_net: probe of PCI device 0000:04:00.0 aborted after encountering an error: Cannot allocate memory</div>
<div>mlx5_common: Failed to load driver mlx5_eth</div>
<div>EAL: Requested device 0000:04:00.0 cannot be used</div>
<div>Device 0000:04:00.1 is not driven by the primary process</div>
<div>mlx5_net: can not attach rte ethdev</div>
<div>mlx5_net: probe of PCI device 0000:04:00.1 aborted after encountering an error: Cannot allocate memory</div>
<div>mlx5_common: Failed to load driver mlx5_eth</div>
<div>EAL: Requested device 0000:04:00.1 cannot be used</div>
<div>Device 0000:81:00.0 is not driven by the primary process</div>
<div>mlx5_net: can not attach rte ethdev</div>
<div>mlx5_net: probe of PCI device 0000:81:00.0 aborted after encountering an error: Cannot allocate memory</div>
<div>mlx5_common: Failed to load driver mlx5_eth</div>
<div>EAL: Requested device 0000:81:00.0 cannot be used</div>
<div>Device 0000:81:00.1 is not driven by the primary process</div>
<div>mlx5_net: can not attach rte ethdev</div>
<div>mlx5_net: probe of PCI device 0000:81:00.1 aborted after encountering an error: Cannot allocate memory</div>
<div>mlx5_common: Failed to load driver mlx5_eth</div>
<div>EAL: Requested device 0000:81:00.1 cannot be used</div>
<div>EAL: Error - exiting with code: 1</div>
<span>  Cause: No Ethernet ports found</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b>Commands :</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b>dpdk -22.03</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b>sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pcapng<br>
</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b><br>
</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b>sudo ./build/app/dpdk-testpmd -c 0xf0 -n 4 -a 04:00.1 -- -i --port-topology=chained<br>
</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b><br>
</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b><br>
</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span>Regards,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span>Ariba Ehtesham</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span><b><br>
</b></span></div>
</div>

</blockquote></div>