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 26322A0552; Thu, 17 Nov 2022 15:39:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF11A40F18; Thu, 17 Nov 2022 15:39:34 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2082.outbound.protection.outlook.com [40.107.92.82]) by mails.dpdk.org (Postfix) with ESMTP id 9F15E40DDC; Thu, 17 Nov 2022 15:39:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n7kXPwzDlKsIAvntYNerqRih0IZLlJ136TxC9hPANAWy0i7YjYrnN42HiQsxgsgEoUDbGvVaO4dFfhtW/daRUhBifGzsMKKvr6z5HreNOv2y3VFljc7yt33xXQKBzRyw/vCwfo3JS57BJIHnn/kUX+jzdZLjlrj51sWEbYY7Oh4Mv9/xK4WGj6PAevwDadFkkxZlRVx6BWCFDqbOL3QzzsKC/pmjZHkwOvflENQtHg520ZAipXZaquOcbezUR5kbAzh/iQBptFDfrIOetT7wRMOjG+SSxggCiSUPaQaUYJJ4fbFMYySgVnFg5dHPXu3eYX6jq0YHC0OTZ8lC3pEyww== 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=uWaGR8ZYtE4l0HokgvsdPjAxwe5+RmMuJA3Vn2KNkGU=; b=TEIpED9X+mNRYgthkYCnTTPMl3Rw6BaF4+I9aF39iBGwfV2H6xyKFdtXmhOyzjqrF77xxpUCjyvEkqjECVIuev/qzZZFa8+CDHEu2QUb+gHtJMdkxBq7kOJ/yHNxE+rpBYAZADL9jCRzF+oqNA+FH20qVAbVcmTcSWmmWdX+SWmAR8g1v1s6lXIzD48UAl08cS19VQFeL9XWCZMd+5DwEDn5qmWB+aVKkf/4W/GR6NjZNgWo31NLGSX3iNvcaMMGwHDK68HOtfsRHfX0cCzIsUgxHTd/aWFHkGpigTypa0tlLOhy5vliYesrwQjtL0LJOFYaF0u7Dx8MP/1Booc0KQ== 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=uWaGR8ZYtE4l0HokgvsdPjAxwe5+RmMuJA3Vn2KNkGU=; b=C6AQ8E17Wyg2gyCEeZq8zDgKTlFQweUqgiZYU9YxPVomUZ49koDAncVRgp1QuB0C8W1tPDj4jLwPxhsPFElCchjs9ktzarAFw8v/nzMYExCOUhgZaeSduU4AeJvZVAryzM6zCUyVIFNvgIIrMHNTEpCPlUrv2lLN7u+pna3yWX7PAGu/9KIP3e45dlE7jfatdsCGH9TDv+zMiRtyGOmJO9NMhnC4Plfi0L9MYcP7ciyaCNPIFz9Qb2W9DZsF487j7eDRbGS2Ygep0B0oT6R3eFXs76AQO+4nJaBkw28Hph8S2/qkzid/0LkIEg8UjtY/u40cGyG9I/GOToS4R+QN7w== Received: from MW4PR04CA0134.namprd04.prod.outlook.com (2603:10b6:303:84::19) by CH3PR12MB7619.namprd12.prod.outlook.com (2603:10b6:610:14b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.19; Thu, 17 Nov 2022 14:39:30 +0000 Received: from CO1NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:303:84:cafe::71) by MW4PR04CA0134.outlook.office365.com (2603:10b6:303:84::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.20 via Frontend Transport; Thu, 17 Nov 2022 14:39:30 +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 CO1NAM11FT055.mail.protection.outlook.com (10.13.175.129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8 via Frontend Transport; Thu, 17 Nov 2022 14:39:30 +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; Thu, 17 Nov 2022 06:39:19 -0800 Received: from nvidia.com (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.986.36; Thu, 17 Nov 2022 06:39:17 -0800 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko Subject: [PATCH 2/2] doc: update MLX5 LRO limitation Date: Thu, 17 Nov 2022 16:39:01 +0200 Message-ID: <20221117143901.27957-2-getelson@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221117143901.27957-1-getelson@nvidia.com> References: <20221117143901.27957-1-getelson@nvidia.com> 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: CO1NAM11FT055:EE_|CH3PR12MB7619:EE_ X-MS-Office365-Filtering-Correlation-Id: 085a971b-d362-4e6a-aec3-08dac8a98935 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g/Vf7AsECC2XKUJs/7aAiuBBQkrLbSorQttiQIRtolq2ptcJedUObOKZMX11dAt7xUWCSopnJdCcJzwEMjBxEEwoVZsjLh1DyCVh1kogS0U5HwcwZ4rbZha4egxugqj33RFysLODicAK7+5of9EURCiOXm2NLJvOfi2vOsc5suKU6+ynqdK/31Rta2FY52P7wjeSMo9Wjin1yXXSO91uVSduH38kXfHPYkpJFLRHcmbWlqWb62ZVIYroB5+FvTMAhsMFzgMhoQWTiGiTNaTa1Rl4+vxAT7uGjHiNNSz/EVm7PcOTl+qPTJeLQuRcby2t5A3geDB2tAr+Z3NaOaIMYUYJQh4UqLSthwAqbycjndsAZMAGy3A6Ej+tiSamij6kQHJyaCX3FcjVxJmEgCQ3zHBTI8fgxt5+7npf58G87j2kaibq+QA6ZAejhc3GkeGdnxRdDxNtcYOgSMPOZN/EYEoYuXKUFkBRUSb1Wr0cj1iaOWF3RccL/2aBdwK3nk4Y5t7yiuE8c12EXTM61issQCd3cVm1Jc5YKW55nbfIm8kO1yIwlRIuutYRw+NQ1Q4isOJDX23bmgkNonDLG4XvE42kJayQGF+spTYZUCjis+M+BMNNl35LQ/ikHCd89h9dCKL1o7hie2tIyvcWbK5bNDasoQmcxeu1TYuxkejpbZoW0R94HqyRo6R217mOxwVg5vkoVQNSQj8oUnmlF9jITg== 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)(136003)(346002)(376002)(396003)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(36756003)(1076003)(86362001)(7636003)(356005)(36860700001)(82740400003)(82310400005)(47076005)(16526019)(336012)(26005)(2616005)(6286002)(83380400001)(2906002)(40460700003)(15650500001)(186003)(426003)(5660300002)(4744005)(8936002)(6666004)(6916009)(107886003)(478600001)(55016003)(40480700001)(7696005)(70206006)(70586007)(41300700001)(54906003)(316002)(4326008)(450100002)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 14:39:30.1809 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 085a971b-d362-4e6a-aec3-08dac8a98935 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: CO1NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7619 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 --- doc/guides/nics/mlx5.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 4f0db21dde..98e0b24be4 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -278,6 +278,9 @@ Limitations - No Tx metadata go to the E-Switch steering domain for the Flow group 0. The flows within group 0 and set metadata action are rejected by hardware. +- The driver rounds down the ``max_lro_pkt_size`` value in the port + configuration to a multiple of 256 due to HW limitation. + .. note:: MAC addresses not already present in the bridge table of the associated -- 2.34.1