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 0A6E6A0547; Thu, 29 Apr 2021 20:37:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE91A41320; Thu, 29 Apr 2021 20:37:32 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2071.outbound.protection.outlook.com [40.107.92.71]) by mails.dpdk.org (Postfix) with ESMTP id C472D41267 for ; Thu, 29 Apr 2021 20:37:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PNS2eEUn5yUtp9+d2qvDsn9knZbSv0+oyYi6jtBZ/65ubBornkcirkLk4bELsgRpuW2npoClSkDQh9bLDl1PudR1PPpYgnKEpHvRU9BuZzZZD5RBJAQlN5Cu2QcoABoefX00oTZVvapgSxKjy92ZlGMM9mC/n+9zWBhy0j5TTW7Agp4J1ITJHqYIhOkhDov90u0SpLd0GWl9a3sc8x2w1Odx5h+h7jaznSSeJ8xjoRGkKVfOc/eMQLblA0vaUrISn6FviLbwyiDDZ2Z4j1pv4dS6B+BukMH2hm+YhHMdVAl6eImCbfGBhuSUclvcfmCstFaztBzWLraQV2SYw6qOLQ== 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=WGf6aePPMmQ39B/x9bsUQ6NQmna7gz8sah5v9s9a5gg=; b=PtlDxH+6TtcS5JYvtonOKnIIJ+p6sDrJPEcO9JLydLLlq/xxOhLRodCywG3pt0HaqdG88yLocH89zpMsQtIHN86iKuWNNMiOwsHIk4I+Ao+iknWLJRQFEvkAjekYskJZpYfftmyrxQtNH8dfcsKVRm06u+jz5P/fpsE+AvgANpji1mklqNosLX1rWOUyCjDZ8InXD5N355iPDCC5iMtVLxeur9fgavOe39KhAAw522MBRSAUCzWKJS/uVYi0GeCuUK9Ig+LgCqk8TfOVnTwN9lzRf7jrQv9bFh+Y/yg9GU6dFTpAyMWoZfcP3tVY/OiCNfrSYY74EI+Nxv/68rPw8w== 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=WGf6aePPMmQ39B/x9bsUQ6NQmna7gz8sah5v9s9a5gg=; b=SoYUREBuYNzgqS/CQcSQj30N3mfOj0tBWQl+3O8JCX0DrzoX2d5rh6szxAKhbvptnk1KJsLB7OlJKzQ6idcvJfZbOVrVdTERFGJlbcDeRA9bO/6WLpVzuzs/Jd/QD77Id6sSxPtLxRHalPb7kit4zj7JqRKvoEr3e8zFbgx4gPFHlYCuRJgJIEcZ1O+vA1SrM6RYXq/QwZREUWQ+yGn/Vk3zcisMF2sOBE2lpvH9nmon5fQOlj0enjwCzkTj5+rW6u7LB188rdDmx2SIxVkPzzKPhKFLPJRQobKle35AvWYvQBmHEY8gFLFP6NW2OAgVywPkuY3HpXDX6MWVF2vFhw== Received: from DM6PR11CA0020.namprd11.prod.outlook.com (2603:10b6:5:190::33) by BYAPR12MB3015.namprd12.prod.outlook.com (2603:10b6:a03:df::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.26; Thu, 29 Apr 2021 18:37:27 +0000 Received: from DM6NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:5:190:cafe::43) by DM6PR11CA0020.outlook.office365.com (2603:10b6:5:190::33) 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 18:37:26 +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 DM6NAM11FT054.mail.protection.outlook.com (10.13.173.95) 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 18:37:26 +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 18:37:24 +0000 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko , "Shahaf Shuler" Date: Thu, 29 Apr 2021 21:36:59 +0300 Message-ID: <20210429183659.14765-5-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210429183659.14765-1-getelson@nvidia.com> References: <20210428175906.21387-1-getelson@nvidia.com> <20210429183659.14765-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: 58e7322b-a8fb-4c42-8991-08d90b3dd635 X-MS-TrafficTypeDiagnostic: BYAPR12MB3015: 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: DcKqEkEzy7C303I/anoMp9CgnGY4/Eo5qAqyw+oOwy2rIeDNg2RgnlFzbARhOJX7gvyHN/9c9kdKLd0rS/1fHc7sfdQzqp56AUi/85SVM1I5MMbuaxoKvb0/Lq8fUsmddhHmXzmit6s61zdET+g4NKiN1ugWmvm5HDh5drgaCVMIAIGeizd4kEo14BVycK6e0qxS0dBfEJpgZIFbNjz4Vbe6HY4hMOflds8prLbkgMTXZ3rj93DxgoS1D2H0vdOUO3fLi78u6PdCAs3VapyJXHjd6qF1wOwrn1nNGZHEJA/t4de9kmFFU1APU5d49uHcRlyIchfrKVuYCLVodBhjhvqUEdSCBfmiNaB25RKgIguo601S4gvgrl2Td0DDlkTlM983YjqtPtujl1BltQrA64ofLbXxC5gI05at4LYNhpaOjgPiwJYaivRL2yDWiZ/2MU7P1rDtArZSIGFsdpmLpwQ4pxsk8BgKgVNUfvMNQ2LXxkjCBRXa7EjqAf/BzYwOU2bj0NLtKS391ZJCarrU5AgxL2V1sv7hhXa5PUTATEw1ojhqaB+GQF2n2Jpw3FB7gxPxME16lNp3U8xLJ4ql2lbFYYAcjPoqmYrAZe48SsqjZivaDPRGS7N6tLsarqiR/SiY+QePkt9V10bYiUUR5g== 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)(346002)(376002)(39860400002)(396003)(136003)(46966006)(36840700001)(55016002)(426003)(6666004)(36906005)(6916009)(6286002)(316002)(7636003)(2906002)(26005)(4326008)(336012)(107886003)(54906003)(70586007)(70206006)(16526019)(1076003)(186003)(36756003)(478600001)(8676002)(82310400003)(5660300002)(86362001)(83380400001)(7696005)(8936002)(82740400003)(47076005)(356005)(2616005)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 18:37:26.3239 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58e7322b-a8fb-4c42-8991-08d90b3dd635 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: DM6NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3015 Subject: [dpdk-dev] [PATCH v3 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 2bb4f18a08..cbf16ad598 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 ----------- @@ -418,6 +419,20 @@ Limitations - RED: must be DROP. - meter profile packet mode is supported. +- 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