From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7720A034F for ; Fri, 4 Feb 2022 13:24:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B84E40143; Fri, 4 Feb 2022 13:24:01 +0100 (CET) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mails.dpdk.org (Postfix) with ESMTP id 9E4484013F for ; Fri, 4 Feb 2022 13:23:59 +0100 (CET) Received: by mail-ej1-f48.google.com with SMTP id jx6so19110164ejb.0 for ; Fri, 04 Feb 2022 04:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sRSRMCi6cYAwnd49ncg2LQ3ZVojugXld8O6PxWmGGBM=; b=JIl2dijiEZcG8uEI0LXqprEB/6K8gz6YZR0XeypMiiG9mn++pjbqZoaJX7HSjzeIQn ynakcGNsnpQmN3trEBDXi90yxCfUryoKux3y1wVqBUBW5E4f9QYdlROnTMhwFx3hkx8q L/SLPpaUNgXSUeJI4j90WlUAt/UWZDiJyEFIO2uF0bn+m/rhZWfI2We8agy5C3+fnwoY eFtBEJDzurRXWuntU9Dh09QnXHilZuxUZkbBxW1rq3rCuH8O0Eebtm8FTq0KA7ekpkb2 qP0XrGkTyazaRWqKoaRzs/BvDq+ohXqtTc8boI0QXLqJDbyoH1yCRyayGMUKEnvRx/WV +5fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sRSRMCi6cYAwnd49ncg2LQ3ZVojugXld8O6PxWmGGBM=; b=RjeS9MPolJo7u2gh1SlvNglgZSLeC5hidj2O/BVbCNEhiso2TRaOonWCKuRdVP9Eug M9QQieArXKPDYr3RimzZQz5WQI6awOM9+NVMphbkNS35McnSr++m1wley63EiZgEmqNG nuDwQfAmaT6Qo5EitIz3kWO1uqSHG5cObD3/WgWZBThuOOCd/zK/ADApYGBVppWpRm6S NiwAJBrSP0lsmw00cDdfjz46r0O7IEDR4a6++bTKqrbv2L2J8VnAjN9ECVn2RV9Jb4N8 h3a0xXlNDKTeTYGS7oKoYs6hrDUggeTTF9jp6WmntcGytCNvzeUDLemqqQqflS49C6Kl 5myw== X-Gm-Message-State: AOAM533zjYm4p81U3HbVCP6Lvu75A/KFQJDJ1DwD6qb4d7K7oSv7k535 xI0H9tylTKVAx7ok1W23bGCD9BRNCrSqRSc3Ed/iEg9NgN0= X-Google-Smtp-Source: ABdhPJzsU+/W3t3W1Tu+bJGLKUvJRXqoglWClWiHE6KV36UlX08CtOsTXFgR+79gSs8UKjjOo9ND1fGHCve0mSukrII= X-Received: by 2002:a17:906:7308:: with SMTP id di8mr2356249ejc.464.1643977439169; Fri, 04 Feb 2022 04:23:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Zain-ul-Abideen Date: Fri, 4 Feb 2022 17:23:47 +0500 Message-ID: Subject: Re: Mellanox VF failed to start with hairpin queues To: Haider Ali Cc: users Content-Type: multipart/alternative; boundary="00000000000047d28005d7305317" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000047d28005d7305317 Content-Type: text/plain; charset="UTF-8" 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 > --00000000000047d28005d7305317 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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@dreambigs= emi.com> wrote:
Hi,

Can anyone please guide me on why I am not able to do hairpin on VF?=C2=A0<= span style=3D"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:

$ sudo ./build/app/dpdk-testpmd -l 1,3 -n 4 -a 04:01.2 -- -i --rxq=3D1 --tx= q=3D1 --hairpinq=3D1 --hairpin-mode=3D0x00

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=3D155456, size=3D= 2176, socket=3D1
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_0>: n=3D155456, size=3D= 2176, socket=3D0
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=3Dpaired 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
--00000000000047d28005d7305317--