* Mellanox VF failed to start with hairpin queues @ 2022-01-28 12:31 Haider Ali 2022-02-04 12:23 ` Muhammad Zain-ul-Abideen 0 siblings, 1 reply; 5+ messages in thread From: Haider Ali @ 2022-01-28 12:31 UTC (permalink / raw) To: users [-- Attachment #1: Type: text/plain, Size: 1042 bytes --] 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 <mb_pool_1>: n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_0>: 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 [-- Attachment #2: Type: text/html, Size: 2995 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Mellanox VF failed to start with hairpin queues 2022-01-28 12:31 Mellanox VF failed to start with hairpin queues Haider Ali @ 2022-02-04 12:23 ` Muhammad Zain-ul-Abideen 2022-02-07 13:12 ` Haider Ali 0 siblings, 1 reply; 5+ messages in thread From: Muhammad Zain-ul-Abideen @ 2022-02-04 12:23 UTC (permalink / raw) To: Haider Ali; +Cc: users [-- Attachment #1: Type: text/plain, Size: 1261 bytes --] 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 <haider@dreambigsemi.com> 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 <mb_pool_1>: n=155456, size=2176, socket=1 > testpmd: preferred mempool ops selected: ring_mp_mc > testpmd: create a new mbuf pool <mb_pool_0>: 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 > [-- Attachment #2: Type: text/html, Size: 3132 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Mellanox VF failed to start with hairpin queues 2022-02-04 12:23 ` Muhammad Zain-ul-Abideen @ 2022-02-07 13:12 ` Haider Ali 2022-02-22 17:56 ` Asaf Penso 0 siblings, 1 reply; 5+ messages in thread From: Haider Ali @ 2022-02-07 13:12 UTC (permalink / raw) To: Muhammad Zain-ul-Abideen; +Cc: users [-- Attachment #1: Type: text/plain, Size: 1770 bytes --] I am not using mlx5 VF in VM. Can you please elaborate on what type of setup information you require? Regards, Haider Ali ________________________________ From: Muhammad Zain-ul-Abideen <zain2294@gmail.com> Sent: Friday, February 4, 2022 5:23 PM To: Haider Ali <haider@dreambigsemi.com> Cc: users <users@dpdk.org> Subject: Re: Mellanox VF failed to start with hairpin queues You don't often get email from zain2294@gmail.com. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification> 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 <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> 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 <mb_pool_1>: n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_0>: 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 [-- Attachment #2: Type: text/html, Size: 5842 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Mellanox VF failed to start with hairpin queues 2022-02-07 13:12 ` Haider Ali @ 2022-02-22 17:56 ` Asaf Penso 2022-02-28 8:14 ` Asaf Penso 0 siblings, 1 reply; 5+ messages in thread From: Asaf Penso @ 2022-02-22 17:56 UTC (permalink / raw) To: Haider Ali, Muhammad Zain-ul-Abideen; +Cc: users [-- Attachment #1: Type: text/plain, Size: 2312 bytes --] I worked with Haider and found that the VF should be configured as trusted both in driver and FW. I am working on a documentation patch in mlx5.rst to describe the needed steps. Regards, Asaf Penso From: Haider Ali <haider@dreambigsemi.com> Sent: Monday, February 7, 2022 3:12 PM To: Muhammad Zain-ul-Abideen <zain2294@gmail.com> Cc: users <users@dpdk.org> Subject: Re: Mellanox VF failed to start with hairpin queues I am not using mlx5 VF in VM. Can you please elaborate on what type of setup information you require? Regards, Haider Ali ________________________________ From: Muhammad Zain-ul-Abideen <zain2294@gmail.com<mailto:zain2294@gmail.com>> Sent: Friday, February 4, 2022 5:23 PM To: Haider Ali <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> Cc: users <users@dpdk.org<mailto:users@dpdk.org>> Subject: Re: Mellanox VF failed to start with hairpin queues You don't often get email from zain2294@gmail.com<mailto:zain2294@gmail.com>. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification> 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 <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> 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 <mb_pool_1>: n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_0>: 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 [-- Attachment #2: Type: text/html, Size: 9702 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Mellanox VF failed to start with hairpin queues 2022-02-22 17:56 ` Asaf Penso @ 2022-02-28 8:14 ` Asaf Penso 0 siblings, 0 replies; 5+ messages in thread From: Asaf Penso @ 2022-02-28 8:14 UTC (permalink / raw) To: Asaf Penso, Haider Ali, Muhammad Zain-ul-Abideen; +Cc: users [-- Attachment #1: Type: text/plain, Size: 2845 bytes --] I sent the following documentation patch. You are welcome to review/comment: http://patches.dpdk.org/project/dpdk/patch/20220228081117.3013452-1-asafp@nvidia.com/ Regards, Asaf Penso From: Asaf Penso <asafp@nvidia.com> Sent: Tuesday, February 22, 2022 7:57 PM To: Haider Ali <haider@dreambigsemi.com>; Muhammad Zain-ul-Abideen <zain2294@gmail.com> Cc: users <users@dpdk.org> Subject: RE: Mellanox VF failed to start with hairpin queues I worked with Haider and found that the VF should be configured as trusted both in driver and FW. I am working on a documentation patch in mlx5.rst to describe the needed steps. Regards, Asaf Penso From: Haider Ali <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> Sent: Monday, February 7, 2022 3:12 PM To: Muhammad Zain-ul-Abideen <zain2294@gmail.com<mailto:zain2294@gmail.com>> Cc: users <users@dpdk.org<mailto:users@dpdk.org>> Subject: Re: Mellanox VF failed to start with hairpin queues I am not using mlx5 VF in VM. Can you please elaborate on what type of setup information you require? Regards, Haider Ali ________________________________ From: Muhammad Zain-ul-Abideen <zain2294@gmail.com<mailto:zain2294@gmail.com>> Sent: Friday, February 4, 2022 5:23 PM To: Haider Ali <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> Cc: users <users@dpdk.org<mailto:users@dpdk.org>> Subject: Re: Mellanox VF failed to start with hairpin queues You don't often get email from zain2294@gmail.com<mailto:zain2294@gmail.com>. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification> 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 <haider@dreambigsemi.com<mailto:haider@dreambigsemi.com>> 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 <mb_pool_1>: n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_0>: 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 [-- Attachment #2: Type: text/html, Size: 11006 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-28 8:14 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-28 12:31 Mellanox VF failed to start with hairpin queues Haider Ali 2022-02-04 12:23 ` Muhammad Zain-ul-Abideen 2022-02-07 13:12 ` Haider Ali 2022-02-22 17:56 ` Asaf Penso 2022-02-28 8:14 ` Asaf Penso
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).