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 CA133A0A0E; Thu, 29 Apr 2021 08:17:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19984412C9; Thu, 29 Apr 2021 08:17:04 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2074.outbound.protection.outlook.com [40.107.237.74]) by mails.dpdk.org (Postfix) with ESMTP id 80086406B4 for ; Thu, 29 Apr 2021 08:17:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BzLKHxPNGJJkpk6KA+4/SWxPlc5HDCJUT7HUZDPo6dexl5m+gNi6X5ShYOG7sR4lOQPQiKgjpqIMPlnhRu/2B3ZeCLlAfO4mROyZrgZ3jLcPMFDIpkoqu/pOWXRC45QHPKKhcmH7r5tPW/oZ9BTeNVMc4WcmNvoQu71lcCdcpyA9xQbhXyxBWu5KyGwVFOpD+aWamFcRRi4jxCki4U/2liBKcZm4MqgVwoBtzlB5wHGWmY5MgoCF2lyTILYw3XAdeXznnl3irQz5DlIP0KqDJnnQlIjyLz08GKDPottCkYN6tMClK7n1x0M7qVP6sY7XBISWNK6ywMurRK7Vu+DOHQ== 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=6qxWu+qDd9hOO/TnBZODa8i6VOlRAxjidL+5SEdpQSA=; b=RSMPdve68e0uoefT0r832xDXy2gD1pVU5wQTZUywdZydmRfFE9rcgvoDmFayrI6IqdhhdtpLoF21JZ3uZCoMX8YfpAf30NEOfAvoevtYGevWUNBqmmMqx39Bsavu1eHi8iogG7AgcQHxT7hv7vNeYgaOdfu1eCjHNjn9DYSh4zS0iqqMFaZHjuzgtEj2xueGiMBinFTHYOiCHeTHaCpCrHEl/PHDfZnG1KzYWEiEreTyfnIFJgFK9jmbWgOvC8XCyKskIToPsH1fZGy6hfIt499oNIJjxYThpotHsADdawn1+hsVOYZI9JcNESeKHFoQmXil5PvLiqW/RDc2D5W4Pw== 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=6qxWu+qDd9hOO/TnBZODa8i6VOlRAxjidL+5SEdpQSA=; b=rm9MrrRbB/Fz6XrlKPNgGHlJFH/MpOhIdeqSIWTRpeQJvnNbAPhtw1KRVxCyDv68d+7wuY+CYRsrCGen3VQsidUy9dNPg/7wdivswgrs8hvTiIGj6QXrcbqiAAStidz00ubNtv2JCTnjR9V6TUR3X/RQ7MD4vR6oZyk2gcNTf9zd1oOLl0nuT3kiF2szuCmvCdZaQeDT1fX2u0qWTKqXlYn8BL2Vih9bSlJRZZ1sVV2IlUotCU+6HjseLiFvc1yuU2gquN2So1eMF3p9hlz30qlDVEhONA4RUgTAcV6apo5E3yn0Iv3WHd3fASh9Jzrri32o6mqceY+zSWtaoiY+gQ== Received: from MW4PR04CA0045.namprd04.prod.outlook.com (2603:10b6:303:6a::20) by BN6PR12MB1876.namprd12.prod.outlook.com (2603:10b6:404:104::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25; Thu, 29 Apr 2021 06:17:00 +0000 Received: from CO1NAM11FT020.eop-nam11.prod.protection.outlook.com (2603:10b6:303:6a:cafe::8) by MW4PR04CA0045.outlook.office365.com (2603:10b6:303:6a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.27 via Frontend Transport; Thu, 29 Apr 2021 06:17:00 +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 CO1NAM11FT020.mail.protection.outlook.com (10.13.174.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4087.27 via Frontend Transport; Thu, 29 Apr 2021 06:16:59 +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; Thu, 29 Apr 2021 06:16:57 +0000 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko , "Shahaf Shuler" Date: Thu, 29 Apr 2021 09:16:33 +0300 Message-ID: <20210429061634.3481-5-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210429061634.3481-1-getelson@nvidia.com> References: <20210428175906.21387-1-getelson@nvidia.com> <20210429061634.3481-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: b659c130-3d9c-46ed-7e4a-08d90ad6660c X-MS-TrafficTypeDiagnostic: BN6PR12MB1876: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WRgHz5AYPqOmNbVE6NDTKnwccLOT5/F8QV1W56XRA85fS/+3YWdXSfwTQNdHTE+RlE7N8I8E+pKVKB0Un0yWeUWK9NPYH8hxyRNGZSSZKZ3eVUaFgno3YIFTssiliOwaCV1zyUqS3FUr8vdVN+qVE9mHNX1B/G+N/Ar9fcyRzNOp2BwFaBQQA/YQ7a9JacEyNW1YA3BxIsnYNQr39TQSM2s95HovyLgSFIlJUfppRRtcY+uDlrLvvKxem+UezY9WCr5oY0a3vn9/EDro++HwypGlyHquPsu01STqMcU2ve+s39970NEIxoukJQiVkt6w1dNdMrjpZXtUoBX1ebvxTUHTFyJ7R5BWk0GbUoXBlNnG59ZAjmm+2c1x1Ocnk19eD6fhpAzurydzqeOLmyltNOuP2Lk/cMN7jOU92R7VEGu3mf23i2HJqCNI6uKKI0yjG6JLTzvVGmp3HLV5EUhMJKU/Dn3Qs97izzn9PquVOSmCPLKYxIZpRoNd6RyttHTp5ysk/FoXfiUOF1CHL+JkoNG1fdwXFHgtkbAZ5l326IT6V/Xobnh85r0sTGAXmCOOcKoUPGQlF7UHG64wT6ghC20Mlelwz6JntfjAk5KTGimIQxdkJ2Q4Rwli7idzfgZ2rJzjcrf9Re+tgH+3Xe9BCQ== 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)(396003)(136003)(39860400002)(346002)(376002)(36840700001)(46966006)(4326008)(8936002)(2906002)(82310400003)(7696005)(6916009)(1076003)(478600001)(82740400003)(6666004)(356005)(54906003)(36756003)(36906005)(7636003)(8676002)(47076005)(2616005)(336012)(6286002)(16526019)(70206006)(26005)(70586007)(107886003)(186003)(55016002)(5660300002)(36860700001)(83380400001)(86362001)(316002)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 06:16:59.9830 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b659c130-3d9c-46ed-7e4a-08d90ad6660c 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: CO1NAM11FT020.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1876 Subject: [dpdk-dev] [PATCH v2 4/4] doc: add MLX5 PMD integrity item support 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 support to 21.05 release notes. Add MLX5 PMD integrity item limitations to the PMD records. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 15 +++++++++++++++ doc/guides/rel_notes/release_21_02.rst | 1 + 2 files changed, 16 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 ---------- diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst index 1813fe767a..ce27879f08 100644 --- a/doc/guides/rel_notes/release_21_02.rst +++ b/doc/guides/rel_notes/release_21_02.rst @@ -138,6 +138,7 @@ New Features egress flow groups greater than 0 and for any transfer flow group. * Added support for the Tx mbuf fast free offload. * Added support for flow modify field action. + * Added support for flow integrity item. * **Updated the Pensando ionic driver.** -- 2.31.1