Message ID | 20241030213940.3470062-19-sil-plv@napatech.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Ferruh Yigit |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07F0B45BCC; Wed, 30 Oct 2024 22:42:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2EC6434B0; Wed, 30 Oct 2024 22:40:31 +0100 (CET) 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 B74E142E9A for <dev@dpdk.org>; Wed, 30 Oct 2024 22:40:12 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2111.outbound.protection.outlook.com [104.47.17.111]) by mx-outbound17-81.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Oct 2024 21:40:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=biYZKCUuClTbiyZdZWLFGUcKtp7xsbICNgwNE/l2AZd1ztH4Xqm56d4sm6m6EskIROr5MKAayATEMWk5nS1jOumBhusJWXL4U123XBwjjOfmMW2Nwch9ecfXlVEH+058GxTvaB1u7jr76b3ax754da6El4Fe2fjYx59A7mL6Re6y6B2QMmM/QZOyUrrYLZmnbe4/UdIWIJxPZ8E2OTOkPnySKiyZnugrMxM98dbw27lppqy8dPvpFOGa6NpyP7KC5fbykT3gp9tJ4sNbaFt2v2ybrxxklOqpg0KXyjaZIo66T5I7UsgyT9AdCQQG7RzUQb/shhs9iK/JhD+28tGL6g== 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=XWAAuqN+PjWBNc4hMVqMbYEvEgJ2Zjtgoj3qzlc5v4o=; b=Gy2+cWxmAaJNQ0aJpmc/BYDWPmEIYUrBOe36EZSnJ4H1fx6Iem5yeQO8SQmTKYZj9iRU8zGgXk2REyHtH47ITCzyJ5GsySulOxYYlIuPDseGnTL+5YjcaHebIIe24NJ+yE0NEIHf8iBMF/gBaKnUw2iFkRF6Y0/dweGJKN+dVAt/tvdertSN8DKRAA9VnQ+b0lFL/fVIJgPcIjde3dg5PGMt/0TJe6jurcer6eyDZQIXxh0QHRD6yKeDZApC/GRMQ8Kk0q2g6+oDqst0nJdXKNkDHEBZfm5+fJcVrpVd6w15gFmrn0L/LvNoHo21OlEvJF899EQxiITwmbxn9+vnUQ== 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=XWAAuqN+PjWBNc4hMVqMbYEvEgJ2Zjtgoj3qzlc5v4o=; b=aCi9YTZlPCDzu6bvjjtwTzwHci/pqWmvdbzJw7fDbRWEO5T1ST9tRnWQqZDKtbCxGVuGkTvk7oKGMC/oHggKgUvPER/vbApTMIK9LYkpkWZecaB3TJgePc15QgE2SOWsr+4RrJjndB1GqznLnp2kroVM605NhbMuejPGXOEeS8c= Received: from DUZPR01CA0013.eurprd01.prod.exchangelabs.com (2603:10a6:10:3c3::6) by AS8P190MB1029.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2e3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Wed, 30 Oct 2024 21:40:08 +0000 Received: from DU2PEPF00028D13.eurprd03.prod.outlook.com (2603:10a6:10:3c3:cafe::2b) by DUZPR01CA0013.outlook.office365.com (2603:10a6:10:3c3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20 via Frontend Transport; Wed, 30 Oct 2024 21:40:08 +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 DU2PEPF00028D13.mail.protection.outlook.com (10.167.242.27) with Microsoft SMTP Server id 15.20.8114.16 via Frontend Transport; Wed, 30 Oct 2024 21:40:08 +0000 From: Serhii Iliushyk <sil-plv@napatech.com> 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 v5 18/80] net/ntnic: add item void Date: Wed, 30 Oct 2024 22:38:25 +0100 Message-ID: <20241030213940.3470062-19-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241030213940.3470062-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-sil-plv@napatech.com> <20241030213940.3470062-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF00028D13:EE_|AS8P190MB1029:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: b6b3caf6-ceb1-4bc8-c458-08dcf92b6ce5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: TqHt0uqrcaSdxXLeHeQWHBArFeIGfPNsRi1dSIILE8MvNigg8+Ymr/m97WvzCCiNJ43hpQw7GxcObXTTYfGYXAkQOrQtYuqe7shJc4wTixs0VV/+wCjnPm05IWssYV36Nr6FoL/CPviTW04G5/E8QyiK3Bfud3LduA/CoxFULuNmt+dJaL6wLBu1Wc/S0TE2BQQi3SsU0Coovpt2utmIoy5k7yzw7arB0u0jPMJ/QoZgNrSa055JY83FzVWps7XWnCC+bzHAb8hXHucXF7wQWyQfeQymzKr5TYaGh8lcQrNuEnC2oFFA8ZMEfPCfbN88wV8toO85Tl7V0IE4OLVMvTYaRoMOI2yi/K2MHEzqPTEcqkDqheVWiC2NUXtRLhexedk/05TCGZ+vwBxL1Vorq6WBvGmLMcL29/te+zJ6NpKbfrJ2cFmMaZF+oQvAzcUQChMNqsIeu3AiOZVbV7LXzarW+R4UB1GQ4Syyn4GsGuUeOgw8a1iKOPDBpdzJT6lK4e5uNh9tCTahXiKrvUw8JWkwuJQyLn5oz7F7phxvQghPUN2/f72ZAdGkGP2VhzKmzxKkqZNWiQ9XB5ukcI+fweB5YOEv9h9k6qI8XNIZESy5mZ8hhSNFeayT9p6l8vhPS/vVtn1c4YPI4SsRJfwfGMA6GaotJFAKcYyN4jGQbZlwQNyC0Ff0beE8OuKTBQT1ZfmfgeOa7P7f4wJejhjT8AOzengWIQOpjkZ0+Gh/ueRSSg5GHJvuzkuGNy3GtSD7DVq+R7AQZEuhwnIJ3iWewEa0z3xAgjAurCOEq4ctok2YUjDJPVlrfv2tWTc03RWvO8HJq0r5qDM3xu2OlIy7VyuUZOUNFreBWTnynI2fgBkCCAwqyIEW7MxxFGi/YkRSS25tyqXTsI3AQrCr/RmdXtEcqWDO1aR69WM2VKqinjJy3gqy/2mEdX3yvJjol2u8iaX91u235EUo1VYz7ct9p3+LbKZ0F91wDFKdU9YyQa8a5ZmeehZSaECaW2UC6V6StaeNBf7p4qMVoMLoSK19PlbFA1xK16gLUdvazH1miSQwTZUT3dI7JQ7stzNyH5WsUKvLH8oRKnq4cAzUNPWK7Pup5CrnhMof3YdFle4YDeyPQBPbMHwYKbdFSdP/AGUAe0LO0l1cGG1ZQXur1MNG38aaLg9v+HiCVSxci3YKIzxeoPX7FdliqdRJDzC8ATl6tr7oHujS9ePsKb+65nTuHmA3MAhB93r12h/ZmyOKi+FaRr6hgRmwQPR09TYN+9O0Sl98f3y9ZgUtMl2yCRzub10fzKF0rYgP5DL6cZ/CzipV6EUuY8Cb4zbTC/vCwHpzx/gQzPnjK23M74Hstlv1+pCsJ+thPsHiuck8bX9nVE79wGF/LOu+ZdTkAkoYnHT0SVT8F93SVQIY7jGG5ivlEw== 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)(1800799024)(36860700013)(376014)(82310400026); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: gLXOFfo/ikqTAAAybyItT0hkY+Z3Vdo4VwqJKI/s/30KlxwPrBJlTXM7PG5ojDKP2kBBPgpjBreY1LqS2KapJtCG2CZXa57q3IAKCkpqYc/sd5K4pfbhlOy+ouxGWna5LpvcfbgQ8nlByxDUudfZXilbiBUnK+oy23GwFXzaGkZqg9A9XrcoziPEmhj+fxfocK0d49y3akrCkxsq5zqYW+F3W8P3c+nPDpHwpnrRPt3qrU8pgUJ69Wuzkp9Jn57QxYe0wtJ05dCzz+v85URMT8AvUoasyY70J48f3VypUNeDxphstx08ksWj6NuLadyDUTD8w6TpUd1Qr/0dSInZsHDXqkEmonr2w6nND7D4BiPzDXI3tWo3mKCPSnq+GjRoiz1u+uafAzwBiYoWVqZkodq4SwmbNDoZ1/mYrpctrMawrhuGTwyqsMeeHAwnHPW3mBKb8VUSORxsz/HrvSEPs3QjDzPMJhQB68CadNCpSFH7xBqDkYIIc8LDY1NFkOv1HdRphxgzhJpOVhmTy7tkXS8mDCCDnKHK/Oppgaj6fcevudN0GuHCMtB1BQBuqUGzg7BFp8IEXEAkZbA86wvcCeUQRjH0smEyWzYUw+UD9V86HSMZKyrUnXCsJF2eK4oPTT+w3xnOm8oD+8r2KE5UPMZgIlT8TPtYE0V++sI1/EY= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 21:40:08.3018 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6b3caf6-ceb1-4bc8-c458-08dcf92b6ce5 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: DU2PEPF00028D13.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P190MB1029 X-BESS-ID: 1730324410-304433-12634-44613-1 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.17.111 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVpYmpkBGBlDMKNnYONHUOMnSID E10dQsKdkoLdHIwsIsKdEk1cTU3EKpNhYAH3Z0gkAAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.260091 [from cloudscan15-95.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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
Provide flow filter and statistics support
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Serhii Iliushyk
Oct. 30, 2024, 9:38 p.m. UTC
Add possibility to use RTE_FLOW_ITEM_TYPE_VOID.
Signed-off-by: Serhii Iliushyk <sil-plv@napatech.com>
---
.../nthw/flow_api/profile_inline/flow_api_profile_inline.c | 5 +++++
1 file changed, 5 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 4fc5afcdaa..29fe0c4b2f 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,11 @@ 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: NT_LOG(ERR, FILTER, "Invalid or unsupported flow request: %d", (int)elem[eidx].type);