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 9E8BB45F6A; Thu, 9 Jan 2025 23:35:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4159440FDE; Thu, 9 Jan 2025 23:35:38 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2061.outbound.protection.outlook.com [40.107.243.61]) by mails.dpdk.org (Postfix) with ESMTP id 9801F40612 for ; Thu, 9 Jan 2025 23:35:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rU+bzIzHqWxKScNOWWwafeB0ZWyhcjUsTyCpZRy8Hizyg/lSBc5t+HmTzk9yC1B9q5m/VT3H4+IHm2CFuuP1RqM6761VLLiB0cjqYvSF4484PKtN9pmImaBEJEk4ISgWyRSyy2n5VLeV/M5liGMGZjZd6MbW1Lp1x0QdVE+b1RiD6GKJ7ovANOTIb/5ZSGW46pDc+qqvm+ss+9quqCrCIdQigGmWAdE5O/vHBxfbc3ePI3Vgh7R6Ix2XU579vT4Mk4BwvRaicTvDzypkLdhcrAILmIxqE8D6f8dsw9THQH2XJrcI6mXmgeq2foTuxK+ynQ/Ep5RTNCsz8Eb59YHfXw== 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=fecj0399a5r5QGB4G+yAncCBXTAzsKozg6Bk1shgAQI=; b=odUzlzRSRl40p2Tu1JKLv3bBdaa0BD49TZdBSbS2t08+vUuSTua35CQkQgoRhtxNRYrPKc8WsbeSTF8Zz0ceHmioZT0u14PwR+7V36iLZtXIH2vh77Oh++I7+ZtdC+6AfGozQsoMcB2Gm0KHC+xSpqml/3a/nY3EySoMCcxUkQXRioLVORGwlHbU+jDdWuYYTW41u8feDCORDz6xTqhajvqUqOfelXdV7dH3TP9KX5xW9ea3rsrFHFXhZ+O/0SbmSJOAMEqC7o1qt0ICqA4ttA1wdmyr345aUABLtRUbbyA1CqQovbyDuf9OlfBivag23W3HvWjGWptJQ7ubhAQj1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=fecj0399a5r5QGB4G+yAncCBXTAzsKozg6Bk1shgAQI=; b=ZLWDWRnhfbLHVklVMrTVmgoKOIS9mTFs/imft6TRFGtzgYtW1m4Ja82Z25WjCoiWBlizFZFWBCfvZ3JUnTOhtrECquCxL1yeBjMIFesijAEBVgBzoJ9aHD04TrdIzI2bSrg5ftLc5k332SAS4BzOQvY/EULYEVXfn3ALyj7KI10T2TLEBKIHQfCAAmdUzhd3jJMmr4z8lYrO5/bziuR+Tzf+lF86WiUhR1iDOYhZPG+fyWN8ADArgDjgTvQtHtuauV8ttqdkXm1Fsm2vDFT/xovcaMigMIW65LxRImg4q2FcmYIihkEiAeQ4xxPJlOaLzFTCbPqBIvwkKskzt2nslQ== Received: from MW4P223CA0014.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::19) by PH7PR12MB6442.namprd12.prod.outlook.com (2603:10b6:510:1fa::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Thu, 9 Jan 2025 22:35:27 +0000 Received: from SJ5PEPF00000204.namprd05.prod.outlook.com (2603:10b6:303:80:cafe::d1) by MW4P223CA0014.outlook.office365.com (2603:10b6:303:80::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8335.11 via Frontend Transport; Thu, 9 Jan 2025 22:35:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by SJ5PEPF00000204.mail.protection.outlook.com (10.167.244.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.7 via Frontend Transport; Thu, 9 Jan 2025 22:35:26 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 9 Jan 2025 14:35:13 -0800 Received: from pegasus01.mtr.labs.mlnx (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 9 Jan 2025 14:35:11 -0800 From: Alexander Kozyrev To: CC: , , , , Subject: [PATCH] doc: document hash RSS limitations with CQE zipping Date: Fri, 10 Jan 2025 00:34:27 +0200 Message-ID: <20250109223432.3222546-1-akozyrev@nvidia.com> X-Mailer: git-send-email 2.43.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000204:EE_|PH7PR12MB6442:EE_ X-MS-Office365-Filtering-Correlation-Id: 3575bb8e-46a3-4edd-d062-08dd30fdea12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?1YDRkYQ4fRoiYYRpb0Eyb7r2Jxb3Lcr6yjmD4fL5qVtT/DukBQlFe4InG1f+?= =?us-ascii?Q?PWr+oww8CBrCQ8YQLziB+mqqn+dMZnvueUvC4VKCtstrK+qfmswa7i1aVlvD?= =?us-ascii?Q?NlHO9xdeI5un6bqqC/ix5u+PaZp/AfEtkL3Y491r+hdXjEDJgp5dO7Bu3FK4?= =?us-ascii?Q?mdCraR1Pkp3kQLXsXpWE/pcKUbmmp7lWj4Nh4U+Zqg40WJ3AbUnPLg4u2s5b?= =?us-ascii?Q?l+MGVdQVTgtqG9gWA+AYh6kYu7Zb7jdhUefSODRBZx/43WuQk/XAQ6ZKC4lA?= =?us-ascii?Q?/C+6wckHaN+ZEPF5JERUmkYLxwcGd+abHpqVcQDzPhnjTqHAk44+E0DDTKa5?= =?us-ascii?Q?O6d/tioTUhTl/EC61Mw6U8iGm1j9HSnuhnZLzmcIflxEqZTGFIHYOzYLRiQQ?= =?us-ascii?Q?3MhGCJvJU4Kv+r357rs9hEKDIVwY3dwip9UgmTOEXxp0lNIWipINYlqcE1JZ?= =?us-ascii?Q?7weIymk4owNcNqfYGRaTN9DHj31jvzCuh4Ln4pyaoszcQ2wCCr4s5GeszKUk?= =?us-ascii?Q?xLBPezV3DFQ/FDahv3VT8KL/CymkKHvnLyllVb0VaBlZye8z9aIRvHZeeWjt?= =?us-ascii?Q?vREawvrp34WNjFL1d8IY1YHCr3Qg1qcI4L8tYkl/08Fw1qFknyVHTw54lBLH?= =?us-ascii?Q?SZXOH+dyVCnPvXL6Jd22gu6zLvcXw0SUX+z1OOzL6Ix+5PWiYTYEzvpAeClA?= =?us-ascii?Q?egG8tp/MaZfRYu6liZdhujG/cuW7KsX5tYe42thlD3XnQsf4fge1xjfgKogU?= =?us-ascii?Q?0DrMMos1af1s6AhJUV/9thHS0r5Flh45SWiZfAU1XcsD7/diZKwJ6/3jmkZk?= =?us-ascii?Q?rCzp8dlU8tJ2enyjRA/4uk++NZiu8Gc2089ipBSaeR42+uGfMItQIvWOxKbj?= =?us-ascii?Q?MRcytYmymZLc5qvYyDkdTwseI60p3JVUUxkRAi2wvHWSCjgPHizE581AAcRL?= =?us-ascii?Q?et+dUlVKGinZDiiQcjJn/uqCWozuyV6tz0yZv7kAwTWKEG1Mm8B2I4M5TATu?= =?us-ascii?Q?CFn0H0BYfcZVK7dsZqkRU8Az8BYktbxmFsUnsyoHX5Av2WXt72eB3n9bQqyA?= =?us-ascii?Q?sv2oc6RSHZu8hu++u6OnGCnIzT/5sDcIsdO6cwSn/eOscyyOPzu8R++5S97z?= =?us-ascii?Q?wh97id2vU0DRtdNzi16KJQPI9dhpFgJ25XTXpjgmaefNIQh9qRL9H1j7L8ty?= =?us-ascii?Q?D2Th795ngkfs1FdzHrwszi93Ml2dF+3l9uCRI2rfbULSG+Lqf5wqVF81XTBd?= =?us-ascii?Q?ORIH0/4/K6Yz1IBDs3LCF2BHFkJl0gE309P3OBwzhaVAqc6L1lDXSnasEb5L?= =?us-ascii?Q?0ZIIK2elOMYK7lmlqS/B4w2GrhtajnFZH67dqxDacrR2rycODulHXjIYP3XV?= =?us-ascii?Q?T73iDLahKt2saSlp4U+Hbq4jUYe3KP8bsayA9tv7FjBQP/EPahZxYx8z59Eh?= =?us-ascii?Q?1n0EOkshm8eh23frSq0mz/BLIEmgbTHlEQkyr7u06vqSmZzBLNtWca6JagDo?= =?us-ascii?Q?VXyeKA4DKa4WPLs=3D?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(376014)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2025 22:35:26.8282 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3575bb8e-46a3-4edd-d062-08dd30fdea12 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000204.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6442 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 RSS hash is only fully supported when the Hash RSS format is selected. Update MLX5 documentation about lack of RTE_MBUF_F_RX_RSS_HASH flag for some packets in case of any other CQE compression format is configured. Signed-off-by: Alexander Kozyrev --- doc/guides/nics/mlx5.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 30c40f767b..ceea2dd320 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -497,9 +497,12 @@ Limitations cannot be used in conjunction with MPRQ since packets may be already attached to PMD-managed external buffers. -- If Multi-Packet Rx queue is configured (``mprq_en``) and Rx CQE compression is +- RSS hash result is only fully supported when the Hash RSS format is selected + as the current CQE compression format on the RX side (``rxq_cqe_comp_en``). + Any other format leads to no RTE_MBUF_F_RX_RSS_HASH flag for some Rx packets. + If a Multi-Packet Rx queue is configured (``mprq_en``) and Rx CQE compression is enabled (``rxq_cqe_comp_en``) at the same time, RSS hash result is not fully - supported. Some Rx packets may not have RTE_MBUF_F_RX_RSS_HASH. + supported, as the Checksum format is selected by default in this case. - IPv6 Multicast messages are not supported on VM, while promiscuous mode and allmulticast mode are both set to off. -- 2.43.5