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 BD311A00C2 for ; Thu, 10 Feb 2022 10:12:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF12E40140; Thu, 10 Feb 2022 10:12:50 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2063.outbound.protection.outlook.com [40.107.101.63]) by mails.dpdk.org (Postfix) with ESMTP id 87B5E410EA for ; Mon, 7 Feb 2022 14:12:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZWO4XPs0lv+FFs50SdpGYjUoC5OwtIukO4tN+OUSBN66JXhQZZBj4y5WnR0wwTG4lKo/Da3h0OEXB7+LvNnmq0ZnbzbVZAOxLP71B5gw8z9fNcUd+JJEvCMFKnMTw63y5nzA0piIQolH0bT1uypoYQiiuIolAzZnA3xwxQlC5db8NF4t8xbKg4ebKcnzLY2qdKQGoGAhja4y51swWa5vF16qnRHZfLOluq3Bv53M6n5c4Mj5hpBcu2MHXpQr5yJOIOXJCKEJRx1w8XqCkPgaOCmrdMvO79glUo9Pjh/1kKeCR17bqptAYp+ki1jo4VgqJ1irS3wrBr+boSthfmCR+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jyf6qonQJIROQ1rCm+RLS2EtPIOOLIbqLGjqQf/not8=; b=cafkv1KDeyEgwlJi/cCUG68/jGJ/RVGEysL5j8X2MJeHmIkGrNdZ0PFw3pmoB4+He4jtowwjZFED0o9ylGm4YJHLLzmcVjQhNPJVPXPdQoMhlHCx9JjRiyDPgEHe/IPkOLre9ed0IVJdLQgxTCE0sl/olJZfNDNbQSljzOt3BYtpbHnpj+NMIH2Ir9EHpaptETRP9cmjaC1aYYkAJcRARLF8q2x+sdSxWmtM2jipEMlF7i60081tyvhL2K18d444ucf5Fyh7R25TYiabI6DTJglTgENKnb/gy0ZuZZ2WEcYEYIinf7rirb1zWLHcXAjJZf0Enk+D4xrxFvxk5GeVbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MWHPR2201MB1055.namprd22.prod.outlook.com (2603:10b6:301:2d::10) by BN6PR22MB0322.namprd22.prod.outlook.com (2603:10b6:404:9d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19; Mon, 7 Feb 2022 13:12:13 +0000 Received: from MWHPR2201MB1055.namprd22.prod.outlook.com ([fe80::ec18:bf7c:94bc:19d8]) by MWHPR2201MB1055.namprd22.prod.outlook.com ([fe80::ec18:bf7c:94bc:19d8%5]) with mapi id 15.20.4930.022; Mon, 7 Feb 2022 13:12:13 +0000 From: Haider Ali To: Muhammad Zain-ul-Abideen CC: users Subject: Re: Mellanox VF failed to start with hairpin queues Thread-Topic: Mellanox VF failed to start with hairpin queues Thread-Index: AQHYFEIsq9IaK5+PG0eHJCkOUx0aEqyDW5mAgATD/xQ= Date: Mon, 7 Feb 2022 13:12:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: a0f62e40-70ee-88ba-a548-482e03e04663 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=dreambigsemi.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90179ecc-4208-4ffe-7b6b-08d9ea3b74da x-ms-traffictypediagnostic: BN6PR22MB0322:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:45; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Zdgkd1DWoHOrbHWTOFuoTJWbIkSmxFA7VMDmJq+VYLvnHJCwPoBFXKfmE2VMvdk2HlRDfOcrd+iqtmhoFCyA/x2gp/Y1cfqPHIQ8VSsPhmbrjkxLv2wr0uqQF/BdXRoe4MWULg7MO+/FekVk92hZJKoXOSHc1sooe6pofHKZouGTNJZBtL/PxoYgNDQevnOBo43QUctczNOiQuemdSUM5lchLJvganrw/04L0ThkHo4Pf/lpLoh0HzvLaMOWQJN3SThwYCeubGiJVc50N0QRZ1yy/yXFR/xidEdGU0N7t7TyBPEipRyMvkLHCXbqWrbq8pi7fl7rsgjuh8X/m+jlaPynbkCW5YY7ZftW0EvN+afi3d2xBdwrXU/fmvN/igc+DIZzE1L/GY156HnEWIdtpOgZFKPjjPlKGuJeVpgq/ItdS2lTU+uVqE3BHjREILC6ep0xMAMFAPOaQyku+eKMdagYWiUgIqrrUQNGPMwpn9qTiXlkyM1UePWZEi3kx+j/4PNQlarfYeOoHawIpvh5FbJeHVWOO9PU9iBcBQdvH9YhsEp4cDHPCU5r/XlCNLMUdIPTngXC4eHilKdiFI6+95MfVDrrHh/3iS0vynFnBamZd7gikpBzQitR86NwCmOZcvnpO6lGSSdlK5szpNYkuB0RALM3t0IvTra0jl99MHDzfg50bURVkVSUHAa2+b4jfBEdqS/+e89xQf+gQ5o+Sj+ODfu8KGBInujSd21Nwk/REn2P361FzoSXX1YJjkYg x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR2201MB1055.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(376002)(396003)(366004)(136003)(39830400003)(346002)(508600001)(38100700002)(38070700005)(19627405001)(186003)(26005)(64756008)(66446008)(66476007)(66556008)(66946007)(8936002)(91956017)(166002)(6916009)(76116006)(316002)(8676002)(4326008)(55016003)(5660300002)(83380400001)(52536014)(122000001)(86362001)(7696005)(33656002)(71200400001)(6506007)(2906002)(9686003)(53546011)(10090945008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ThsqIoYaSXHjXDQUfRuUSna0y9GYhT8VMWikg27CqdCed3gY3k79JM+I3UyU?= =?us-ascii?Q?0gZP06/Vqrb0O+sgxKiM80RspmPhDAWvKcOXvle9jpj0vs87hriwFlrpoigM?= =?us-ascii?Q?ivIeD46ylFYFnyOIl7dKAcy9d/SVNnjByfb/+XLCkTpGpOXFAYvgCxtLK4xS?= =?us-ascii?Q?TEIOVmwF6bNDL0KOXMOESPTtVgKh6eaiw0XSkeNAYmIKQ5CoTrrvjW2MXWrX?= =?us-ascii?Q?bDSA3qsDrDW6swXwQKHO4L6mjq1jLht4HD03eviexImewiRnDf9UKDkLgMq6?= =?us-ascii?Q?a1CZV/MNTwARzUnS5Qgb3CsjAj+DWUiVLOXTiYveKxKA+WhnWTw5bCgf5gQ5?= =?us-ascii?Q?eAH9jXerIdz1SJ6SEkdHStY8Np5DfhKrt9cR3CGG3G9yJE7GjeCQskseWEHB?= =?us-ascii?Q?6E0FDdUU12OsjmTpCemf+i4A363RzeZg0dW067yjVDXadMLxoZ40W7q1oIU/?= =?us-ascii?Q?XVPi0mmlp88MqonkVw6qL6iIPxAnzJpW0XB2JFFAS+cpMMUI6zImw432KC6b?= =?us-ascii?Q?/lkVdNqeJhPls9kDfFsOThFab7iS+CGhr03YcdJ8GrpDxuFdcrUehQxGbeqW?= =?us-ascii?Q?paCJ7No+MCGQQ2/2eHIRpKciwSZflc2M5FJdqIc2Jjc/2RAAzabmcI7x/WaM?= =?us-ascii?Q?iK4Ozfdb+wrjVqxS5N8VplFVswqZUASckZhXbKukQn5nnawbk78fS03xxvHe?= =?us-ascii?Q?iGLU/oHNtLm8zfJIp4yx+d4KY0n5GHcnCMWm1EDJEq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xd9lwLA=3D?= Content-Type: multipart/alternative; boundary="_000_MWHPR2201MB10559D70EBBAFAA1B3D7452DA72C9MWHPR2201MB1055_" MIME-Version: 1.0 X-OriginatorOrg: dreambigsemi.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR2201MB1055.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90179ecc-4208-4ffe-7b6b-08d9ea3b74da X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2022 13:12:13.2831 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f492af1f-9d8c-414b-ac8c-6732fc0649d5 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +aXxqn/Mv+G12SrMzia8va8U3Te0NiO7cm4qj+4PMBfNP8Yy83pAwpf8inNOsUSh7NWbM8By45+w7eQbwQntMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR22MB0322 X-Mailman-Approved-At: Thu, 10 Feb 2022 10:12:50 +0100 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 --_000_MWHPR2201MB10559D70EBBAFAA1B3D7452DA72C9MWHPR2201MB1055_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am not using mlx5 VF in VM. Can you please elaborate on what type of setu= p information you require? Regards, Haider Ali ________________________________ From: Muhammad Zain-ul-Abideen Sent: Friday, February 4, 2022 5:23 PM To: Haider Ali Cc: users Subject: Re: Mellanox VF failed to start with hairpin queues You don't often get email from zain2294@gmail.com. Learn why this is import= ant 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 r= unning the testpmd application with 1 Hairpin queue and 1 standard queue pa= ir 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 : n=3D155456, size=3D2176, socke= t=3D1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=3D155456, size=3D2176, socke= t=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 --_000_MWHPR2201MB10559D70EBBAFAA1B3D7452DA72C9MWHPR2201MB1055_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I am not using mlx5 VF in VM. Can you please elaborate on what type of setu= p information you require?

Regards,
Haider Ali

From: Muhammad Zain-ul-Abid= een <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
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? <= span style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p= t">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
--_000_MWHPR2201MB10559D70EBBAFAA1B3D7452DA72C9MWHPR2201MB1055_--