[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dpdk-users
Subject:    Unable to run dpdk -dumpcap  with Mellanox
From:       Ariba Ehtesham <ariba () dreambigsemi ! com>
Date:       2022-03-25 8:00:45
Message-ID: MW3PR22MB2332D050C9F7F1EA2EE7D68CCD1A9 () MW3PR22MB2332 ! namprd22 ! prod ! outlook ! com
[Download RAW message or body]

Hi ,
Can someone please guide me about dpdk dumpcap application with testpmd .
while running application I am getting following errors:

sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pcapng
Device 0000:04:00.0 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:04:00.0 aborted after encountering an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:04:00.0 cannot be used
Device 0000:04:00.1 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:04:00.1 aborted after encountering an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:04:00.1 cannot be used
Device 0000:81:00.0 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:81:00.0 aborted after encountering an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:81:00.0 cannot be used
Device 0000:81:00.1 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:81:00.1 aborted after encountering an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:81:00.1 cannot be used
EAL: Error - exiting with code: 1
  Cause: No Ethernet ports found

Commands :
dpdk -22.03
sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pcapng

sudo ./build/app/dpdk-testpmd -c 0xf0 -n 4 -a 04:00.1 -- -i --port-topology=chained



Regards,
Ariba Ehtesham


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body 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&nbsp;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 &nbsp;-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>&nbsp; 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 &nbsp;-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>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic