<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);">
I am not using mlx5 VF in VM. Can you please elaborate on what type of setup information you require?</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<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 id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Muhammad Zain-ul-Abideen <zain2294@gmail.com><br>
<b>Sent:</b> Friday, February 4, 2022 5:23 PM<br>
<b>To:</b> Haider Ali <haider@dreambigsemi.com><br>
<b>Cc:</b> users <users@dpdk.org><br>
<b>Subject:</b> Re: Mellanox VF failed to start with hairpin queues</font>
<div> </div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody>
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>You don't often get email from zain2294@gmail.com. <a href="http://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<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="x_gmail_quote">
<div dir="ltr" class="x_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="x_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="x_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>
</div>
</div>
</body>
</html>