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 40EAFA0350 for ; Mon, 28 Feb 2022 09:14:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 310124068C; Mon, 28 Feb 2022 09:14:54 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2041.outbound.protection.outlook.com [40.107.94.41]) by mails.dpdk.org (Postfix) with ESMTP id 715184068A for ; Mon, 28 Feb 2022 09:14:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X27gW0Z+g6o3xpoTLUH/Cr58M5pSdz4LW7T5lnAMIeODZqiWlz5KlyeWCSeDmXTnhr6cpkvYAh6/OVafrjuV1SisR0zz2F41zKvUzH7sZLQ5FcfVaYQ+7PfpQIyLoS0ERxR2vnHAif4tFikTZ/Z+1F9dEokZDGFYyyZ9OfxQBM3DHug7v/iBdWZ/HrDiAr+JIn+x+4wEhCsnzW3NQevNQC5iZ9fqaB4aNN+5KPpg5OETpC6cshcSYZuMgOs/heTpWKln1/lFjAK91UbxVSdn8CliRGoYZL+VqvH3Scu9bvHh+d1pS4cu1Mo59Kz9J+VlPZL9CNgJ5lZjy/lFcp5yVQ== 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=8XfjGlfkteAFYwF+4aIxmG/vh5l4cmobOE2yqa9ct10=; b=GRv5lerzeApUxRs0+F2jN94XeHF0G15T9ULHrwoWIxkxv+hfSEnsXcXbVX6vVjVKKb2t2J598mj/H1N9f5RLzS8nKVIgMvbo381pqoXBSs/or2ihG0p7kUWBNcNw5JhsJoFDpmmvq5ZVdEiK232/VgkPq47zND7YbxiYw623q+pLfRi35ctu2HliIWdLaoU770oeQSEl/6f7Nry6f3QXwTetCUhkt6WIuTLVqNCxpzSMHHsEkJQFFxifxZaIWx2xRflJ6ZJM/Kf3+QUdKY+fUt9GCt9bj8GJw831i3eRO0fGqyUGS3XKN/QirSOnvid135twP9MImyQxgnytfSR0ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8XfjGlfkteAFYwF+4aIxmG/vh5l4cmobOE2yqa9ct10=; b=gI1djsr9xsU6KQEbXSTuM5p+sV+LjExiVnZ9PNoGsgSgEGzUDwZqZKHnaiwOdv1TGGMSRg6Jm1ftjRBqkd2y916uB/ib+mW9hNRNFnwWY7HwEcicpilNz1DkyHhemhdhTyfMFSPlPhx3Atzg/XF0LRaIr/uJcVlmek5wI6bDUR6A6WwE01a3Eg2yBlDq9u4LZdPH8QEovqD16M937uLP5ytZFlrEBZTgOHVDsa38x+w5HUsYZ7QYthpfsGDe65gzxIRiWa2zHqqrf7giZRTAP5t0ScSPh81W31sIS8GvBlJIc53Y7usHhl50N/FAeQqKZFc9RjGp0NnkJf5twyMoFA== Received: from DM5PR1201MB2555.namprd12.prod.outlook.com (2603:10b6:3:ea::14) by MN2PR12MB2975.namprd12.prod.outlook.com (2603:10b6:208:ce::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23; Mon, 28 Feb 2022 08:14:50 +0000 Received: from DM5PR1201MB2555.namprd12.prod.outlook.com ([fe80::4810:6047:3219:2ae5]) by DM5PR1201MB2555.namprd12.prod.outlook.com ([fe80::4810:6047:3219:2ae5%3]) with mapi id 15.20.5017.026; Mon, 28 Feb 2022 08:14:50 +0000 From: Asaf Penso To: Asaf Penso , Haider Ali , 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/xSAF+K6AIAIy5Jg Date: Mon, 28 Feb 2022 08:14:50 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 89c31ff0-584b-4088-86fa-08d9fa926454 x-ms-traffictypediagnostic: MN2PR12MB2975:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eh2KTfslZ4s88I/WKUtqsiYOA1QDwd02DGgQuaVpEdVCvacVmC6FgFKzXFkobV64wR/JN3eVqvuWgaVxy4FH1UgP9UkMG8UOh5GLMsehqhHmvKFY+UF6KKO5nQbirVimqNz6HIrfg/JlNHAO02fKWHbTnyCE3fSEvEGLx09DnazWycbv7wIHcsZH0mbIon+niE8UfazSFg6R+siBehOMS1emfOvR3u+QpuvBOZupMtZKevic0EtyyuCZ4uPYpm6Tb0KsUnk8Es7F3eqW2VWZEBd9+rFnOd1WcOuGnmofKHGYP3LxTD7It50Hy1xGqp758iqj72SKXvMexTsFrszJMs0mvb51Xw704mEuv/O00Gj09pM+IybLzYdI65QqB5kZxo4U32u70reT10HqJVubZ0NOUQUYbdJ/NgOLjjNVTjF76kbD54STjJ0QL2CjVqWXJhWcmyeskeU51b/pv+SB4mVZ6t8Y/7UEyc/uWMA8O06ARMfTYY5UheHPAx9KSZ7e66LrPw9rmguQxxr1XiTDh1vSxD082BjZxnAZSCDP+/nFSE3Tx9F+bi/+NizIk2i5juDLZ81HgmKnoFaiIAN4VMhXLYr6sALH14BDwQQDUSZSqsQAzIZaiA26dK76UKeLRGQFYC1eQOfzHi/pcJrqA6wU4PvIQN2Oi3uByvkZOE6bvS9LwTpA8Iq3/ciGvu9F4jCPq6tpze22thVoC4XHXP4Bd4nhtRS4YdzcvFxWAU9sTSOA3xyUt9VByj5ksRwl+O9YiKKzBvVLAkIPxr8v42406e9V7tNjpZ+i6uNkZEIGBM42jWSEOu8zbQM8gQZ/FC9K73F3/uJ2uoCXLClFwA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1201MB2555.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(8936002)(9686003)(166002)(71200400001)(86362001)(4326008)(66476007)(64756008)(66556008)(8676002)(66946007)(76116006)(66446008)(966005)(316002)(55016003)(5660300002)(508600001)(33656002)(6506007)(7696005)(52536014)(38070700005)(110136005)(38100700002)(186003)(53546011)(2906002)(83380400001)(10090945010); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KlM1IzwB9XVXDpmNkFI2PsSOJSCvcvp16bmFB7TUoGCC8vMZU2dkbuiG4O42?= =?us-ascii?Q?zsPhxPc963VRZqdfxZTYiWm47Q0y257VyXlbxWtcWWeWirE8yDCW2vtDfDaN?= =?us-ascii?Q?9cWsYCc4Te0jO5FBeDXrPAeb5loydsyAa8NjP5DyTLOFQg/nGP77QYnZfiuE?= =?us-ascii?Q?L01rdn1f5pU15RcRIqVSEH2oZY00oad2K/2iDv0nEkZMT6ncwOLrUKeR0TZ8?= =?us-ascii?Q?sB5an1G+gxTKx9Q+g6CGL2cEiydxNJmE0RsOgHmIM6cKFjMwD5B6VoimH8uV?= =?us-ascii?Q?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mNTN7wW4Y0mIiLigEujey?= =?us-ascii?Q?bUwpwqjOXqhgO7xLd2KaIZoAvhCSlRn94YV+VA/S5p0RJW9Y7XGVRDfIuIg4?= =?us-ascii?Q?np5bAQgJYIDF3oWHHXasf9PUMq8WHltL5aRHKCxraHonOrUB+YCm7JYn8KXK?= =?us-ascii?Q?XjK+v8vc0Dy0bXMb/l31mRChG9eePEC9TID//w51BUATaLwqE3K05mlLHcHP?= =?us-ascii?Q?Ipa1NoduKqEfOmRSD8yZlMR8GfRTL15ZZWRt8gGD+Leoz5qNsQRhckMSwUd/?= =?us-ascii?Q?lYxJpbcBx/QAuv7MRuRMd2BoxMVpA5llWOX6XiJIDKfRhQoIS0FJq/VVMEgi?= =?us-ascii?Q?f6SNhrxn47n7b6pvsrVBen7qFiCS0DPjRlcESefPUSpXnid34vGz6PkaY6jq?= =?us-ascii?Q?xxcdN6gj6RuZw1qWgiz27uYvAta+uAxga1kF29Ni9iO6SX4sKh8UmZ1sTT9f?= =?us-ascii?Q?XgbatdpbnsKKf6/OenCBC3Xh2OpnYI1FkJlrV/MtAkYbzou2/pSoousQH9YS?= =?us-ascii?Q?+Q5sr09nrPaNG0QISLeBICp3Cms=3D?= Content-Type: multipart/alternative; boundary="_000_DM5PR1201MB255587CD1D4B81FA1E68520ECD019DM5PR1201MB2555_" MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR1201MB2555.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89c31ff0-584b-4088-86fa-08d9fa926454 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2022 08:14:50.4597 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pPpTc+HXIKOQffn+gkldJho4ZSKKiLmgnla56hx5JkUko9n+a4ZVUn+PftJ25YC8zih3kXKgXgUGvsnkgKkZIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB2975 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_DM5PR1201MB255587CD1D4B81FA1E68520ECD019DM5PR1201MB2555_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I sent the following documentation patch. You are welcome to review/comment= : http://patches.dpdk.org/project/dpdk/patch/20220228081117.3013452-1-asafp@n= vidia.com/ Regards, Asaf Penso From: Asaf Penso Sent: Tuesday, February 22, 2022 7:57 PM To: Haider Ali ; Muhammad Zain-ul-Abideen Cc: users 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 st= eps. Regards, Asaf Penso From: Haider Ali > Sent: Monday, February 7, 2022 3:12 PM To: Muhammad Zain-ul-Abideen = > Cc: users > 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 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 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 > 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_DM5PR1201MB255587CD1D4B81FA1E68520ECD019DM5PR1201MB2555_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I sent the following documentation patch. You are we= lcome to review/comment:

http://patches.dpdk.org/proje= ct/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-Abi= deen <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>
Sent: Monday, February 7, 2022 3:12 PM
To: Muhammad Zain-ul-Abideen <zain2294@gmail.com>
Cc: users <users@dpdk.org&g= t;
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?

&n= bsp;

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&g= t;
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:<= o:p>

Hi,

 

Can anyone please guide me on why I am not able to do h= airpin on VF? I am running the testpmd application with 1 Hairpin queu= e 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 --txq=3D1 --hairpinq=3D1 --hairpin-mode=3D0x00

&n= bsp;

EAL:= Probe PCI driver: mlx5_pci (15b3:101e) device: 0000:04:01.2 (socket 0)

TELEMET= RY: No legacy callbacks, legacy socket not created

Interac= tive-mode selected

testpmd= : create a new mbuf pool <mb_pool_1>: n=3D155456, size=3D2176, socket= =3D1

testpmd= : preferred mempool ops selected: ring_mp_mc

testpmd= : create a new mbuf pool <mb_pool_0>: n=3D155456, size=3D2176, socket= =3D0

testpmd= : preferred mempool ops selected: ring_mp_mc

&n= bsp;

Warning= ! port-topology=3Dpaired and odd forward ports number, the last port will p= air with itself.

&n= bsp;

Configu= ring Port 0 (socket 0)

mlx5= _net: port 0 failed to set defaults flows

Fail= to start port 0: Operation not supported

Plea= se stop the ports first

Done

testpmd= > quit

&n= bsp;

Regards= ,

Haider = Ali

--_000_DM5PR1201MB255587CD1D4B81FA1E68520ECD019DM5PR1201MB2555_--