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 75011A0A0A; Wed, 28 Apr 2021 19:59:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0ADD412CB; Wed, 28 Apr 2021 19:59:39 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2066.outbound.protection.outlook.com [40.107.237.66]) by mails.dpdk.org (Postfix) with ESMTP id 74EB7412C6 for ; Wed, 28 Apr 2021 19:59:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6xhc4CQe66dZQtjzO9bqL/Cvmot9XxapPBOwDOy+N4rSqZ/o9SbTjLeDziyYtl1z+xK5x7K3Pp09kjNlrbs5xPyUQhvr22TLw2q/GPiTiFYyqgXkjO5eL/UXUHs7IFsl5hE5LTA3E1OlVS8JVdRkLgrpEKIMFgwgh5SHRffX/UO1Numzh0tlz09sDANbhdjf68Ax7qod6cPCSJ2pjJY1pxqw/sUJkoi+HIeFcV+7wIqKzdhAsmoPDvdp+m5YATARdoNJXnZCxyklbhHgh3cknQMtrrribtNccYQyQMQKwRtOH+M9dNKHkeGWEX0CFXHGYqrIlLtQ2YHC/YXGf2W9A== 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=jrj7f2LeTYv42CeHKfWoD3uFXS5tG/t67CVGBCnPHRQ=; b=i9Ulmj09rFEZRI5/4ylWQwQ1Qbi15vQR1jeyUNvINFxDKQa2ORm1auutuO6uCXHz6Xr0CNAaaekmSNqT7HkcVzkMUY4eocJ+/5kijzRH9iWR7FpLYRNWJk6NlokiOCRU5uO9+RPS0dBbaE1AdYDedNNySeAuM72CIG/IncEJRKdtfjvw9yobB92HsYOVRqfuij70WOBw00G94Wugt5WOWKm/4A3qDOs5ZYcZEKxnaqu2PQVgkTqctDF2fBtZPFeendraNPl6dzPvhwLfpdEDR+2VReJJksLRbDADwaxqpybav7qPolx1VFtyO45EXW/Dpt625H5iv1qWbxFNY6kJyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none 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=jrj7f2LeTYv42CeHKfWoD3uFXS5tG/t67CVGBCnPHRQ=; b=royDsnLGXE/wpZUMidWybSqAxaGHa13ZcQzx7g9rz6cOzSdT0LmedUjtXGeGY+09YhRVOIvKdeOfzCM+Jm8+3oz79Khiz9g7cU5S8OH9T0K1dsJf/o1nHxMVcod9aKL6Qg3YAD1I030LyDGXErSVthwwbJIWShfPWHNYvSCiy7whkw0v+zBBm0VfAKQOJwnRQu5Dckdjo5yYlDIXY5FBLVGlUYfaig+PmMTqf+URlb8DoPZaHHQ5RguG2pno7gN0kmEeHm99K2xc0fRQLDZzJo+s//k014DSX+INt918s8W1jPfoJC7/OEYtvSOI+Bqmyb+KNR5hHxV2zz50Ni3oAw== Received: from DM5PR2201CA0021.namprd22.prod.outlook.com (2603:10b6:4:14::31) by DM6PR12MB4074.namprd12.prod.outlook.com (2603:10b6:5:218::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Wed, 28 Apr 2021 17:59:36 +0000 Received: from DM6NAM11FT022.eop-nam11.prod.protection.outlook.com (2603:10b6:4:14:cafe::13) by DM5PR2201CA0021.outlook.office365.com (2603:10b6:4:14::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Wed, 28 Apr 2021 17:59:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT022.mail.protection.outlook.com (10.13.172.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4065.21 via Frontend Transport; Wed, 28 Apr 2021 17:59:36 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Apr 2021 17:59:34 +0000 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko , "Shahaf Shuler" Date: Wed, 28 Apr 2021 20:59:06 +0300 Message-ID: <20210428175906.21387-5-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210428175906.21387-1-getelson@nvidia.com> References: <20210428175906.21387-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1a497b06-6529-4452-8373-08d90a6f62c6 X-MS-TrafficTypeDiagnostic: DM6PR12MB4074: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GVor3XJNt4K+YkzljReAhTbRRARFRZ7VvQ9tCWIa29QfhtvJpQS3wV5eq0/XAExKWeksiWV2PUuGSONzMFNYelmIGTfM3V+THPpaYihmJV6QV9/Ijltk6APK84Ryf1bhfd7oeukJy3KWtABlkSYGSfRAUjx3NmlI3c73ekEBcky7piroB0QWw/cgG6QvKTBppNh1BPo+AIJ88Lh5dF4lV3wunF07UsP3ZoJy0EbwYvDDBpI6ZhSlUtFHVpKu2uOWOHq8dbapR4eC6VWeIY+jU/UTdVSC9xjwMj7HrKSUGaGp6sOj04N3LB6UhK9Elu62gMdMaxbSwl6XP0tybe5dMJQHAWhC0XokNWC5ttly9ffQCGMILvRFrQBJX4wMe+kkXSgk/ge1mJffw/gef93AcmLqXWH+VxvfdjI+IzHxCMn0iL2QlcAKOS5YU12kxVy4U1dlLIyTN6niR5PFGXfJ0VdFVF9crxT5GEY7dwK0dfJhmWFyMBTZP20aH3rUrh92xhI+nW8BO8oWW3NCbgPVfJe0w8Mda2R03PfKtyJAW7wGshXdj63aoaayZI4AAu/6ROICiRA6x/1O1vSg8zeucLyjBXvkO/fMJA12Hy0XNkkB4o0cIhaFV11FsLrJbAE1eQH6lcxN4wN12R9uD6rDI7AB4FXtHnOA8FVKLBSO0DE= X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(39860400002)(346002)(396003)(376002)(136003)(36840700001)(46966006)(55016002)(7696005)(336012)(7636003)(36906005)(70206006)(36756003)(2906002)(4326008)(16526019)(426003)(6286002)(83380400001)(8676002)(2616005)(186003)(82740400003)(5660300002)(82310400003)(86362001)(47076005)(70586007)(54906003)(6916009)(36860700001)(316002)(356005)(26005)(1076003)(478600001)(6666004)(107886003)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2021 17:59:36.2631 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a497b06-6529-4452-8373-08d90a6f62c6 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT022.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4074 Subject: [dpdk-dev] [PATCH 4/4] doc: add MLX5 PMD integrity item limitations 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 Sender: "dev" Add MLX5 PMD integrity item limitations. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index b27a9a69f6..12b45a69b5 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -107,6 +107,7 @@ Features - 21844 flow priorities for ingress or egress flow groups greater than 0 and for any transfer flow group. - Flow metering, including meter policy API. +- Flow integrity offload API. Limitations ----------- @@ -417,6 +418,20 @@ Limitations - yellow: must be empty. - RED: must be DROP. +- Integrity: + + - Integrity offload is enabled for **ConnectX-6** family. + - Verification bits provided by the hardware are ``l3_ok``, ``ipv4_csum_ok``, ``l4_ok``, ``l4_csum_ok``. + - ``level`` value 0 references outer headers. + - Multiple integrity items not supported in a single flow rule. + - Flow rule items supplied by application must explicitly specify network headers referred by integrity item. + For example, if integrity item mask sets ``l4_ok`` or ``l4_csum_ok`` bits, reference to L4 network header, + TCP or UDP, must be in the rule pattern as well:: + + flow create 0 ingress pattern integrity level is 0 value mask l3_ok value spec l3_ok / eth / ipv6 / end … + or + flow create 0 ingress pattern integrity level is 0 value mask l4_ok value spec 0 / eth / ipv4 proto is udp / end … + Statistics ---------- -- 2.31.1