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 819DBA0577; Tue, 22 Nov 2022 06:13:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73F9542D3F; Tue, 22 Nov 2022 06:13:46 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2079.outbound.protection.outlook.com [40.107.244.79]) by mails.dpdk.org (Postfix) with ESMTP id 9E6AA40A80; Tue, 22 Nov 2022 06:13:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hBMdcDv4ZbVKhDXRTnNok0KXvFtkoYgBdJxlE3f5J221ZZKKKeeMj9nTSy8rhD22SfL6rrEO5weIp9LyPNWoPXIkrdHDa+krsTQhHbD28q2GB3MNp8YagIx6XrSIDuu+ZJG1ZWr/97UbRJSnVxmRe2k8cK7sgI/sR2Qdgyao11QEL62RIi1DIFSh6KwXZkE6kG5qkE51Uci4RsKKexY3r2ItANwKk+BVDfP6yMSZmNpIc7aAz+1t5lCcsyom2R0NlFrftii7InHNVJHv8zXxfA/Tbe6hBCjFIc/pkmysKabqJYQhXY+2fiAoDN3r8uuSmjdG2hmmC+Gauuw68dPeEQ== 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=9N8ekXLByBj11R0VLZeC1UyUTF4aZJaGVh96OJyz3+E=; b=P7Lq2EpcWUwKmd4TfhBg7IVa7b0BSoEgriSVTfO7j47qY7lwtN4jtjxChVzoFTnr7JOS6B7df+PbDklEVK9d7GACrj1xNfQ2w8OFSceRPgQ9Uud90ZJjYalm3Q8bYI5Mb3qK8R5KCfYzgLgDAtfcdNHIhWHyKBdYUk6sStrcmA7RIEEWS4V0GF2W3c/jiJiEOroOnPL3PauG9rJHL96sJfAgTDwbl4TWDnSUPdGOGSZtt5xE6wbYnzZEeBSgEuMxo+ZMWgJVkeuhAb1PX2XVMnZ4OJLxWo8Kx2exVFW8fRXBoWCRxrRn8TZ5TVpc2MAvWJ1K/0QuHtzHKq1/t3Rufw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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 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=9N8ekXLByBj11R0VLZeC1UyUTF4aZJaGVh96OJyz3+E=; b=e8Z0BYFcqRyDGWBR+DMhSU1ngG17HaIAqyeyIhx8m2UKZLCDGiBFGZy+TJ3mSUaoQnf81wINmYBqOWHa3CIbLCZHNMxc1xVcd5nN2PtYYpxXtzJvMa2waqrq/3ufYhbMSVhPrjKnT+B4RgBwMrq1oSeEXED9Pl/B0tnP1MgtJkCr6ey5igHWcF2pUTKoGWOP1HuMi1TC/CR86f62KM3P5e/WdGHiKXfzeWngGN8fjs5M+qjMKhJyh7YI01GJb0pSoBZ0FL9AkjFqMAFZMuhC/BQydw56c35fiYfxyCbL+YcAxdoqm9uUFauIcetWqtnAxV6I2ZTutJogrAz5slblzg== Received: from DM6PR12CA0032.namprd12.prod.outlook.com (2603:10b6:5:1c0::45) by IA1PR12MB6434.namprd12.prod.outlook.com (2603:10b6:208:3ae::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Tue, 22 Nov 2022 05:13:42 +0000 Received: from DM6NAM11FT087.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1c0:cafe::94) by DM6PR12CA0032.outlook.office365.com (2603:10b6:5:1c0::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15 via Frontend Transport; Tue, 22 Nov 2022 05:13:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT087.mail.protection.outlook.com (10.13.172.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8 via Frontend Transport; Tue, 22 Nov 2022 05:13:41 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 21 Nov 2022 21:13:28 -0800 Received: from nvidia.com (10.126.231.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.986.36; Mon, 21 Nov 2022 21:13:26 -0800 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko Subject: [PATCH v2 2/2] doc: update MLX5 LRO limitation Date: Tue, 22 Nov 2022 07:13:07 +0200 Message-ID: <20221122051308.194-2-getelson@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221122051308.194-1-getelson@nvidia.com> References: <20221117143901.27957-1-getelson@nvidia.com> <20221122051308.194-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: DM6NAM11FT087:EE_|IA1PR12MB6434:EE_ X-MS-Office365-Filtering-Correlation-Id: 543ec8cd-d617-462f-1df5-08dacc485273 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LGQUzokI4i9azcIFTtOYUFllT34UKkxttoqUb9O7SGmdp07379WlZHucOOXtr0YhiAfmAOfO0OAoSrlKXLP1R6TKwRiEzd5k9BlI/sxE+ZGsn6+7d2i8ZdqXkGdyVqT/7NA2k53NA0DaKMWBWyrCtVzXkH8Q051j8oeSE2r5yf9QPHHZ1px4olzemDLDWkYkHG9REVj1FLHf6msT5+nhuJQWJDZmWctE9HXIPO6Ew6PobHLD6n81H/rRhj/AHQzWo3mjlt2l28C5YRaD+opxbJ8YZ9YB/aeTs/sfDv8Zb2BAh8EAeNcmyu3ObHGhGYt5SRZvjAsIUJJyWzVRt1lSkIjYqC4oP1RY0MW4zQVZ/WflClzaTutram8KYRtRu2HixHkQMpL1YylL+GkvnHbeNgAYckrKz+RzMslmDdfkjKIzOwFx1c8iD/XKW1KiUa6sPU1G4XkWOTBmOS6GxCS6Vo+APqy5Tu7XWbu0LC25v4yHDCSR8RZgjBKAw2etIRedNWPbQJ8Vd6nWbGqKaUsL3DD0Y+Lf58cNJTGd1deDwRfsKlBA7et+8UzeR012x17RvNeUaFcpvQ1hLnrxA9geFXigD0GIkoI4u1zYdaE7oLhKd97sqVLJTdJvzLCmc/g2E6Iw8Qa9HKJKQen2DvNliMROh8a7KlOV+UIRzhwVQWUkPrum980LoDjlOrXnQqPHxmAqoRMWLBSI35Gltkds8w== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(396003)(136003)(346002)(376002)(451199015)(36840700001)(46966006)(40470700004)(36756003)(70586007)(70206006)(450100002)(15650500001)(2906002)(6286002)(26005)(16526019)(1076003)(7696005)(336012)(4326008)(478600001)(40480700001)(54906003)(316002)(55016003)(6916009)(2616005)(40460700003)(36860700001)(86362001)(82310400005)(8676002)(186003)(41300700001)(83380400001)(356005)(7636003)(426003)(4744005)(82740400003)(5660300002)(107886003)(47076005)(8936002)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2022 05:13:41.7771 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 543ec8cd-d617-462f-1df5-08dacc485273 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT087.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6434 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 Maximal LRO message size must be multiply of 256. Otherwise, TCP payload may not fit into a single WQE. Cc: stable@dpdk.org Signed-off-by: Gregory Etelson Acked-by: Matan Azrad --- v2: move the patch to LRO section. --- doc/guides/nics/mlx5.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 4f0db21dde..e77d79774b 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -411,6 +411,8 @@ Limitations - LRO packet aggregation is performed by HW only for packet size larger than ``lro_min_mss_size``. This value is reported on device start, when debug mode is enabled. + - The driver rounds down the ``max_lro_pkt_size`` value in the port configuration + to a multiple of 256 due to HW limitation. - CRC: -- 2.34.1