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 6761545D7C; Fri, 22 Nov 2024 17:50:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3072B402CE; Fri, 22 Nov 2024 17:50:34 +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 52A46402C3 for ; Fri, 22 Nov 2024 17:50:33 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2112.outbound.protection.outlook.com [104.47.17.112]) by mx-outbound21-54.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Nov 2024 16:50:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aaSg+TNFGSLY+b9zFW1tSk9T/h5lQrKXJNR8IglYibI1RrG28Tg1tqBtgG2T1dz2IxU6iYoQeM10zjEWA/4toL0Pd3ZxILuh42I7G3HPCfFqStdsvhj4s7EdzmPNuuHZUcLelkpOHGVaeRWtkdH3PbkCi74JuXOwRUkhGguvLrLKIlzyFG/pIK96NREYBVzt7rvQKW7xF2Va4vOwhtUvLWID2/yqOzUu6N82qboj9K703f+zh/itQomNK74M1a0E9QydbURUNqVU30tjdRhhWWef4YGvEkPYoXJRnYRfPCjLE1l/Vopedlu9Bau1j2IRrc/epjS6yEAn6B3OORKx9g== 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=2vCfwSiM01VgWzwfbTFDXcuP91D2tke/l5RdnyEATLY=; b=IgqPiovqsAbzZmmZPGyzVJAp7T8nc3iLK5JC9QJvsWdo7b1Zvs3usyd6ZX6+hKoDKOwp5Z26UZC6fyZGe53l0Nl25bbXXdbYiwso/c23KfP977OnkAzfDzbmhWuHrDvo2x5mAFDhURFXPe2Q3i9Yv1jLwH1AJo43qb0O8ebivvA1Ho8kAwc96jUtya8nGOMRSbnS6gQdAw1D8Fd5tWEZLt1jfF8MXF8McfqF7BQWa+BmJhRW5n9UM83mpS3b7gM6IJrvfp8a+hnjeyi+/srKBP3sXI34CWFAm+UuQ+8AzuWEGSTreYmI4aJP3iAj51zbEhFM7AzS3O5vFwg0McErMA== 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=2vCfwSiM01VgWzwfbTFDXcuP91D2tke/l5RdnyEATLY=; b=bLXe6BZ5PYb1/HMft3moGWyLpZKqUhN9bQXR0geXGqdY8GcdNYL67ffaRjZ1bXXRvhQhcljUu19IK07NajpJzuV4jnEo3ONSoZNy1faZcgyYEcLnpsQTxU+pYMeY4pKS6WrzS6UwZQZRFP6mKzlJBSIEGNWUYMs8BCar5AwpGdA= Received: from AS9PR05CA0056.eurprd05.prod.outlook.com (2603:10a6:20b:489::19) by DB9P190MB1132.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:227::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.18; Fri, 22 Nov 2024 16:50:28 +0000 Received: from AMS0EPF000001AC.eurprd05.prod.outlook.com (2603:10a6:20b:489:cafe::9d) by AS9PR05CA0056.outlook.office365.com (2603:10a6:20b:489::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.16 via Frontend Transport; Fri, 22 Nov 2024 16:50:28 +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 AMS0EPF000001AC.mail.protection.outlook.com (10.167.16.152) with Microsoft SMTP Server id 15.20.8182.16 via Frontend Transport; Fri, 22 Nov 2024 16:50:28 +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 v1 1/2] net/ntnic: fix incorrect error message Date: Fri, 22 Nov 2024 17:50:21 +0100 Message-ID: <20241122165023.387393-2-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241122165023.387393-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-sil-plv@napatech.com> <20241122165023.387393-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF000001AC:EE_|DB9P190MB1132:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 080dd379-1f26-4178-f31c-08dd0b15c515 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =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Jxh52zDlez1HKGmIZZPW0?= =?us-ascii?Q?wNR20Qu7R2k+U94xDV7MJbqJf7nB46lKmVjB1g44Ak+r2zOC1+q+Jvn7Xkxx?= =?us-ascii?Q?tkwiamdzmcT9sGAg7J9wjJuNS7Io3MfWKGARegasf+DZmqtfxYlYcZry62Hx?= =?us-ascii?Q?rUR9PGRHZJOBThnvZyELV8pSLpzsxo+yjaxMZk1aKI6NgJACeChst5pXbi9Z?= =?us-ascii?Q?X3nJkzhlwDw/szsNEJrfNhRX3rCl/UOmpm2E7ZUlwVb4Xkf7lahphvq6OOoB?= =?us-ascii?Q?pdhpKnmv8ERFEOq1YtkItVFDhEWzftN6realBgZQEXd4yPlUxWD8djtEu0ap?= =?us-ascii?Q?gQQaMy8i7oVy4L+0y0cWcnMMJHcySyq4jjkV9ExgpnObQ18CRyVjq0cKJR6U?= =?us-ascii?Q?a4B8XnyPnxm6a+qYszX1NbI0lzjFfHnZAbLfqlTi6BlrFbH9wGMnlTo0KOip?= =?us-ascii?Q?EonJhFBpTeoOQER7vOPSW71Eh8qTN18xekF6oMbim3DLfxSnDQwMEk5fmCox?= =?us-ascii?Q?KAJrcuCIdcJ3HGPkF/vEkdSFHx245waUN5hbwCozJn5uoW/2HA=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)(82310400026)(1800799024)(36860700013); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: nL1MV0aP0g3dV66OJuFONPl0MPH4sNOpHiGk2NH+RH2WzFizyrb0D5N8rTWUY8t3wvTwj6agIaf/2ts/w9WN9tdaWcwBQy561Jw6ZysHghzMdyLcb60sZ4aPhcgYV7ZxweqXlZAp5F/S4EGUsDruI/CgtPuVst9+HeXNgWFjmo3IJZ3lAqSbntuX37BJiyMMfRlb/OzEL/b4YLniLISAevNmPcfv8FwnL6O1WByIWjaDifqmGME9j00eMDXHhlcf8tdQFaW6r81vEiu4cevM4Fm2tCLOkEqsxsaE9myImYEJdFfOpHSsdNA3GBD0HQs8D4nEzUDUrjaczD5U4M4g+Wh6H3RlMlrWnMSol/5mqFS2A9W0HgouTen2loM+TBl3sLYr8rgyLjMWJi5m18wQQe5+g63ZZm7428C68J2yojE+hWpZsMZfXuvknmqcHOWxs2yuqpeu4O4U1UiyR1d1vISKvD+RUTwWKuU031X6zlkmap0ciIkpU/2U9a+z/4qhekf3db2CJufIBfDnnh/JmWn29+xPDPo+yQPH8y0qwS2fmMQ+HN8C9d8UPKuq0YJm5il6e4jQhjUuevYRktYSeAamoI0VKbOScBbI9xZi5E5OYsHk4NX2DBAkYJyrcxZevkFzIdvLcQQZs2oPRuRPfIp0zLAac0TAKZEt9GeI3RE= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2024 16:50:28.3684 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 080dd379-1f26-4178-f31c-08dd0b15c515 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: AMS0EPF000001AC.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P190MB1132 X-BESS-ID: 1732294230-305430-13348-42707-1 X-BESS-VER: 2019.1_20241121.1615 X-BESS-Apparent-Source-IP: 104.47.17.112 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVobmhiZAVgZQ0NDAPNXc3MTM0N TQ0MTU2DLNIjHFyCzJ0MzMwtjI3NRSqTYWABdPIkFBAAAA X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.260604 [from cloudscan8-104.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 missed error messages to the list to avoid incorrect logs Fixes: 11ea97805ba1 ("net/ntnic: add minimal flow inline profile") Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/nthw/flow_api/flow_api.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/ntnic/nthw/flow_api/flow_api.c b/drivers/net/ntnic/nthw/flow_api/flow_api.c index d4993eb58a..fd470ddd35 100644 --- a/drivers/net/ntnic/nthw/flow_api/flow_api.c +++ b/drivers/net/ntnic/nthw/flow_api/flow_api.c @@ -81,6 +81,20 @@ static const struct { /* 27 */ { "Internal creation of a tunnel end point port failed" }, /* 28 */ { "Unknown or unsupported flow action received" }, /* 29 */ { "Removing flow failed" }, + /* 30 */ { "No output queue specified. Ignore this flow offload and uses default queue"}, + /* 31 */ { "No output queue found"}, + /* 32 */ { "Unsupported EtherType or rejected caused by offload policy"}, + /* 33 */ { "Destination port specified is invalid or not reachable from this NIC"}, + /* 34 */ { "Partial offload is not supported in this configuration"}, + /* 35 */ { "Match failed because of CAT CAM exhausted"}, + /* 36 */ { "Match failed because of CAT CAM Key clashed with an existing KCC Key"}, + /* 37 */ { "Match failed because of CAT CAM write failed"}, + /* 38 */ { "Partial flow mark too big for device"}, + /* 39 */ { "Invalid priority value"}, + /* 40 */ { "Multiple port_id actions for one flow is not supported"}, + /* 41 */ { "Too long hash key for RSS"}, + /* 42 */ { "Action AGE is not supported for flow in group 0"}, + /* 43 */ { "Unknown error"}, }; void flow_nic_set_error(enum flow_nic_err_msg_e msg, struct rte_flow_error *error) -- 2.45.0