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 5F9BFA0546; Thu, 29 Apr 2021 23:20:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10273410DD; Thu, 29 Apr 2021 23:20:03 +0200 (CEST) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by mails.dpdk.org (Postfix) with ESMTP id 4E811410D7 for ; Thu, 29 Apr 2021 23:20:01 +0200 (CEST) Received: by mail-qt1-f177.google.com with SMTP id f15so134790qtv.5 for ; Thu, 29 Apr 2021 14:20:01 -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=n9AetIMJSiErDyMqQGYbK8OSfZ3B1pEurQaX9sWJqok=; b=Zz/nO9fiVIVzOUJiCMzsHF3CjPIK4VbksRBtyyDVzRMMFSXj+3if34tyyLtm0K7+CU 9PSzqoCID790Iy4Qgq9cGba1hsbe6JJSsfFmRF/8u0IdwZ9fstrfwcAHExtNIHo2oh9G 0hoDXdEsRGCopyOv6BL4kxu+puCDJ+ESAgUok= 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=n9AetIMJSiErDyMqQGYbK8OSfZ3B1pEurQaX9sWJqok=; b=mKasBkjLyaXgcGK3rHJcwwPO8rQgaQmClyKDaqSon6ctwg5AmV2POPyKDkEjDf6LnQ XbY54SVJmQNcwdF6fwngAYKDZhTmU6xEJBa8e2BY1ST/fWe6vH51hKligZhVrtWhE0L+ XsPB6eb3pw60I1otBEjIvqp5w7S/1KrwUUzkpZIRZZSz2PfCr3b8lM2qINTfsIfJfXsE kvdcb2V9jNxuhdpmoJxcDmCNNieHSaqlsf4898KhYk6RUkSNTHA9rh/AKnOJsTg12tL7 YmEN8mxB6GReH3rIZkMgQZpIp/GmJgjrd4aFRJKAF4E3QkmsSbOLNJD3MQopy82xR2gy VeMA== X-Gm-Message-State: AOAM532IUfkkFT6u2Udux8CGUr1u+w4TukAB+jKmxLIcyLm+6IO1xD1b 8PEF/yY0McYAXba039C+U89U9jyq/Wb82Odhc68mLA== X-Google-Smtp-Source: ABdhPJz/CZZiGgC/GVG2J/hKRTZHqqbVUHoYGdOUZS3LSUeb7N/y7m7VNknpzjUcGBq+w9lupcYSkfZpEblOlzq6L+E= X-Received: by 2002:ac8:7409:: with SMTP id p9mr1460112qtq.208.1619731200549; Thu, 29 Apr 2021 14:20:00 -0700 (PDT) MIME-Version: 1.0 References: <20210428175906.21387-1-getelson@nvidia.com> <20210429183659.14765-1-getelson@nvidia.com> <20210429183659.14765-2-getelson@nvidia.com> In-Reply-To: <20210429183659.14765-2-getelson@nvidia.com> From: Ajit Khaparde Date: Thu, 29 Apr 2021 14:19:44 -0700 Message-ID: To: Gregory Etelson Cc: dpdk-dev , Matan Azrad , Ori Kam , Raslan Darawsheh , Viacheslav Ovsiienko , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000dc24db05c1230e67" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v3 1/4] ethdev: fix integrity flow 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" --000000000000dc24db05c1230e67 Content-Type: text/plain; charset="UTF-8" On Thu, Apr 29, 2021 at 11:37 AM Gregory Etelson wrote: > > Add integrity item definition to the rte_flow_desc_item array. > The new entry allows to build RTE flow item from a data > stored in rte_flow_item_integrity type. > > Fixes: b10a421a1f3b ("ethdev: add packet integrity check flow rules") > > Signed-off-by: Gregory Etelson > Acked-by: Viacheslav Ovsiienko Acked-by: Ajit Khaparde > --- > lib/ethdev/rte_flow.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c > index c7c7108933..8cb7a069c8 100644 > --- a/lib/ethdev/rte_flow.c > +++ b/lib/ethdev/rte_flow.c > @@ -98,6 +98,7 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = { > MK_FLOW_ITEM(PFCP, sizeof(struct rte_flow_item_pfcp)), > MK_FLOW_ITEM(ECPRI, sizeof(struct rte_flow_item_ecpri)), > MK_FLOW_ITEM(GENEVE_OPT, sizeof(struct rte_flow_item_geneve_opt)), > + MK_FLOW_ITEM(INTEGRITY, sizeof(struct rte_flow_item_integrity)), > MK_FLOW_ITEM(CONNTRACK, sizeof(uint32_t)), > }; > > -- > 2.31.1 > --000000000000dc24db05c1230e67--