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 BF909A0547; Thu, 29 Apr 2021 20:37:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BB3941200; Thu, 29 Apr 2021 20:37:23 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2085.outbound.protection.outlook.com [40.107.101.85]) by mails.dpdk.org (Postfix) with ESMTP id BD813411E2 for ; Thu, 29 Apr 2021 20:37:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kulaVBOaJ2o6j8X70GhwzzDD6nx6l4LEbdBpBLmS8RQNbi5sRqhYjncCn/8K+jga/RQeuXhgBQ81nbRj1jieAAFmpAOkO53BG8wfAY05Oh0NL5FX+DnaJLCbZ27hMnRV/a+B5fnyHk8Yp9P2kJ5H5y7zwFyZsGHfPRS18i2Rka++tKn/W2mVi+VMufxs5VxjcY8rj+wYTDTeGT5gv9KNIozmQC1vL32jvUKuBlbX/zCj2X+q0eMFOcgE8O2lRmhhXI4gzjkxKBoE3477U1nl3qe7gXrmZg37tWhXHlEhEIxwiJ5ufygWLbIVBuOPxCVn7r98XoGp9duudqVwROw4DQ== 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=u+lSYXwKYxVGNY/8zaWvgxPKWF3ugpsfzAOOetwOj10=; b=jVcq5HRU/2gBqxtQGsugdMbiPLjbXPSVBQW4vWFAR24+uNtwtz6YorbEMTd35S+4+A/Q7+R3gtbK943y2hGAVETZpBkbspAATfdP0UbhOsILLCY9ygSKJ9fC6LJwQ5ldVWjQWc02FPvR2MavZ48TrqLfadc8gni4BdBXuZCFICvhL301dYmKv34vp8NNekeajkpGgyy5M1JiEtOMckI0tShDQizcT4FLMtawmZsgFe0vEf+hLJR9qU2+gJQd/nCM9E5ZMAoGeUVkHybIgw9Xl4G35nKhzyJIbiaZCuhAPUFT8ZlbAOPkGfUuDbrdHVDU8o5k7qZirEOzRdKzSj1a6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=oktetlabs.ru 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=u+lSYXwKYxVGNY/8zaWvgxPKWF3ugpsfzAOOetwOj10=; b=UiPkr60tb1eRs9zL1LZPiEh0qi8qp6lPaMspjI1ybl4Soj6qquz83nQaRgWW4XCoaONDwSCONW+cblyQlrNfeabdUvUeAN2YwxlXfOI8ftFvbmM7xgF5LYr2YbcimW+7OdnbqQJJ3DTdJkM8l1w8EWvHNunwhRfsLFJDuDTxwZh2146KmI3xWn3v7xsZZ8dP/qAOuofKWVh+BCRS0gGULSL+gFucOWnULpBZljmEjtPLAz1VAVFUCIvNOyZYSBK4VehXYYaXPBDhnYI1shunqWwJZOdVkdDDBvIWACubfL6Bipe89uemxwlNqUW6WPDMWueeWiXqTYW3HitwYSDS9Q== Received: from DM5PR1101CA0003.namprd11.prod.outlook.com (2603:10b6:4:4c::13) by BN6PR12MB1795.namprd12.prod.outlook.com (2603:10b6:404:107::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.25; Thu, 29 Apr 2021 18:37:20 +0000 Received: from DM6NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:4:4c:cafe::5d) by DM5PR1101CA0003.outlook.office365.com (2603:10b6:4:4c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Thu, 29 Apr 2021 18:37:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; 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 DM6NAM11FT028.mail.protection.outlook.com (10.13.173.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4087.32 via Frontend Transport; Thu, 29 Apr 2021 18:37:19 +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:16 +0000 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko , "Thomas Monjalon" , Ferruh Yigit , "Andrew Rybchenko" , Ajit Khaparde Date: Thu, 29 Apr 2021 21:36:56 +0300 Message-ID: <20210429183659.14765-2-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-Transfer-Encoding: 8bit Content-Type: text/plain 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: f945b65f-aa4d-48bf-5e3f-08d90b3dd1f7 X-MS-TrafficTypeDiagnostic: BN6PR12MB1795: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qsEezkbikmGiPnKD6Bu8SCUYMPxIocrUFKxZIOlksZp6okokdIG7rC5biWWVKmFVOYiUY/+Se/QRnF/1+b5qB5lZ4oBbWNL4nkSeSYgD6sT7S8l8kihf17ugPgqpvqDSeOnGyOfuXz80VNEH/Na/yT6BLgWYauEy9pOkQYqWdfdprGaLu6rfPiClR8/ieuj8hoEMuz8h/SzeFOdWpeTyH8df+oBsiZUdBQRQTQpTmhmyw9+F7Fosf/F78I3GgjOBXBx4UTDrWd4w7JSr3V8D+wZ08Uol8etmFPPPgW3BeuAzi7XckLggKOF4DNMDIVIAJI/ulM5gJanIYievltPl7MWsS6uKWAFjieRbwpzJm1P/iHlaPUoxvC8zoOJjyTT+7P6KRpx1zhk51vhA4qd/xcjmiGMsICvVms5EKeLqGrxPi+9GrnIe+Q1eN3N3VlxGxNuDzc7LGn0Z5/ldlhAcEl3CPbKZEDj3U2m/LiSq7WIbPahe8rRO6MCo2FBKYHp+fNxTEsUuaTzgeEbATyOw0GCZ8eaQ1eN817KuAR1kg8W39MSHhWcINqm/+5Si8DcQmsUQyLl5blueQ3Xp+M/DHDnUMUDf+EcP3zC8pwM5Hgl+9L91pikPedMLUh47WDYoq9S43witrk8GELCIiMCXaGFNlyPd08WGGZ8IB22kpK0= 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)(136003)(39860400002)(376002)(396003)(346002)(46966006)(36840700001)(426003)(36756003)(4744005)(336012)(86362001)(2906002)(5660300002)(82310400003)(82740400003)(36860700001)(7636003)(186003)(54906003)(36906005)(316002)(70586007)(478600001)(6666004)(356005)(1076003)(16526019)(7696005)(4326008)(8936002)(8676002)(26005)(47076005)(55016002)(70206006)(6286002)(6916009)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 18:37:19.2066 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f945b65f-aa4d-48bf-5e3f-08d90b3dd1f7 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: DM6NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1795 Subject: [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" 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 --- 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