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 2196445BC0; Tue, 29 Oct 2024 17:45:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 945B942F31; Tue, 29 Oct 2024 17:43:38 +0100 (CET) Received: from egress-ip42b.ess.de.barracuda.com (egress-ip42b.ess.de.barracuda.com [18.185.115.246]) by mails.dpdk.org (Postfix) with ESMTP id DD18D42EE3 for ; Tue, 29 Oct 2024 17:43:09 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2104.outbound.protection.outlook.com [104.47.17.104]) by mx-outbound17-86.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Oct 2024 16:43:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SInM1JBt8FA9cWOE5uZravbfb3QZ3dxobSrXLLggMTz7uh/c46gEheyq0YT6/7lYkiWTioXegXTnbRaB3yOdH+sH2r1j9DD9iZ7tem58RPJIUJtyl4qUXltB0gPCSfgmio9Ei0EpqB9HWergej/o8Ca0IkpZ8haYACZNZB+kFRA013BtLkahEKvx82Pbtr3xi73Ey00i59NWPDySDQR5hvBZEdk/UJhxa1a2+x5lXUruTBF9xYBchcweU0jDLr846760mQku+ckbqjtv+p5tUpW+LTNm/+XGRpA1PuT6RVIrDgM3FsyZruSDQle/rB9GbARI0ulDsg5nBfhZYJBY2w== 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=qEFE3t/bwzQ47arLsBFeJKTIHmN7gcxhpH1GgS+9HYr4CNmjPHZ8jVSsbpZ5GVSkXPqoM+p7LQIdc8IWWSCvOdkpeXp33MIwM15MOI4K33br2A3NyVCrObZ1GxI5chTaQ1z9ZaEoqPerXX6qaI3gmrFfpoSDiP9D32or6YMoNMHd0zvockvfmDzisUa9d2/vjtHnAC5it2Y1lcSsWgJvA6zjaXlh2+2r9Y76PBodALuSRLE3pylANq1IKf/h6AUyUKT6mrPOrytjm2DU3+HVnuET9u5ubDRrUhT3iDf3fiGah65Ig/b7MgdkboJJbtxECwxToMxxTzwA818YBhd5GQ== 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=j7i2gqEL6nv/kD1RqS0j9PaBiWJ1HxXMrcF+vO3BG7twqEXQfCN2JhG2gF1V2Uifcejmc13+ciSYPzoNx427nYKNNkmgv7YogPEbB3g8SivtghEPyRIQqoNcYVIOfJyOP/xWpH/sNbbJd6n+AHF3EJWu/VRZVAFxbanxwq/PQ2Y= Received: from DUZPR01CA0204.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b6::25) by DU0P190MB1729.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:341::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Tue, 29 Oct 2024 16:43:04 +0000 Received: from DU2PEPF00028D06.eurprd03.prod.outlook.com (2603:10a6:10:4b6:cafe::a4) by DUZPR01CA0204.outlook.office365.com (2603:10a6:10:4b6::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.29 via Frontend Transport; Tue, 29 Oct 2024 16:43:04 +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 DU2PEPF00028D06.mail.protection.outlook.com (10.167.242.166) with Microsoft SMTP Server id 15.20.8114.16 via Frontend Transport; Tue, 29 Oct 2024 16:43:04 +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 v4 18/86] net/ntnic: add item void Date: Tue, 29 Oct 2024 17:41:22 +0100 Message-ID: <20241029164243.1648775-19-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241029164243.1648775-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-sil-plv@napatech.com> <20241029164243.1648775-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF00028D06:EE_|DU0P190MB1729:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 45debe34-03e0-445b-7335-08dcf838c26f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?us-asc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FmplaA4tGgwMhcTVpD4Z7jCi9?= =?us-ascii?Q?oJrNdfQ7flbTzLBdlPnM8TO1hbmqEGOqZ8kUUIGd/mZTs9or5peW8plORaBg?= =?us-ascii?Q?6IvUHzZIC5MCwq9GlaitclOYGrAEpPlpVeYisajq/H/QDtz1iI8Epo5OpdO2?= =?us-ascii?Q?xZkBcbjl4VjehOaLHD6JKPExOHePgxpiJSPE9h+Djgbn1M83zesZHBkznvHL?= =?us-ascii?Q?3etDCmnDhHUHnJjTlUsM8mM0mnq84/Gr/vJSao+WWoDgxvNOi/u+dgnFtm/H?= =?us-ascii?Q?fJ0buKTQX/Cf6etfGcH6hB5/XOoDkYMmdO8AlKuR8OJpq8Up1OAgj9FNinSO?= =?us-ascii?Q?LpCax+I52oYRov3LnGBDPzLEfh5KoLu1h92uSbGlRUF+WFm2rtYNNq2Caqo/?= =?us-ascii?Q?EEQokOxvnjICRcv112n/mUCDeS94hG4f5R9yPx0hQYs3qiEmNB/4ThRHhxcJ?= =?us-ascii?Q?PjLR5xtrHBLF2EiiXBirh7/61iPn2e5utyQ1bMgEqgz4wgofY1SSK2HJG0It?= =?us-ascii?Q?I6Cv19Zi2Unx6LjhhccFPO8U+DeN7eI5GrklE//Zs1TboswakA=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)(376014)(1800799024)(36860700013)(82310400026); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: kb7E+rSvKP7RxxZWLBbQ4bREZIm/ewP79jtI5k9m5Hy4ENfA96te2h46n6OPCx8K28zcPXlxW1UkcN7S3RvtMAf8odTNuU7jZjTuaFZ4FD9k1GUQESE2gVK529+17QNACNB7XOKNhuH0XfkrU77Vmd0V1fCHs0IbSKRD8qQnBtfysQBZNF+Dnrq3mk+C/6+aeMukpEgRdMOMbgeGRHFdIMLUhXKbqOwbtR2cOg2uDnq0L9qs84Rrw/0109E6mk/6hui0bXqdMvKdc2zSSLpqwhr3ys79tBurfNyEuXIaDJ+GC5CAVQxMPBhlBtggFbfKhi5wD/8ZcSDdJn1sqFAq4N7n5CMlo/+jvwPkoQCgNTsU1yOfsf6eidiSuXIAPOPd2u1Sr3ndCvFjGq7pLBrOrxx9clakThffoV4tRY8rzgMFOBcY0iVlyrOup30KfHW0p2EOIdlmFCxulPmFJBd4BbpJ/chqdjL6NWxax52G7Gg0rjJ6vfWRFCEiiDY51gKvP8/xY1zKmmhRKldbsiGZUh2ivu+BIF66JDiafQqO7MQorQ3GDIe5EOgLhnGx0baIOgMrwyu/RzxafqRtrTeBPac7rmwHefYDLH4HqTIaGjUEDmqy4dOCyMf8nYms+gfXisExF6x3OjAAWm6jqEJ8IVtD3RAmRzNqaUtlmjOGHzY= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 16:43:04.1052 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45debe34-03e0-445b-7335-08dcf838c26f 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: DU2PEPF00028D06.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P190MB1729 X-BESS-ID: 1730220187-304438-12711-30017-1 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.17.104 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.260063 [from cloudscan10-180.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