<div dir="auto">Haider, have u installed mlx5 drivers in vm server? What setup u r using. A little more detail will help</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 4, 2022, 1:06 PM Haider Ali <<a href="mailto:haider@dreambigsemi.com">haider@dreambigsemi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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)">
<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)">
Can anyone please guide me on why I am not able to do hairpin on VF? <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">I am running the testpmd application with 1 Hairpin queue and 1 standard queue pair on Mellanox VF but getting
 following error:</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)">
<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-testpmd -l 1,3 -n 4 -a 04:01.2 -- -i --rxq=1 --txq=1 --hairpinq=1 --hairpin-mode=0x00<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<b>EAL: Probe PCI driver: mlx5_pci (15b3:101e) device: 0000:04:01.2 (socket 0)</b>
<div>TELEMETRY: No legacy callbacks, legacy socket not created</div>
<div>Interactive-mode selected</div>
<div>testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1</div>
<div>testpmd: preferred mempool ops selected: ring_mp_mc</div>
<div>testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0</div>
<div>testpmd: preferred mempool ops selected: ring_mp_mc</div>
<div><br>
</div>
<div>Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.</div>
<div><br>
</div>
<div>Configuring Port 0 (socket 0)</div>
<div><b>mlx5_net: port 0 failed to set defaults flows</b></div>
<div><b>Fail to start port 0: Operation not supported</b></div>
<div><b>Please stop the ports first</b></div>
<div>Done</div>
<span>testpmd> quit</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div id="m_5750436004268234650Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Haider Ali</div>
</div>
</div>
</div>
</div>

</blockquote></div>