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 7A162A0562; Tue, 4 May 2021 17:22:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 331014014E; Tue, 4 May 2021 17:22:07 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 417F04014D for ; Tue, 4 May 2021 17:22:05 +0200 (CEST) IronPort-SDR: dtPQ/3vJElus1nsjaxxcHihlJ7JpGsUK2A0dLl0BhAabOqRCCYfTGX+u3XW4dUP7vG//GoTEgL KwZQoLz/3Hkg== X-IronPort-AV: E=McAfee;i="6200,9189,9974"; a="178214562" X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="178214562" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 08:21:49 -0700 IronPort-SDR: M8CZDoVmh9jfZuP8nPw92B8mHQmh8IewqlnkHB+lude9jZxcwuZt3BK7Lr8a5MsOU58XwSSKOG 7EPTCePbYzGw== X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="433322355" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.243.109]) ([10.213.243.109]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 08:21:47 -0700 To: Gregory Etelson , dev@dpdk.org Cc: matan@nvidia.com, orika@nvidia.com, rasland@nvidia.com, Viacheslav Ovsiienko , Shahaf Shuler References: <20210428175906.21387-1-getelson@nvidia.com> <20210429183659.14765-1-getelson@nvidia.com> <20210429183659.14765-5-getelson@nvidia.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Tue, 4 May 2021 16:21:44 +0100 MIME-Version: 1.0 In-Reply-To: <20210429183659.14765-5-getelson@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [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" On 4/29/2021 7:36 PM, Gregory Etelson wrote: > Add MLX5 PMD integrity item support to 21.05 release notes. > > Add MLX5 PMD integrity item limitations to the PMD records. > Hi Gregory, It is expected to have doc updates with the actual patch, it seems we have missed it for this time. Can you please add the fixes tag for the patch that added the feature? > 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.** > >