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 0B7EB45B96; Mon, 21 Oct 2024 23:07:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 267E340E24; Mon, 21 Oct 2024 23:06:07 +0200 (CEST) Received: from egress-ip11a.ess.de.barracuda.com (egress-ip11a.ess.de.barracuda.com [18.184.203.234]) by mails.dpdk.org (Postfix) with ESMTP id CF2FB40A81 for ; Mon, 21 Oct 2024 23:05:51 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2110.outbound.protection.outlook.com [104.47.17.110]) by mx-outbound8-87.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 21 Oct 2024 21:05:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JLBsnNTlNK+dDawIQqJxPp8F1VY4WWWx7aXtI5/k4XDbYLD1egAlcD/ur3VLS1mSVX1b0okEoopNcYfvyaoByoscyxfu00ZGWXnenYrWCQmmZLlQZt3dvY7sCq8AlzjZcUHz+IrPWwzXIC96M+cF0XQGuriFoSewPaGqsrA+Le6fq7n4OiDmVpd4XTcmi9XkkBjgbT3JRldgyt4zBdcV4etz2JPKGD0FFeZBAy6/xe9B3X6FKdR262ON8gesve3XIxThJjLlEZ/+fCPMCZfF5SzhcO9UeeNFg0n0gADnIqLd+pY7o7EmjD/LvzSVMcGvt8BOUpSPHqVTL8pADhLWEA== 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=OzpTDTMg5GzGMkdOLQ+Pra/oczggPdBw6a/HCbovs9I=; b=zBeA5fnmcggdXIwBv8E0hF9jpGtay9KP6IhPo1VlYBWOeTMXUCug8VpebZ5vCmlSYGOAaUN2OhBP0SHO4u/mcOinwyz+jbAfcSvW8A0MQQtu5U3FdYiZS4/2vroAyGBIKRdawpzYS02qu32LSISTythY1Y7CMwm/4nEO3aWeXHygJllKhGdrX1f0CYDpMUnIpWoYPlBj8Eu1Zsmlc77b6m9yy97K2SYSvZwjA/MbGdYTd7wlvCbyB9Ub5r6LIFwSkHjP38+Prb7uW8i9FyxGlJabWwfa23bga3cmzTDs3H3BXM/wqb0MY66dPMpXIDAuP2OmZ/9RGhOMDREqAgI8Pw== 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=OzpTDTMg5GzGMkdOLQ+Pra/oczggPdBw6a/HCbovs9I=; b=JW0GU5D1QDj6hkl6SXoLatc7Im4suAC/OegUwmeDDuTyFnfYbJcpEojmqkwd4OUmmcZdMmkClaq8G4ajLL/JcmH2kaoNw4OBJEIJc4PFI6+SnRiBnOWw2QX+BV5C8+EmyI1gacP3yJqjqyGHLyz3soBFWaYivJ6mZns6V8aUyB0= Received: from AS9PR04CA0142.eurprd04.prod.outlook.com (2603:10a6:20b:48a::16) by DBAP190MB0901.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:1b3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 21:05:46 +0000 Received: from AMS0EPF000001A8.eurprd05.prod.outlook.com (2603:10a6:20b:48a:cafe::38) by AS9PR04CA0142.outlook.office365.com (2603:10a6:20b:48a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.29 via Frontend Transport; Mon, 21 Oct 2024 21:05:46 +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 AMS0EPF000001A8.mail.protection.outlook.com (10.167.16.148) with Microsoft SMTP Server id 15.20.8093.14 via Frontend Transport; Mon, 21 Oct 2024 21:05:45 +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 Subject: [PATCH v1 18/73] net/ntnic: add item void Date: Mon, 21 Oct 2024 23:04:20 +0200 Message-ID: <20241021210527.2075431-19-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241021210527.2075431-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF000001A8:EE_|DBAP190MB0901:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d2f091e4-8141-4117-1e78-08dcf21421d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?+ipfscVIYCBlZVdoJHWEJRzH+oq0VRwFClkouRySnZnvjaCl47ABkIhiPPGl?= =?us-ascii?Q?w87IfbL3vnidUA+sFuEIp9FWOkbKWNXnjQimhf9yZ2v6TfWqahQghfJGogvy?= =?us-ascii?Q?SAr3SLY60CUgu8+9p08jtlWy1vpYo9Jg/kDCF0pTEvPThWBex44ms4Z9rPKy?= =?us-ascii?Q?FpNE1zUbICQmCd2cOoLItx3MWEa/lrIz3r2G/95HeK1JWakbZiDKItmEJgSC?= =?us-ascii?Q?sONckQTCkZTUJI/DK2gucxsoVzhToTwrpUKCjtof60ONKI4v9kkAu3VBevQe?= =?us-ascii?Q?HPCx1wJi6s03YwG2zc3rX745pmmCI9puO7iAIg7NJdHCyGAiLvlicoNSyFll?= =?us-ascii?Q?mCHIGc/0cwnVcFyCW6WdZARVgx4gVPwjJmjIty9VJNCMD2H9mgtpPjrv2Mj8?= =?us-ascii?Q?by2eibvksN2N1DlOfe9UewhObCgHAf39VHqYXCiICKJVr7GoW1JpFRNVlQ6/?= =?us-ascii?Q?mptm9NaKbZUCojwoq1fCbFFc49APQf/3G4vlMmeaAZKndHID5hDSf+1eC47p?= =?us-ascii?Q?Pz369wAsloNiss9PtrD6yVesye48fa0e7fQz/JYrJQzsUT+d7t9c8Ltci9tI?= =?us-ascii?Q?gN5SBqcG3FVqd8hD2oqtGS1e88or7KlKkXLrz+8gW4igUxsvD7cMiGlPHgum?= =?us-ascii?Q?uI5VgwkfO5yvo9KgLQBLrhK+/bbmBmmfMX2TV+C+alpJJFBlmicsetpipI0k?= =?us-ascii?Q?TlV509xjzAuXCRkCulPRfn5k8fSW9qs4lV66N6KmBVNd4qeQqLec+1KzZPPO?= =?us-ascii?Q?I+Kuwre+7YXiDJvkSqdzLeCpoWhLkui6XFSu+i8yi5VnOISCwgFm2RTz+Uk4?= =?us-ascii?Q?JfysD7zpSCKz/2KjmZxFHQ/6lRdStLZIctxGTFLmYNbFSU8itj2efx7IjyrT?= =?us-ascii?Q?7NQ5TOQHu0Z9hOdMz220O+PdaVUkn+yZv5UTkH6SddRAODYzME8LpvzUkSZg?= =?us-ascii?Q?nz5wrqYLup47hNiPrqtx1Hz6IqfxP86r0ZibRtLvENLshLYa2/IAmw3so88j?= =?us-ascii?Q?TPI/TPK6ZEGhc7hyFYiEIr+9pOSizF1ylDfOK4U/1dpiSMbZvgGoiZ2lt8cf?= =?us-ascii?Q?S7LVlPnyFAk7pg/RCf3sbj/a0gi7eCxK3vvAkpMpRUIFoXbt90ey1gDs97ZZ?= =?us-ascii?Q?+r4HxNX2BLgxzCWAFMiHYKvR5Bhd0Ml8OS7iLNYW1jJGlSe1msa8GVVT7GIA?= =?us-ascii?Q?4bE/cP3+qZ2uHi/me2BVkTaPg6sGBqEEDvKy1MoxMq5PxjcIUKoUqzAHWyDV?= =?us-ascii?Q?U1Q0Y5STHpvRlxZBfJ3Xqej9XmweyjMkc9+GVtTeOD4sEQV21YNqqlqXfkwD?= =?us-ascii?Q?1wiTmjJA+9bAPNmmlezbnh3dQ2KwBXa73TZRdYN1dekIXc7UZd9ALOwFpyGw?= =?us-ascii?Q?PNmm70C2dJt/02ydooQQqd9WW4YFBB5k08B7ZVT7oqhL7q7T7Q=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: w87H6wm935wAnRsQYQV2WQsGo+rQrs74zkk8kodN3C5ahL6OjVgPmuE1Ps8Ii9YVwWyCmsGfMoZWCaVUXNcWYyiccpH3CUM1UCAy3nizdjTRovLF0vVcPcoK3cWQxNYZ/5v6UEna16Lw3hxqu8hP5f8ZSjI+nQF3IO7b8zPnoJ5VlXfgpmyC1msWBMpcWHCdXlqrqwWy7OD5UU8crcUNzFg+JKhEwOhfwksrzPuZ86EQXKimIgNyejAH8cdOSwonLY0ViweQzwb3ye5rE/VfyMXKgB5EWbNroMCE0NUMmhntXoq2ugGQ+gLYgCaUCw4+SLoW9Pq87PioYDyQtblmG+6XVKzHUNwi9q46/AcuhABIOhhOYX6nlhA46M84YJZf1cMAtm0JnofeUU0xX+/yCOY1WC6MXitrW2voAMDDplCnd6B2YM/nMEufmOBcJF6osFI0F1QipZM7KSRYusp079xU+O3WKWsvDJ6V4i5TEpQlKnmPjkAAnEUJzeRqGrVHudRcfYtGUJHoS6IRY3Q2vrkshXYGbLceCS1munt39gg5KEVEEsI8LAgiyDT4KZ1qM07r/3BPb5FAiWrHqLRxe42sU56ZDzwEGooyyH1DfPtD2V3vm329gGccZjgik69zKGw05bqszhoeszSx2mAScAeL0KswBB528+P0U/v8jjg= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 21:05:45.9113 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2f091e4-8141-4117-1e78-08dcf21421d3 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: AMS0EPF000001A8.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAP190MB0901 X-BESS-ID: 1729544747-302135-12912-42500-2 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.17.110 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVhampkBGBlAs2cIixcLAzNjSyD TRwjzN2NI0xcIoKSXV1NjI2NwyNVmpNhYAZpW2X0AAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.259883 [from cloudscan16-126.eu-central-1b.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 6c716695bd..4681b1b176 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 @@ -941,6 +941,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