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 9348DA0C4B; Thu, 21 Oct 2021 14:25:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DF764118E; Thu, 21 Oct 2021 14:25:58 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2051.outbound.protection.outlook.com [40.107.220.51]) by mails.dpdk.org (Postfix) with ESMTP id 328114117A for ; Thu, 21 Oct 2021 14:25:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YD7mggslTYGj+GQ/qjgn78lgJxPI9qmNKQhr3T64h9ozAt5pSqaVRnnMQNvimUUsBT/ZZrFAQ+KYD5y6Q9IAoD/chS8eYqWR+jIDLFHQ/7JWna57WbqAL8CAfD5Ro5dbYXLExGFxTf5Zz4ioYAoXNUfV1mS2bBs5rLqGoHx2df5OcEIsehyvtSBE0Rq30ski1nQ4cdgJi9TgqRgK1jbvvE5+sQA2A/BbfSjR/1Sk/FY1GoRBp6e+bbFfos18rKtxUvJFrVo9COQ0TZ4r4oRxnTNU+qKVy+NQVG6vI1fDNQpXtgIJsiFy1f8GhE28ks1cyGqqDlTAGPRm9sCn34EsSw== 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=srRZ0UJjifcqFVIwE9K/X93kXtwhO99QE3QD/q2zMzU=; b=j1s9JYfSpgps6rZ78G7B1m2pPuRKvoXBs+GKaDYNKGsVtZk7H/sPaX+x7g5cIs5OiFq9DMIDuNcZ3ZcpCVGLloS0AwkpTy6UsnfgW6/F9UTuSvl10XZXWPGUP1en6+oAg6US8iDdi090uWPG5TirWrJLk5lv2P0yFKeoKL4KQJviEicdO3UmeErlgfwebYcc1oOCy8Ud/JooQuIFM5pBEjCd+T2F1yBfYU/0LMSixlSNiTwJXcQ/3gpZpXRP19D7PXNC0fbnsJs0uvL2qOM8IHbsfWFnRVD/pFjOPREynrS4Yu9HwjtKCFcNSBnMtHt2vvhdxKQPQAELyiw5TaC/FA== 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=srRZ0UJjifcqFVIwE9K/X93kXtwhO99QE3QD/q2zMzU=; b=pOMMYWEWfNP3fBSCCGq9xKcVz9LKVj7p0B4TDKHIZmsM/rur82xdjKtdgNuxTw0SlBuNvHEUOscpERyR3+OoFcXx+Ab2FFPC41m8CL27RbpIh9q4QAI1KfBwX+MCxuCpikcjgNwUNjVdM2+fNodNgSAsAFLhznJL2cft6RoymYCNQJczv9ELowZdAds4zZVZwEyCi9CSGE50Opj4BpLFS6ZXxzinpmKbf8HM5ll9TsM49xZejdguzQn7lOQHnh9uVyn/ZhbVPo3Pe3bH1bSFcuMIcImrVz+tVY1zEGiVVzBnd1WCrQo86/Cv0pz0g34ORh7UjIkhixjZAvLnK57Stw== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM8PR12MB5446.namprd12.prod.outlook.com (2603:10b6:8:3c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Thu, 21 Oct 2021 12:25:54 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665%8]) with mapi id 15.20.4608.018; Thu, 21 Oct 2021 12:25:54 +0000 From: Raslan Darawsheh To: Rongwei Liu , Matan Azrad , Slava Ovsiienko , Ori Kam , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [PATCH v1 0/2] set txq affinity in round-robin Thread-Index: AQHXxlmg8q4wEYKpu066SuyJHNhj5avdYNUg Date: Thu, 21 Oct 2021 12:25:54 +0000 Message-ID: References: <20211021085637.3627922-1-rongweil@nvidia.com> In-Reply-To: <20211021085637.3627922-1-rongweil@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4dfa0b6-74cf-40af-ee78-08d9948dedb7 x-ms-traffictypediagnostic: DM8PR12MB5446: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IVGvJRvuSMWonAnD0M47Tec2eTdZ5ispbz6ugj2lVMnYzG/VkcElqvfqFXga++2eBd1Za2UPg+X3TEdOCJzglFizrDTGqZMSvPN33LakQ8yyUt7jwT63Txl1jdtyOosQSZs97qhC31EjNRymO7oiifT69x5to/LICirKUO8fPrO3eIKqsjsrHhI8ee2I7nwyOE5iES5IKQTIhiqbqB2nIjztZKSlgp61ElACFxmhO12/jRvmwoVm8V2tkTy3GpN0RatXZ6d7r8xefBs9hKunnXCxkLkk7y5+QgeIRX6kRR0q2z5/X/yzcgsmPccdHLf9jv5HMwZoLhQet6B/QujbtTpP2FLV7+Qxvq9WLwax0vzZef/NBA+vtN/ujwz5B6K0QIheuVWxP3aswog8Br9ZFZLEPnn8kicEUU7rccUpk9UQw5zsQ3nqhubqRdrxBWC6B6iYXKtgxe0H8ZyLZkSi0CtFLCiORCKGwB4UN/vn6a9tYw4G0cyZDdezB3vayJRqemfIUrL2mWZ+2KVms2cvRmHMiiG1SLeOhBO1Dq9jd0mFpKPFi5J8ix5dOxQPux7IKNPwNJKy+T1h10sTt6uRl6jwduv9nvow1W+AeZKjOqUW5l2NTic9lgcLt4UtAyoHiw8dksHYTdC7UaU2thE+lsLttOIhpJgaSZhCPTt6TLkg+/Lqj/FHJ7+zaVFOs7ux+Sqr7ZvWaAMi6xTST4551A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(83380400001)(38070700005)(8676002)(9686003)(2906002)(86362001)(55016002)(66446008)(5660300002)(122000001)(4326008)(71200400001)(186003)(33656002)(316002)(52536014)(64756008)(110136005)(38100700002)(7696005)(53546011)(6506007)(26005)(66476007)(8936002)(508600001)(76116006)(66946007)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mxm8nak5elvE/LYNw5F+tlJsj280ZVkZwyF1hI67prn7W+8vue/nlQLZYhvP?= =?us-ascii?Q?q0MY1Wvd40Pd1d0d8jBHsulCm9YN+ytJQGg/18wug2E/uL9JONcieq0r0aTU?= =?us-ascii?Q?2rVAsIg47ifnnOuZ3IwoYu2QEgt4576z+rr5DKXjHg4PUM0Z4tC9bUq8vpXo?= =?us-ascii?Q?G7enOZWmYuzF9i3KPfFbm7lFT77tcw39Xmzxa0GnDM7UhiE1PWT4Aa/C5eFY?= =?us-ascii?Q?weruM6CVrW2UtNy2Ul4Xz8k0nvVT+HSaWj0jvwYGzH1VkemBstRU34TOsNfO?= =?us-ascii?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g2jML7cGsYZ?= =?us-ascii?Q?nYAnLWrGDT8eV9bDwjDtozIAHd5R9j96tcTMkwnGp7O82GsD3ckKOfrWUpeV?= =?us-ascii?Q?INV8o3ijzqaBhJmZkBjHy1l9lLYPJfVS9DLCKGOmi0W1BSKEng57ju3dFB1n?= =?us-ascii?Q?Sb5i1hXf/vw9rIT1R8cNYsTRg6oha8Dz11kDpgMlONSiER81Ol17T4BeKsYq?= =?us-ascii?Q?A1ibQ/UFVeaPkkchkFNrGpNql1SALwCXK1WBl0wBWir1HHDoij563f/J29gF?= =?us-ascii?Q?s/yS19lfl3w=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4dfa0b6-74cf-40af-ee78-08d9948dedb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2021 12:25:54.7138 (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: rasland@nvidia.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5446 Subject: Re: [dpdk-dev] [PATCH v1 0/2] set txq affinity in round-robin X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: Rongwei Liu > Sent: Thursday, October 21, 2021 11:57 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v1 0/2] set txq affinity in round-robin >=20 > Create multiple TISs (number of PF) and bind TXQ to different TISs. > The TXQ affinity is predictable and unchanged. > Traffic is load-balanced per PMD process. >=20 > v1: rebase on top of master-net-mlx >=20 > Rongwei Liu (2): > common/mlx5: support lag context query > net/mlx5: set txq affinity in round-robin >=20 > doc/guides/nics/mlx5.rst | 4 ++ > drivers/common/mlx5/mlx5_devx_cmds.c | 40 ++++++++++++++ > drivers/common/mlx5/mlx5_devx_cmds.h | 13 +++++ > drivers/common/mlx5/mlx5_prm.h | 45 +++++++++++++++- > drivers/common/mlx5/version.map | 1 + > drivers/net/mlx5/linux/mlx5_os.c | 2 +- > drivers/net/mlx5/mlx5.c | 81 +++++++++++++++++++++++++--- > drivers/net/mlx5/mlx5.h | 10 +++- > drivers/net/mlx5/mlx5_devx.c | 37 ++++++++++++- > drivers/net/mlx5/mlx5_txpp.c | 4 +- > 10 files changed, 222 insertions(+), 15 deletions(-) >=20 > -- > 2.27.0 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh