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 5581F45D7F; Fri, 22 Nov 2024 23:49:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02A31402C5; Fri, 22 Nov 2024 23:49:27 +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 DC27240151 for ; Fri, 22 Nov 2024 23:49:25 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2168.outbound.protection.outlook.com [104.47.17.168]) 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 22:49:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wMy0xTdDD04T9VYWyTXq3iFVNwaYtJd5MWeqjhCxAc2D7g/vxgeejnyz4s/hYMNPXUf13lRYW3B6SSs/Ldc/bPCvA1DWNggrO0f2EKuwdOwJjgS/2tMz24OhbEsqOHqYuy2cD2Z8XNyaX4+V5Qxaw46Yz+u1+byAIjGvyRetNFVYFu7CdcITqYYJCo1zt/RBYibGtNUk7vmTd74cMZuwkdB5Lk3WKtXZ6a8a3c7sRDuYqXA/7jNfT16Kxz3qSA6jpwCUcA1obAriYnqeYX2Zphz+YVtVHrRnA47Pcop8jLmM4qTIAMPkEbO/jm5bccSS/I4NltTI5dW+OfsQ3k5F+A== 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=CXZ0Te4TTkB53j7A3n7bnKqSiiLTq/ueW/eEM70WvVY=; b=KslOHra8yw1yShgETqhktS0pjvlilXj3JSxY/6rI8Y3wHvDCbute4e4g4FaqyCka0ZcAS1nCCptvcrYzYOUnl3eKKVR47gsL7mL0zPGPyfkgko9lm4kMsv8UsCQdSBPz5TLjlW6no3m9jD5oDRH8I8Txb5bsT7a2CirdyTAQdkSm4I+EKCQBO+N7tBZCwEtBAK67yVis0cRGd9yArfrF23lhftDt2qOwUFcX5lGHFXhbuEHdme7OWOzMMzSAP6aCanrxjmfWmCsrZ7681p5L+mumREFIOKSByYKT5ZZeERPZPFpo3gML3ganGRZD5OF2zi56Sym6hsncw71cso87gQ== 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=CXZ0Te4TTkB53j7A3n7bnKqSiiLTq/ueW/eEM70WvVY=; b=ZKEA6MgM8qB3Gz20RRMRPG2hdHYEJCX31AzobCagiudWMPW49WPnkHEzcPfB2tyBAaTU53ZXFeCQKMFaPY2WFafmUjMIVNMII/dsO5/eKhkgYyzcsfaP5ejN4R46MNDzQqcdcvKELxMkWIEROMEuLB9lzUrhK8PtKRwmlhWFLOE= Received: from DU6P191CA0063.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53e::19) by AS8P190MB1094.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2b7::23) 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 22:49:19 +0000 Received: from DB1PEPF000509FC.eurprd03.prod.outlook.com (2603:10a6:10:53e:cafe::c) by DU6P191CA0063.outlook.office365.com (2603:10a6:10:53e::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 22:49:19 +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 DB1PEPF000509FC.mail.protection.outlook.com (10.167.242.38) with Microsoft SMTP Server id 15.20.8182.16 via Frontend Transport; Fri, 22 Nov 2024 22:49:19 +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 0/2] Bugfixes Date: Fri, 22 Nov 2024 23:49:13 +0100 Message-ID: <20241122224916.432217-1-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509FC:EE_|AS8P190MB1094:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ff1b1155-3078-4052-540c-08dd0b47e686 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-ascii?Q?DfrrHMZzG8jrI2qW/r2P4aIQoRPrREndLwG7adGiIwsXEO2tucPH8qWmYhXN?= =?us-ascii?Q?8Sktd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4te6Oy59YUW?= =?us-ascii?Q?LpQVSGh1BtpISaJV/NIk/XnZA3LypG8z24KiMZn8vZD0geIeRz37DhK0fMMK?= =?us-ascii?Q?IZk/H5R6INaTAvpCOFzkp4enpaWbuPThkLzgg+fSa20V1ghm4UYySI2zBCdN?= =?us-ascii?Q?nlP6DlP5rvfNhG5hrmnAIGwosplucEIXM1Q0hCvQ62b6DGT0uChckI+pIHXw?= =?us-ascii?Q?w+9vjUewoBgNramuXg67MXpmmIVclSTFDy26mN9A2G7EfkODHiQxN2XnFBwu?= =?us-ascii?Q?QwUKMInaCLNAsEM+OTyUhdFZhH5JuRAu9M6Tt/V9eB3GO6vnQL/sqboBu36b?= =?us-ascii?Q?9E8wl23PhWXDL0V7F1wC28PShew9ARktiFEKG1cEub/0HgdfmUGMwTzptKxc?= =?us-ascii?Q?/A6LV3y6G5IsEw8MSaqjTSs9BmCpl5TINriuyLvh1Tv4vRGUDIcbfrgxAKHh?= =?us-ascii?Q?DzdOUndHlhB8hu8rVNFXTw3n2m1JuABGX6TB2+aGBiI1tkn6xQ=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: hg+bJLqfjRP4klJCGMLo6MMLaCoXr+kUOk6f59Iroecq0fVVjpzdlNOMts5pcnoVaQ+22omxPf7OtH2B/LXPoa4xjpeK2WAh4jl0HcHtdnc74jTrLA081fdQytJEDZr33kx5qYPn//PimrKoQyFZGygfJuMI+imbjL0pOgXkZzEBpxKfw67yC4vNCUPDVhE9MAFFuf/nvlE+tQNt63WLlcsVmKtBLeJdoJ/b749VKn2IS5FBmHM9l4VS3s9oPgnbFDvMXDGp7pRnuPCM9ELCQFeQW2tieE2dCF0rjS9FN6sRsVV4Exo2+odERctfRzgrpe8QI55vysP/fEhng4ox4VjUavqFNvJEk7AXbmMhGBFZtKEBmBZhPBdbe9UiW3TCvPjVFAHICAoMQcifiZf4Xqm1CizLgjV5oExxdmzhmvyp98h1fGc3TGzIGqUPq52O7Vc7d/Q0gKbwqypOxlJbEdtpPR6XxzDx73NzrMpItqRbFRJDZwL81iAD+QNYsC/jfllBFC8p6zPh/zSrig2Y0Tpdf/3cuzYeypG3gys0Jlc2pSWfH7RjAEZFYqf1P2w6W4dR5t0FxVAslLDsAlmUELju9meiPMFNnTkslXrytzqquBPiDVttlAejmfH6rHsU1iihT1FAPzzEIwmO7t/ctDwMzgiJNAtyMVRwnov0Jo0= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2024 22:49:19.1187 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff1b1155-3078-4052-540c-08dd0b47e686 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: DB1PEPF000509FC.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P190MB1094 X-BESS-ID: 1732315761-305430-13347-58327-1 X-BESS-VER: 2019.1_20241121.1615 X-BESS-Apparent-Source-IP: 104.47.17.168 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVhbmJkBGBlDMzDzV0DA1JTnZ2M DAMNEyKdEsKcUgzcjM2MjYxDQtNVGpNhYArgWx6kAAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.260611 [from cloudscan16-96.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 This patch set provides further fixes: Feature RSS: Fix the Toeplitz key and log with a mask. Toeplitz's secret keyword order was reversed during programming into FPGA, which leads to unexpected RSS hash values. Error handling: The missed error messages were added to the list to avoid incorrect logs Change order base initializers to index base initializers Add static assertions to control the completeness of the list of messages. Serhii Iliushyk (2): net/ntnic: fix incorrect error message net/ntnic: fix of Toeplitz key and log with mask drivers/net/ntnic/include/flow_api.h | 3 +- drivers/net/ntnic/include/flow_api_engine.h | 3 +- drivers/net/ntnic/nthw/flow_api/flow_api.c | 164 ++++++++++++------ .../profile_inline/flow_api_profile_inline.c | 61 +++---- 4 files changed, 139 insertions(+), 92 deletions(-) -- 2.45.0