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 82694A04A4; Wed, 2 Mar 2022 17:31:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BDE442740; Wed, 2 Mar 2022 17:31:51 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2054.outbound.protection.outlook.com [40.107.244.54]) by mails.dpdk.org (Postfix) with ESMTP id F2D5E40141; Wed, 2 Mar 2022 17:31:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GuEXVHw7Ksw2rhTeI4unQ72vePyt6v3/gPojHFPJ9IKuvA9w4BUNHh25ka38Bi+zp/idaldIZOiXgELh27ZpNqEnUEjwyvXZvCxOs3GdFd6zhmC6UiG67mqga+NnvW9rQBsOlcGFhRf1zB3g5PxvD6VvuZM522ynU/1bam6KFOrP3NyKBLp3X+XehbUkJBjopug+6RkIm8t3bIzdINiB6PFaKYcJKcZaDs2cSiakrigKgoV6cNsGA40Y4ZTtRDHjwWHDThCIDJH3pWkintebhetXw35paRc2B5lDfQMIJG8+fWEFJXOqO7+o1fB4XREKYlb5BxwUvanxr9D+A3olfA== 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=abbMz0pPIVuT4c/jKXGekKqazE01asg+yMMpq8EzPcM=; b=dBO/2RvrunMGAwDZH69AXW1rmbhH4hLbK4ZMr+J9GZnYWt3YY1yGxEX5vaIoHJVcV570X8zh20VoLLBrBniPEFpzLChN1NSm/wfsCHTNlWbNmL0HN1pz7Eq7LAGxo+RJZF7/6PSgC5CPIPc7VAH4FuUsKRp+/aFZHWV+ctE35CFfg/W5J+4JaQPPUITuuhCAYa2ezCuENWtPJkoVQjWMa2cX3nT1AQvJZxbYn0M9MfMDVp1uvs2b+KUpmyJYVSUtgjSeyjF5wnPpUORftRfWSZc0vgh3du2lSDvh2VBPdOgEczBm12HG8GmUWIYG9nr80mKFK5TCtEj1v/jJac5ZDg== 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=abbMz0pPIVuT4c/jKXGekKqazE01asg+yMMpq8EzPcM=; b=QByh5sKQgqacUfE1a5agvAOSIDbKfe5RgkC9f4k7InvrxwjsueZFLf9hOfuzqxDO5hnOJPFK32SP7z4HcTsTrYO6JfuM1axONiFttJD/A3FJfEbJXZmAos6zMPLTP0tBA7et0BoZ28lhH+TfHmart1UrV+6w2sjGXHKYJ5KzitPLlZLF9e4CNW5+nk7dqMeZiC34Kd3D3Z52+i2Oo+9n6vjSynSqrSzwA+/F2mdcLLrbASYCIDldU+JB8ZSy8xLuWTiu6QFhSQGNfs9ZkkrKVNeaK+Ah2MyCD8CFuZP+6AOI8hiM/9eAi3ZBuDtD0kSi6W4e3dt6voTK8HRDnTqnSg== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BYAPR12MB3589.namprd12.prod.outlook.com (2603:10b6:a03:df::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Wed, 2 Mar 2022 16:31:47 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd%6]) with mapi id 15.20.5017.027; Wed, 2 Mar 2022 16:31:47 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" , Slava Ovsiienko Subject: RE: [PATCH] net/mlx5: fix flex item flow handle size Thread-Topic: [PATCH] net/mlx5: fix flex item flow handle size Thread-Index: AQHYLIpTI8YG4GCKZEau6BhkAAUvPKysTN9A Date: Wed, 2 Mar 2022 16:31:47 +0000 Message-ID: References: <20220228100124.7514-1-getelson@nvidia.com> In-Reply-To: <20220228100124.7514-1-getelson@nvidia.com> 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: 23433d6a-2419-4983-afbf-08d9fc6a25a1 x-ms-traffictypediagnostic: BYAPR12MB3589: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: wW+sSdDQH/vCsKKKwmngZYiY4dEzK9/bp9GZVhXbTd17brDaizixj70hToMQwOmkwAj+JImn9ECyUmAzRUqmVbFJMveIANi0CALg/441nY01wixTieZyyEuQ41nklGoN5wcg8CukbKnADAoqr/v3bcaMeuV9PHe4NXCzYCp4TyaNECdkcE6izdJBQwz7E3zonVtALVLN6uh4J9H9LgQgPfg92XW60Ice7OuMNaDxo/Wjg/6+c+QAmVtKOi03etcUmUNA3okAOoo8py2cgJv9lTL/bXg8WPTsjvmSJCENQgMplcxpiPta/Eo/Sv72wPUQ9PxF/vnEjnXDSq0eAgCt16z2R9OacQUDbf5W30u7w4iP36wepQk7iR1SS7ojL6pBcYaaZKPdTmowhqDgH7V2Pdm126u6QvbOq8oXrtP6pWPQduzx0ggfCMVBzRrHjseQSYoqYMDttQ8hWSCJU+smvYg4Q7mXoLUGfScpyBvb/Hb7CQJeFEXJogour09Ya+2kH19BIpoA9r0ZFEQxQdWwFvLhGVfWVG0TsSqWfpcpm8CMgVBKjFj0YIExy/SgeXKwXTsNE4ZfCu6a1j1z0klGa3TLUb0bEXqkqpiUnhO70DQ2ToiGe5aDAfRS4hq8mB8HRGe6RnGZ0xf3JgXdCjDOQOtpxWuBixHkrlN+x4Ouj8tAfhdlffLfIXXKUNbLSTn9SePYwtyJ2IjWt1f6QuZ/rg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(2906002)(38070700005)(4744005)(33656002)(9686003)(107886003)(8936002)(66476007)(52536014)(86362001)(450100002)(8676002)(76116006)(66946007)(64756008)(5660300002)(186003)(4326008)(26005)(38100700002)(7696005)(6506007)(316002)(66446008)(66556008)(122000001)(71200400001)(55016003)(508600001)(83380400001)(54906003)(110136005)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GwUzEFnJ9T9KaOTDMRwjNhu1YPWC+QRd3N48+uSq8jvk5RssKmVwd7UKBdSH?= =?us-ascii?Q?zRnWVYb60A7FvwQOYqd/cskVulKlNUSWJ7engigXnpR1awrHKTFy0JNKaQxa?= =?us-ascii?Q?H0mSX9cRRcGQJSHXup7C8soNQXmipWoWytk7uUbzexQOTd1jxlO7tcEzD/nm?= =?us-ascii?Q?Rd9hice2bM0r/UHbmAZVgrPM3qls2LJKn7agp1eq5EnpaksBasVLHo4JQV4t?= =?us-ascii?Q?yLKRW18N8pOygHQty+6cZ0YlGOaF8tjkYcsmY1Te5JlxQ3FMWT/NbXmRqrma?= =?us-ascii?Q?bSwzAIIUdEOKD7OWCTdTnYy2kgvZ8sAogBvAJSEm6EmtZLLldcdscQsTx504?= =?us-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n3lC8KGGglUurV3pe2PD+?= =?us-ascii?Q?8xE8rXIkhQ+8DRvQdmjcs/EdmLkWkHtKtQ8n6YATD80efTq9qcx1T4QIXx2Q?= =?us-ascii?Q?c2D/ijdyuLxb1eQReaHMWGVKJVCEb2jHnQPtz9ydQbpjS901VWvaqCkvt6hV?= =?us-ascii?Q?3M03+AZWVrES+i4AEvD9QIEnQEfS1C4t1UrUJHPpVT5y+P5yyr2l53k2yjwg?= =?us-ascii?Q?/97jFMY1JQmgFFnWaQ73VzfWJOuYtA49SIMM8RcERebE3w0BBg9QZfdzo7BY?= =?us-ascii?Q?UMQCKROaakIMzTmK302bUJR637lsfOov9/rDyzVjMVzZqrR+aqc46hA7e23W?= =?us-ascii?Q?Z4XkMyTSpXHYk0X/+mBlGIF4C/peiwanQiBf38dGF4m+gsJr10W+SdBIev31?= =?us-ascii?Q?N1oVF1s2CmaOVyULUWZNuAw=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23433d6a-2419-4983-afbf-08d9fc6a25a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2022 16:31:47.6940 (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: is+K7o+cMyZQST1/cuJj8Xz+cY+yrMCAaflxrZzJ05nGEA39ymfoCiaFRTT+QD3VD4xOLX1RF+ipicEtCLgaFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3589 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 Hi > -----Original Message----- > From: Gregory Etelson > Sent: Monday, February 28, 2022 12:01 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; > stable@dpdk.org; Slava Ovsiienko > Subject: [PATCH] net/mlx5: fix flex item flow handle size >=20 > Reduce flex item flow handle size from 32 bits to 8 bits for each flow. > The patch will save memory in setups with millions of flows. >=20 > Cc: stable@dpdk.org >=20 > Fixes: a23e9b6e3ee9 ("net/mlx5: handle flex item in flows") > Signed-off-by: Gregory Etelson > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh