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 A58FEA0524; Mon, 19 Apr 2021 16:10:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9317A4130F; Mon, 19 Apr 2021 16:10:14 +0200 (CEST) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by mails.dpdk.org (Postfix) with ESMTP id 50352412E6 for ; Mon, 19 Apr 2021 16:10:13 +0200 (CEST) Received: by mail-qk1-f176.google.com with SMTP id d15so22834154qkc.9 for ; Mon, 19 Apr 2021 07:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LiLHY0P8tI2VoO/vveaYP7hpYfhXGsTHLLWwCgEO98o=; b=L4Ob0ai2BZVoN6IHLt3q+QkzWK1ytqWJdOIAtsSCobp+dMyxpcO6euh2ntsB1/uukj EGe04IDngFjc5AI2EbQPWk37sebc8LbTpInLfIr4SYfQgV2ftpDE6qINt9O/WxndfRmy +O5EjSUCfNVCRsRq5m6OoyEpV61J1uK79WDYE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LiLHY0P8tI2VoO/vveaYP7hpYfhXGsTHLLWwCgEO98o=; b=bdpAEYqWjBfArpZiOpZI7MnLRYezLn67lTykIdqb/AhiUA1pfitBxdnO1mKDzJAw2c AIF3QLavqJX9koy3XKkD3uG032z5LJB5CormPkF7+bm/v0R8oSwGr5Bj01ZcFtX+bKmC QxdIv/Mqlcwp/ue9iU/PISsQRHbE3qGi3Wz5BkVzzxWM1i8f77Q17exGRn+jEhscO1lx ZdVzrfTqcdmeUNjaZv/6p+N433hUofx9ITgnH70uxcF7GFNJmZl/Qg9PVXGdpBzf5PVD qPzUk8GhqTeScZhZmUZYfXTCiARuW1wEzuaYSFjC0FGhVOYKA9quKraQ1YHC463ZdV// Zouw== X-Gm-Message-State: AOAM533z72V1vx1EpILbmSMtukJpz+XMZw8ZlJGX32M1sPKJaAWktymw a4vJWw1aNTpptawiBydklm7vigCCQKHFS0ynE3n0Wg== X-Google-Smtp-Source: ABdhPJwTKWqLlaJvxnXy6QO3/wKaDpUnozGpYXEq8KS5zOc9M4XPV43RFOqzbNqL9vgVaUMSC5533BBTe+ZBsFIb3GI= X-Received: by 2002:a37:43cc:: with SMTP id q195mr12383708qka.455.1618841412624; Mon, 19 Apr 2021 07:10:12 -0700 (PDT) MIME-Version: 1.0 References: <20210419124431.21826-1-getelson@nvidia.com> <20210419124431.21826-3-getelson@nvidia.com> In-Reply-To: <20210419124431.21826-3-getelson@nvidia.com> From: Ajit Khaparde Date: Mon, 19 Apr 2021 07:09:56 -0700 Message-ID: To: Gregory Etelson Cc: Ori Kam , Andrew Rybchenko , dpdk-dev , Ferruh Yigit , Jerin Jacob Kollanukkaran , Jerin Jacob , Olivier Matz , Thomas Monjalon , Slava Ovsiienko , Matan Azrad , Raslan Darawsheh , Xiaoyun Li Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000005da19d05c053e373" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v8 2/2] app/testpmd: add support for integrity item 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" --0000000000005da19d05c053e373 Content-Type: text/plain; charset="UTF-8" On Mon, Apr 19, 2021 at 5:45 AM Gregory Etelson wrote: > > From: Ori Kam > > The integrity item allows the application to match > on the integrity of a packet. > > use example: > match that packet integrity checks are ok. The checks depend on > packet layers. For example ICMP packet will not check L4 level. > flow create 0 ingress pattern integrity value mask 0x01 value spec 0x01 > match that L4 packet is ok - check L2 & L3 & L4 layers: > flow create 0 ingress pattern integrity value mask 0xfe value spec 0xfe > > Signed-off-by: Ori Kam > Signed-off-by: Gregory Etelson > Acked-by: Ferruh Yigit Acked-by: Ajit Khaparde --0000000000005da19d05c053e373--