From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B496A0524; Sun, 23 Feb 2020 10:31:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E77B1BE85; Sun, 23 Feb 2020 10:31:15 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30043.outbound.protection.outlook.com [40.107.3.43]) by dpdk.org (Postfix) with ESMTP id C86DE1F1C for ; Sun, 23 Feb 2020 10:31:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WXOZQ73yJIkOKDr+Qlsrz+jNt6yvDkEnkk4gWnKd9iKk5a5yNwbQc8kBjYa+T8HBwht/mNolzLjwvlOLLjqBKuRHNU2uGWG/IZGBVQDwqTTyr1/F/u/WPMbjvf7OhUF2LMcdxN+/EZ0XJFY+LmapXFuF2US+FD16SqE8pGsb/VYd1boLfDB4fJ1dqzGUhjFhM1YSeZchfiZjedgB1ObWjHXMq5u4JuTDqKTpJnkjfAqApX/Hrp7MGtchQj6hp55vdV08PTl7WtlXlOlr6KB8G9+WuGIlucXpzv3x2SbGsMs8g01r2OLdMSCxQzlYPrOHromfQqSPnF+KSbeS25nwag== 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-SenderADCheck; bh=J83nmTNcmZ/1aJeUS60kRTB8LQ3kTCWIDnbMEQaE17o=; b=JPHJo5fxgDASRC7l0xXkBUImQ347ksqV/VQrTx1Uj5fT+fOZ3U7JMzhmukCLajMPrIK5EZOYpQDWv2uljh203z8ImdwISYp/ZfeHz30yJqQz4JGIXdYX9gmp+zhz/8GZvvBIHqy8VA9dem/aoemMqw8uBMi2bOZKvRQk4/s3clRCoHZayB1QEghTXtfXfBRPdJ6+GY6UepyeVCaaH7g1cYhWbNU/MVh4ELSjhJd9wqy7tL3O6lHa+67Mf/A9z14HQDJuf5nEjs+mMgbR9kPFn+t8dod6zmSSK4LwTj6e3v2UeSMFL4C6Q1e0REOBkevJvwNh96ZWSZy0aFMRXq92Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J83nmTNcmZ/1aJeUS60kRTB8LQ3kTCWIDnbMEQaE17o=; b=agyZebO50wn5s+3QeWK34t9WqZre11rH7R8cSMau1N543mgWLib7F3q5tU/tzMFKSw0vF+sYKfh5va14ZBEaMJFAJHM0mq+FpBwNGP+Dk6ZAA+daLc2L4mkCSdsgIYlwHgVkvsez/s3n36/md+QdEPV1ZVrWKH9YBiY8uFZy28c= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB6769.eurprd05.prod.outlook.com (10.186.174.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18; Sun, 23 Feb 2020 09:31:11 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2750.021; Sun, 23 Feb 2020 09:31:11 +0000 From: Raslan Darawsheh To: thomas@monjalon.net Cc: dev@dpdk.org, orika@mellanox.com Date: Sun, 23 Feb 2020 11:30:59 +0200 Message-Id: <1582450259-7235-1-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0033.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1::21) To AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by PR0P264CA0033.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2750.17 via Frontend Transport; Sun, 23 Feb 2020 09:31:10 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cca9480a-3aa4-44af-887f-08d7b8431e43 X-MS-TrafficTypeDiagnostic: AM0PR05MB6769:|AM0PR05MB6769: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 0322B4EDE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(136003)(39850400004)(366004)(396003)(199004)(189003)(81166006)(81156014)(8676002)(4326008)(107886003)(16526019)(186003)(6916009)(2616005)(55016002)(956004)(8936002)(26005)(36756003)(6666004)(8886007)(66556008)(2906002)(4744005)(52116002)(7696005)(66946007)(66476007)(86362001)(5660300002)(478600001)(316002)(15650500001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6769; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7y3xvXLlwPGsex0IM1Z/ox+fTISNIXn1mpaXGp88WOw7LNgMU1DU0jsos/xxDbiN+n8rdpTC878oiQhaaO6m+0eYmD+t/N7bJiwUb+n2r8eH7WA60YcDJHSgC64kmqf+9VL4yn0XFKMOpqPELZZ1JP+9xw7k8N4jjuANDhxBBDijya/N6Ta2Ihx/XpGNREErvXdwNkvfSs7m7BW9g3bw0QrrwOKSKGLqbFKG+JwEJxAt5oCDAC+8f+72kJ6mZS3yGkth6F/vsPweGNzNlu9i8cLWG6nFuV6JfF/30ZP5brANjFr9wVWzqZP3w8mnNt/lt4qBvBoCjx36vKahCvEh/XA90wpe24zGzg24TDnKf2JGCZhDRCmuX77k+lKCnotpnm9/Mwd7dq4LsNM/Mha3P/afgF61071ocRfil4UpOqqxqR2PpicpUr6sHA1+Dzcp X-MS-Exchange-AntiSpam-MessageData: MTZ5KuPP5z4mm/5CE9MQTVCOzNSqcTHiNZe1EXKxh0PAzoq5swyIBRhUfs82MEQRvCwiTAmwb7cpVsxta0rlVoYjS8wno9Cyj3/Al0RysI9U8EEQhEv4dIUft7G7N8qr7WvNcwVXZlpdzMAed6wOTA== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cca9480a-3aa4-44af-887f-08d7b8431e43 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2020 09:31:10.8247 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: l4uZtvo8QHn70bVOyLjXt4ctHovqnnd7J/JBZqfRVOKRJKp81gBRRafHfjZLcAyvz4jLg8GbncFKq2C+1PS4gQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6769 Subject: [dpdk-dev] [PATCH] doc: update mlx5 encap/decap limitations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Document validation limitations for encap/decap. Signed-off-by: Raslan Darawsheh Acked-by: Ori kam --- doc/guides/nics/mlx5.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index dd2fbde..7991da9 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -215,6 +215,17 @@ Limitations - Rx queue with LRO offload enabled, receiving a non-LRO packet, can forward it with size limited to max LRO size, not to max RX packet length. +- Decap / raw_decap: + + - The decap is always done up to the first HW detected tunnel. + - Decap buffer is not validated, only matters for deciding the decap type + l3/l2 decap using the buffer size. + +- Encap / raw_encap: + + - No validation is done on the encap buffer, it's user responsibility to + provide valid buffer. + Statistics ---------- -- 2.7.4