Haider, have u installed mlx5 drivers in vm server? What setup u r using. A little more detail will help On Fri, Feb 4, 2022, 1:06 PM Haider Ali wrote: > Hi, > > Can anyone please guide me on why I am not able to do hairpin on VF? I am > running the testpmd application with 1 Hairpin queue and 1 standard queue > pair on Mellanox VF but getting following error: > > $ sudo ./build/app/dpdk-testpmd -l 1,3 -n 4 -a 04:01.2 -- -i --rxq=1 > --txq=1 --hairpinq=1 --hairpin-mode=0x00 > > *EAL: Probe PCI driver: mlx5_pci (15b3:101e) device: 0000:04:01.2 (socket > 0)* > TELEMETRY: No legacy callbacks, legacy socket not created > Interactive-mode selected > testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 > testpmd: preferred mempool ops selected: ring_mp_mc > testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 > testpmd: preferred mempool ops selected: ring_mp_mc > > Warning! port-topology=paired and odd forward ports number, the last port > will pair with itself. > > Configuring Port 0 (socket 0) > *mlx5_net: port 0 failed to set defaults flows* > *Fail to start port 0: Operation not supported* > *Please stop the ports first* > Done > testpmd> quit > > Regards, > Haider Ali >