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 E0F0A45BB1 for ; Mon, 28 Oct 2024 14:17:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2E5D40F1A; Mon, 28 Oct 2024 14:17:39 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) by mails.dpdk.org (Postfix) with ESMTP id 580D3400D7; Mon, 28 Oct 2024 14:17:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=o31R2Ch+gCPWZgtLnuBl8m2aPCqDAQd3BbiUtSDb1HL8l9E4aLEpnrKsnvz0OvT7JbBGoiJMVBen6pDWY4T77TcyK67cIdNdxktPQ45IYinF88koQ+wRWyXLvAXa7ujGfHLb6HMEWUzkZi/reAb8quK2CF02A6u8N+ItyYIjIxd64eKXgI2P8z69uooaFXvU8w/STFtD9y2OOPa7dWXCDQ3q43sW87/AzWhFowb8S4RR7V3DhBsoNg0HD0cWgdIOjnAbp2PivXqrzEjih9Jui0cAXSM0OSSTtdLdc5skVAHHJRiVXK1cT2wJPh3svfL918dPqfMUyLhjPjcprJphZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=VzeGWAjvwALJvO+nnGt+latPaeugjdSa2q+eTI1vrdA=; b=mEaLAzax5V4PqPBTtfdJQzIljS4z3O5l4rpIyIE4LTa9+yp/x4pjGoNpJG2gNhfdhQI7FySvFd+AbKf6WNFv8BnmQEYJXEDuQNP4+6i21bHEtFTg3KFnP6/2FHQoZDek8XmfqH7BB4oIWgnKXo9EX1s90FqQjx4ZbmKeFn76sRTsidGslUmW6Uu5kBn0wkrQC4VdXzo+veL+BTJu9VVkMmtnFLxZTSP2z/qg1hRk1+Qz4VHWD6UAzZhcI5qp9DDtUZqnS2HRsAUZqbQGz5GpOmV2Yo9lxnWughK8+/DcWolBMxuwozsXTTpyfclr0VvntoVQ8wZP+kRLJGjoiZkvAQ== 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=VzeGWAjvwALJvO+nnGt+latPaeugjdSa2q+eTI1vrdA=; b=NSPJnzZhGA8XM/iqvsqD+wvjlqiEQ+LFgq/SbDADoiM1Kd5K8bleFGEES9Z2Lbc9afIn74NHI7Y6T9xshnPExnjyVVP7CC1xI4huREFkiOiSVQAWYXLrZZ1xnQEhimUb1ZaVF5/fsg1L0ZRzU96YW3JYzRzaC09pm8uNeRpuxm5JZ/Jsb6HtvcLbxh74dLs1s6nmtHoz8zQ3kOLSEjNjVvlTcTqDv8odS/ZVZgszDcKsUs3lLwKISmdhK3bmsjEmaFaMIkZ3vhhf2EhsgWT/zGQjjiLG3o3pZu7LJYtKythHPsTnZgWiwbrqwCatYG8AQ9RIc32/59fbcLbc8m4+YQ== Received: from CH3PR12MB8460.namprd12.prod.outlook.com (2603:10b6:610:156::15) by PH0PR12MB8775.namprd12.prod.outlook.com (2603:10b6:510:28e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.27; Mon, 28 Oct 2024 13:17:28 +0000 Received: from CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5]) by CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5%7]) with mapi id 15.20.8093.025; Mon, 28 Oct 2024 13:17:25 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Maayan Kashani , "stable@dpdk.org" , Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad Subject: Re: [PATCH] net/mlx5: fix internal SQ item definition Thread-Topic: [PATCH] net/mlx5: fix internal SQ item definition Thread-Index: AQHbKHnvi4lwQKSd4EiPLO3k6YaxLbKcJm5a Date: Mon, 28 Oct 2024 13:17:25 +0000 Message-ID: References: <20241027140941.127233-1-getelson@nvidia.com> In-Reply-To: <20241027140941.127233-1-getelson@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR12MB8460:EE_|PH0PR12MB8775:EE_ x-ms-office365-filtering-correlation-id: 7649cb3d-be0c-4431-2d8c-08dcf752dda2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?lIIA8p73NUO4KRw/mGCiMUkog5zWD302DBrVFJ9wxPUh2mFNJmDvDXZc+4?= =?iso-8859-1?Q?OXLKbtWOGabF1mRAcABI6lxoQgQXGdA5HG/e6PFLsPubgHlAZN8GOQMgX2?= =?iso-8859-1?Q?8/6D1Au06wkOlVvQRG1yhI428JU3XF6KdswQkXHcX70piOIjvftYiSHwNl?= =?iso-8859-1?Q?A2QfqLF4EwmShxirt69lmUlx1h6mzVVUBAozK9HOon348DRqTZaa++QIpc?= =?iso-8859-1?Q?gPuR464MB4OdPWG4JXrNkrWzXROnHFvmrVV4iJxgVUAiIqUWlIlsq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j4l5c3F/4I8eXCwjcN+Dj9+N5HgX2exaDVA+Cy91MIR?= =?iso-8859-1?Q?JXHp7FPxeC5Om76tMIFQOakD8YZcoGguS/HLpeGXekrM2Wmum0vIeauCer?= =?iso-8859-1?Q?RcDMJh0lZoVeBV8zgkJSJjuad+udv1bfyoJNxmY/lUyVhVVH+yRqjRkFxC?= =?iso-8859-1?Q?9zY8dqoE92ptvF0FEw4NTmNeRCnu+CDAstM7ueljSUXET/8jWYkpU+SM6x?= =?iso-8859-1?Q?+UAsMLVo1J9KfsJ6XNn65Q8ez86ogtlbBV1hFbqBGEIoI1+eZlRR0=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8460.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?/9A2sg4pucVlNc8c1IlOILisSVdLkAKpslXXLzdAO4do3LiiZ7zgci0Ogb?= =?iso-8859-1?Q?jrc1zVVTZfUa3d5T3a2E4AAXPYJXrxUYZDBHigE7SxM0R+Ze+lKCQCpOVC?= =?iso-8859-1?Q?uuuJ71S3++I8V4X09PX97+lKSQJxVyT783/LwQLLYnxdCOntkD4ET9U6BS?= =?iso-8859-1?Q?QKVxaFO9Uy9+1+H9A9VoaYy39JpdMqYTvmnSlmtErzahcvMjsI+GZiAcKV?= =?iso-8859-1?Q?QFmv9VnwgldYpwkV7trJNMQIwyMMBbCgt+igxxUTDsL5wmrwS6ox82dICl?= =?iso-8859-1?Q?R+1Nk/sJFc2ExjusXUNkLBi5oF6zjV7BFqgP/EWcK3ws2clwV1nOrgidan?= =?iso-8859-1?Q?+ovZFsGXekjyUjZ+U9shQIVEnpPuXk91Ot9avxuDFGr8WgwrQA5AK0xKCJ?= =?iso-8859-1?Q?lyx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b7rQSFo?= =?iso-8859-1?Q?IeqA//kDNTakKZx3kiaZl/7wKP1wY+R3kg65A0VV7vrOpySyzbobfRIn23?= =?iso-8859-1?Q?wdtGc6T52F6pPRWtfaeGZXdfPJwV9sx0IjAP5ZC/Yy1KJy3DAx/rwD7CGy?= =?iso-8859-1?Q?lAY9f3VtTiKhdgGuKtWGnFCb+na02VI89sKLQr8TxSJsVQ7I+btYuFBGmd?= =?iso-8859-1?Q?5nHRufWwOVSAjbQYQuoBHEU/Ua+qTTKyMciqY2t5fh9DhweLi0HdseY4en?= =?iso-8859-1?Q?SsbwncHsxsba1uzx1n/GgfW0ouiM55XaUZSAgpOK5ll/WUg6KsXGXUaS8h?= =?iso-8859-1?Q?r9cxKRzLhReo9NYP4LiZRpiWlGfF+ecUln?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8460.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7649cb3d-be0c-4431-2d8c-08dcf752dda2 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2024 13:17:25.7353 (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: 7l+YEtWGPDhGicBR7Mn11rXwsA2mOgCWYYoiLqKEvy4mOGLqsD7G4mGT/BYzXVSFLblfsOTRE1j6gW0dU/W94Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8775 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi,=0A= =0A= From: Gregory Etelson =0A= Sent: Sunday, October 27, 2024 4:09 PM=0A= To: dev@dpdk.org=0A= Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; stable@dpdk.org; Dar= iusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Az= rad=0A= Subject: [PATCH] net/mlx5: fix internal SQ item definition=0A= =0A= When DPDK copies flow items with the `rte_flow_conv` call, it assumes=0A= that size of PMD private data has pointer size - see patch [1]=0A= =0A= MLX5 PMD defined `struct mlx5_rte_flow_item_sq` as 32 bits.=0A= As the result, on 64 bits systems, when DPDK copied=0A= MLX5_RTE_FLOW_ITEM_TYPE_SQ item, the target buffer was assigned=0A= additional 32 bits.=0A= =0A= The patch expands size of `struct mlx5_rte_flow_item_sq` to 64 bits=0A= on 64 bits systems.=0A= =0A= [1]:=0A= commit 6cf72047332b ("ethdev: support flow elements with variable length")= =0A= =0A= Fixes: 75a00812b18f ("net/mlx5: add hardware steering item translation")=0A= =0A= Cc: stable@dpdk.org=0A= =0A= Signed-off-by: Gregory Etelson =0A= Acked-by: Dariusz Sosnowski =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=