<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);">
<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="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>
</body>
</html>