<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 class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,<br>
I'm testing pktgen application using OpenNIC driver, but I face device cannot parse issue ,<br>
What do I need to pass in my vdev parameter for it to run<br>
<br>
Below are the logs of the error I'm facing<br>
$sudo ./usr/local/bin/pktgen --vdev 'eth_af_packet0,iface=enp1s0f0' --vdev 'eth_af_packet1,iface=enp1s0f1'   -l 2-10 -n 4  -- -m [3:4].0 -m [6:7].1<br>
Copyright(c) <2010-2021>, Intel Corporation. All rights reserved. Powered by DPDK</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
EAL: Detected 12 lcore(s)</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
EAL: Detected 1 NUMA nodes</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
EAL: failed to parse device "eth_af_packet0"</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
EAL: Unable to parse device 'eth_af_packet0,iface=enp1s0f0'<br>
<br>
<br>
I have tried passing eth_pcap, net_pcap and net_af_packet as well but there's no progress in the output.<br>
<br>
Thanks in advance <br>
Best Regards</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Nafiah Siddiqha<br>
<br>
</div>
</body>
</html>