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 EB80245BA3; Tue, 22 Oct 2024 18:58:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2A3A40E0A; Tue, 22 Oct 2024 18:56:36 +0200 (CEST) Received: from egress-ip11b.ess.de.barracuda.com (egress-ip11b.ess.de.barracuda.com [18.185.115.215]) by mails.dpdk.org (Postfix) with ESMTP id A2D8440B9D for ; Tue, 22 Oct 2024 18:56:24 +0200 (CEST) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02lp2044.outbound.protection.outlook.com [104.47.11.44]) by mx-outbound19-119.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Oct 2024 16:56:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GNhNKHAbdCft4AoPp0YXgcfW3ksNBeNzpK4AZCGuNELoQ/Xee3jS/l3rPAN0sGS1N7o/aXYrjPkBwz0ZmSwOCc73vgVFF78C99amEmK4fbSNXiiENi3FBTk8DxV9mGyY7EIgSbpHPgdzQCFUA233eO25yksA2IKYPt5aAHcuHeBO8RrrflWdoiU1DRlLenfcsL4JCjAhjgRl5u6/bvpx3Nsdbd4zjstKOq1JEGGlnjb29ntPABch3c2nvFddmH0O8F8NrhX6z2jzbyJtjzCmMbjO0Qid6mnx1JnRXPWnUnVh6phMRMjOL6sC80kHZqPYTXeY8uxlYrVvlai6YJgewA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pNP/DcXPxy9YPmAaqviPinO9Cpb1fG2K6LftUPHMycc=; b=IfhlVXXb9CTYTNmbPTxiATACp99ldcpcyOJ+BXbiTvusSERZinpqYPA6ftzjj1sskag/SCaJycm6GcUBzDFtB14rjYd2DkUeEdrbVlMLRnbeEKzVDwYFVQMfNMAGhMa6NeRWe1XXB61tTH8ra3l1KFVu1+3GS+/ANs54fmYM7EFTf3t0pHTS3JLD+qt+Rf/m7z2ykmrcoh5iA3D6VWWPoyoYdn3cajmxKbv16eyI4yZru95HECHIkW6YeyRrbmRiW6bWT5YZevRj31b499yY/cqRELmxusgQVqQ5Cmn/F6+QKydd6JXvnqI+W8rHfwDcCfXe9xlM0nx3a2+NEPphSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 178.72.21.4) smtp.rcpttodomain=dpdk.org smtp.mailfrom=napatech.com; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=napatech.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=napatech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pNP/DcXPxy9YPmAaqviPinO9Cpb1fG2K6LftUPHMycc=; b=N7onG2nbwXZxJ0ej/MzKXJfbtNGiBfT+wI0NXh8aIStQKWsF0pW8szie8aPeyj+t1SQZG5U1PMZLuVvyFM0qd2BHEdKUEnmBrGJsvQ05UE8CU73ixQHxs83JyiFGskqIvc7y5T7DLwXTmY3g1BL8nLTFp/tTJUXTsrI1y0FPn9s= Received: from DB9PR06CA0018.eurprd06.prod.outlook.com (2603:10a6:10:1db::23) by VI1P190MB0590.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:123::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Tue, 22 Oct 2024 16:56:18 +0000 Received: from DU2PEPF0001E9C2.eurprd03.prod.outlook.com (2603:10a6:10:1db:cafe::1b) by DB9PR06CA0018.outlook.office365.com (2603:10a6:10:1db::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16 via Frontend Transport; Tue, 22 Oct 2024 16:56:18 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 178.72.21.4) smtp.mailfrom=napatech.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=napatech.com; Received-SPF: Fail (protection.outlook.com: domain of napatech.com does not designate 178.72.21.4 as permitted sender) receiver=protection.outlook.com; client-ip=178.72.21.4; helo=localhost.localdomain; Received: from localhost.localdomain (178.72.21.4) by DU2PEPF0001E9C2.mail.protection.outlook.com (10.167.8.71) with Microsoft SMTP Server id 15.20.8093.14 via Frontend Transport; Tue, 22 Oct 2024 16:56:18 +0000 From: Serhii Iliushyk To: dev@dpdk.org Cc: mko-plv@napatech.com, sil-plv@napatech.com, ckm@napatech.com, andrew.rybchenko@oktetlabs.ru, ferruh.yigit@amd.com, stephen@networkplumber.org Subject: [PATCH v2 18/73] net/ntnic: add item void Date: Tue, 22 Oct 2024 18:54:35 +0200 Message-ID: <20241022165541.3186140-19-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241022165541.3186140-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-sil-plv@napatech.com> <20241022165541.3186140-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF0001E9C2:EE_|VI1P190MB0590:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 1930b5fa-55f3-4ef6-6107-08dcf2ba72e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014; X-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BsZ8uCEaZzIq3nPVIp32dk1UkAxC1CpDGYvgBgcO1cAyPocYoJLeE?= =?us-ascii?Q?56j21kDZEc78PLh4ft8Re6Bqltty7QCymPbApQsvu8ovQofuSDt/cqtR0rig?= =?us-ascii?Q?LvWPncZCtHxU+TrWh67rtQpAjz7VlkUFSvWFfFH6CuhzOMjYoOIr+b1aFbeY?= =?us-ascii?Q?nksGuXL4UBwDCQDHJres7PNtKtx7HZPI5D17KHPOofa5Q57I5mryrVIqrMoJ?= =?us-ascii?Q?pgb6RLcIyZnrV8+6vusIkZ0B+3GZ8QzZbY4B/DHgxFjVi4oWuG/R+qRUChk4?= =?us-ascii?Q?lDAGqkuYL8qOr+CqG+QtzW7+dsy7H1QaF20PeDqogGEgV9V6/HxI4aU/hjGx?= =?us-ascii?Q?HuOyxsKwutCfJn00/qYslN32o2A6PMktYOtf9CO62oappek6yM24S96QYktA?= =?us-ascii?Q?gXRb7W/6L7kAL1tWrmvl/uzBKI075hRrIQjkJBlw+3OBQnmTl9cLPmQOqcKy?= =?us-ascii?Q?17URbWeSnT2T/hTV39/KBgeCb6LWAxKfP84o6jrFHthHD+2/ftlaVFB5xWbP?= =?us-ascii?Q?8Ff7HMt63DwlTWKc6UoAyKNsriiZxXJkKu2LNXRy3qY0VplNkw=3D=3D?= X-Forefront-Antispam-Report: CIP:178.72.21.4; CTRY:DK; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: QXpRmnY4rYXZOiOQUFHzeHZQLNHIkEM+ZVE2JxXlEE6LrOrL0ooXmsaZM+68oTShWOlin2fBT1ccXEUbrGT3G1RSPoz/xFM4H0gLew6A/Zf7lGJOFg0B0ckABTjc0X7g3J8t+40sRS2Vfzlh6XqHd9ZFbGgEtI72rvLYg9w0haNRSQk83rrAY0ZSBl9+cIHZAvbxh57dyzRGcr7Fpaix2BtvV3BSF+WbFUoCyN/m8MF+Y8B1cPVcKJi2nA4GmMffDgm4Pm6ShqDBB8fB85pW6U766n0M2AvuWggjfBdr8HC+BVFpY53i44v9qUGTvJCAYd2J6g4abUqgMaaT2ulHHkIqAEAyms8CtMqVrNyVuX44fFuNOVGk8OIRGu4r9hnnFa2npCQbDyvlBt0x/1erKKVqEtkN/c7aAFI3ctarvx9G44w8why3S9dhtq7EAMZR/Tr/mcs40JlRgv6AFF9KQgdePOmYhhWZKoiw9ildJgA86Yho972jl9/yOYcOMdDecjBWCpTnEzgnsfoLaVZnc7y+3867mQz6D2Jh6JmSm7nN+aln+lfuf3rLwk387C5SdJNWXpRvtJx7vYx81qgBK878t8D3J0bV9isoGv67hBtj8M8JfRqnjM4jb65ql4/4CyDhrWqEY79EfRuMbSnfgOLUY0NcR00ehTq52U2Ey1c= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2024 16:56:18.2625 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1930b5fa-55f3-4ef6-6107-08dcf2ba72e8 X-MS-Exchange-CrossTenant-Id: c4540d0b-728a-4233-9da5-9ea30c7ec3ed X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c4540d0b-728a-4233-9da5-9ea30c7ec3ed; Ip=[178.72.21.4]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF0001E9C2.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P190MB0590 X-BESS-ID: 1729616181-304983-12650-14389-2 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.11.44 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVhampkBGBlDMKMUo2cLEwjLFyM Aw1dLSwsQ8OTnZzMLQIC3VyMLCMFGpNhYAoDrctEAAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.259902 [from cloudscan12-62.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS113687 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 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 Add possibility to use RTE_FLOW_ITEM_TYPE_VOID Signed-off-by: Serhii Iliushyk --- .../nthw/flow_api/profile_inline/flow_api_profile_inline.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.c b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.c index efefd52979..e47014615e 100644 --- a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.c +++ b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.c @@ -939,6 +939,10 @@ static int interpret_flow_elements(const struct flow_eth_dev *dev, } break; + + case RTE_FLOW_ITEM_TYPE_VOID: + NT_LOG(DBG, FILTER, "Adap %i, Port %i: RTE_FLOW_ITEM_TYPE_VOID", + dev->ndev->adapter_no, dev->port); break; default: -- 2.45.0