[v3,00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07
Message ID | 20241010141416.4063591-1-sil-plv@napatech.com (mailing list archive) |
---|---|
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 02FB945B04; Thu, 10 Oct 2024 16:14:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E43CE402F1; Thu, 10 Oct 2024 16:14:27 +0200 (CEST) Received: from egress-ip42a.ess.de.barracuda.com (egress-ip42a.ess.de.barracuda.com [18.185.115.201]) by mails.dpdk.org (Postfix) with ESMTP id 6DEA140298 for <dev@dpdk.org>; Thu, 10 Oct 2024 16:14:24 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03lp2175.outbound.protection.outlook.com [104.47.51.175]) by mx-outbound11-198.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Oct 2024 14:14:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Aqeuih3/XNKq2U31xYpzYfxoMbQWRzAFxA0isuy8cfZTc8keSMXNB5wCTEb9TrJ13T8/hW0RYfUa+peI/OT7xj2VmPRBA7FmLFunIUZr9rH4xF2QcqQvapcQPfaa0IO/Mbp/XY3iRUfF75j5QYl1pVQVTtynkyJMQhS7OYTUL5J80tLxInrKrrU3k3NTZfX8uQGkYOXqqKJXUPZfpRdBn9qMxRZZQ7u6Q6IXF2APrxGSJnpqTItScXfcQ2NmC7u6V/L1ceougcox9jvzVr4h3pWqUZ7wfP8zv5zzHW4DV/cpjf01XMTAEHmqs66//b/L2BhzFw9zH36HL9zyGm8MdA== 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=im1y8agOfR4AqQlaylNZn4ekJxmaHi+nmpRj6Tkt0Cg=; b=EMDhsXT7DVSBcM+5hze5np8icmxEPqQb/tImA40HcDO8O2qvRrBI3M8lccVVaejBn+MTjm7i1e2XoTnu4E7WyxnE+MmeyA1JC9eGai/jeHfw9TxKkcmFV9hcYDogXkonTUgxy99BwB6KzpfEY0Or6gil7OMAkPoXlTvEb7n82WoTJGwt0L6crEO9g3nddQoW/jNErR9yDlk8OciyFjDjF8G/JSXyF4/C2CdxDKnPsv8rcSGVqDodumyOKs45CA9YKHiVXASN+pJxF6qwjqXTV5TOIi/ioX6bJM9fAICsDCTBeSjFuj59CAEsLXxqymXEpNpwAHbdX96d9Nw/oBr8AQ== 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=im1y8agOfR4AqQlaylNZn4ekJxmaHi+nmpRj6Tkt0Cg=; b=RK1Cp+K0qZlsI6B1XOG0a0Y1yXNTCI11An474kGBy0XnakKznmkb7axNyBl/LJQVPwSiyDJlE4CAyDp8884KcVFBxcKnAIS2v0/Dkz3t/tul1wS+doYQlfSB0vvlAOEklhTM56nKSneM0MouxKe3GrK1FOfdv9lrosqHPt59PzE= Received: from DU2PR04CA0084.eurprd04.prod.outlook.com (2603:10a6:10:232::29) by PA6P190MB2053.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:3cf::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Thu, 10 Oct 2024 14:14:20 +0000 Received: from DU6PEPF0000B61B.eurprd02.prod.outlook.com (2603:10a6:10:232:cafe::9e) by DU2PR04CA0084.outlook.office365.com (2603:10a6:10:232::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.17 via Frontend Transport; Thu, 10 Oct 2024 14:14:20 +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 DU6PEPF0000B61B.mail.protection.outlook.com (10.167.8.132) with Microsoft SMTP Server id 15.20.8048.13 via Frontend Transport; Thu, 10 Oct 2024 14:14:19 +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 Subject: [PATCH v3 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07 Date: Thu, 10 Oct 2024 16:13:15 +0200 Message-ID: <20241010141416.4063591-1-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241006203728.330792-2-sil-plv@napatech.com> References: <20241006203728.330792-2-sil-plv@napatech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU6PEPF0000B61B:EE_|PA6P190MB2053:EE_ X-MS-Office365-Filtering-Correlation-Id: cbb64777-6fe9-4360-a643-08dce935d4df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Cvff6EkRo0nQ92lHmy1K0xXrLAs3iny?= =?utf-8?q?OrcvJ1OIL82Ecm1yPPXHgGQM6dVbpZlu4r3wRS0o8SvkNBI9fC2e0/XoYdtVTuP5O?= =?utf-8?q?woLPpb0oQQFdjoCjLvAI6w0JWqmpTVC10Xdz/T0x6zELmRe/Q0bZbdlVO5MNa7DZH?= =?utf-8?q?xTT3T8e4Iv5JWUq8UXZKOTO81wslKilXlJ/3YlUiDYgP7rvdFfXVJqajA0T98JBFd?= =?utf-8?q?j0om4b2kl7d1ufEFhT9sJDvM9sm7qyK5/0aKyIs1HVz555Ysffla7B5w3/ARvGoAN?= =?utf-8?q?5pd8GFNDgdMC1lAdIFllC5/mx3JHpqccx1M5pPAu3DUFs32PvYaDA9bVXPyCzYi6C?= =?utf-8?q?wk8vH+GIwWPV8dqCOYuoGjK44l+85NshnDzWx4T3DxoHHJMx5S3oE3ovTCuDH+/2e?= =?utf-8?q?aG6O4FxrhOYNgj9D+9N2aiwLhqntYLB31+Tt3p9PoRYszJ1pGpyDXNJFL1CUjemM0?= =?utf-8?q?dAuepWG/E5QxCQBulxQ9X516C2ScWqdUlanozjX/J3kZdvx7qv3+pvEP+miHNAPzS?= =?utf-8?q?Ts86ZRftmc+do3OYSGWjafj0WDXRuwKO1AAI3LoALWIYAyjvLaFtvIKewOWRY9dY3?= =?utf-8?q?RMffPy13ngzTp0HvOdpgejadcitsJUOBrMGV2dbo6euK+3hegev5Y58NN0RnL0Emn?= =?utf-8?q?JEZPipxyq3/KwItSm9qD5q2HUKzXXg02oQcjJOSznqcKM0y0gNF5sSlo+PLHJVVYs?= =?utf-8?q?X+I0NXdqNZB47e8DsanQoTRzgJ67POjThWpGCkw7UELYLTuV0qmyOVbj0KnNz3shX?= =?utf-8?q?tN9SHRzhHXXhzjZUgEW36xCXAfL/eBWT6oBVY3hI+pN2LgzLLArzbrfg2EkNFwtrC?= =?utf-8?q?u+JYJfyPCc9hl4N9RRmWSQut+q7dApDRgHND7jRXCt4MEc5L+p5/ZQfA9j5XyvoRx?= =?utf-8?q?yswT96+oBZ/6p+RIb6MYE+m7jJw4hqFJuHpzXKQo9qhmHjiAZLJcEZazKCqspnrMj?= =?utf-8?q?dHgtQLTyTx0a/a6tqBkEtM8+wqEQ6HdvIOTieltM5AyFt9K5CItTrIMBUrhEEAiqw?= =?utf-8?q?2OrCF7OkIIBCFwaGjukIdn34dU2eBts8d+3rZ2XTCbR617F6opXnLKxV+AZzPAFNq?= =?utf-8?q?hgB5rnqMsez6K0FZQdDeJpqld2D/A0v5uC76fIDj+HFhfvDzgNEEmBNnCtT7nqKnG?= =?utf-8?q?Q3HYyFYvoZa0VB0iuEQsvtK/kUVrrExVUeYjaI7zs4SKi8tMR5ByCqs8NZsdVPXhL?= =?utf-8?q?syLXovqoOTsYOV2Hj8YDHBOtiOpOiOuN4hk9t/cBNAmjDZAqcIyzK5IxxjpdMFLbx?= =?utf-8?q?YXHJjSPCf1+OlgVzGS0/UuA0EWCMpmsEqEBE/IaW27D9betswJHSYKJnNil25VAtH?= =?utf-8?q?I1anI0PdMGTV?= 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)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: sQqfLakIMuzJ4kJMFBKZrD8Pd34t+cLaSm7W+X1xxzjyruh0Ra3MPCMpt6IelQrrM86Bj08w4lxijfukqSKwcb4Z/XH41iGSAkhGvP0PMfWMkoDAfEYlECMj5AlFQUEKe7CwRMr5vKbjIvL3VgszQg64X+yg3jKZ2HaHQ0YQNhEE8mIyBQ54B7OKUMo0XW1V4no4JBP2uPSR84c1dnuNqwDoTF3f4tPB7ZSoGxPbqqn4HYRHIlWvBcnlfS4xgOKZy8nSni2JHOIkGuqLdEJAFbxpjFg18nN92q4FgKYn8KuXkuGZ4Rw1ZpuBoypyxqv8R+UZMcf4MF9rB7ZBHc3PoR1c6ebQLDZVlBE5Gm9t3pFt6IIOhSAOhR35KQvDrGlyMeIzLrAobe8A8tBOfpYg41mQzP5tL4KO9EIPpkU1BdxYFJWNeRjvuU7tz4rU6sl6KpSj1pyqGenqn20dVAatxYv1uQEAdQ1IBVdQnNZO5PCBsD7p986Nmc//SZx2m05jYhNdA/zW+aGCl/7xo2BkKWo7Nf8te2+Z9W4sm2UQDhTT4Sp7K9fxhN0qXd9qP+RbjY1EyO+tPkIj7gg83XQ8Rlfyf2g9M+XpIlmK7mEi/o3pnuiKvx9qE+WH5ZgQMll/+ZCBjqfKNhPWB9OP3JTttvLLWkB1QFDdLMbVn0E0mDk= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 14:14:19.1233 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbb64777-6fe9-4360-a643-08dce935d4df 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: DU6PEPF0000B61B.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA6P190MB2053 X-BESS-ID: 1728569662-303014-12783-25590-1 X-BESS-VER: 2019.1_20241004.2057 X-BESS-Apparent-Source-IP: 104.47.51.175 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoZmZqYGQGYGUDTRyCAxLdnc1C gtzdLcMMnAxDDZ0sjQ0CIl0dgg1cDAVKk2FgDBOQHgQgAAAA== X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.259630 [from cloudscan21-251.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 <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 init API, Enable virtual queues, fix ntnic issues for release 24.07
|
|
Message
Serhii Iliushyk
Oct. 10, 2024, 2:13 p.m. UTC
The list of updates provided by the patchset: * Update the supported version of the FPGA to 9563.55.49 * Fix Coverity issues * Fix issues related to release 24.07 * Extended and fixed the implementation of the logging * Added NT flow filter init API * Added NT flow backend initialization API * Added initialization of FPGA modules related to flow HW offload * Added basic handling of the virtual queues * Update documentation * Fix logging according to the requirement to not have '\n' Danylo Vodopianov (15): net/ntnic: fix coverity issues: net/ntnic: extend and fix logging implementation net/ntnic: add basic queue operations net/ntnic: enhance Ethernet device configuration net/ntnic: add scatter-gather HW deallocation net/ntnic: add queue setup operations net/ntnic: add packet handler for virtio queues net/ntnic: add init for virt queues in the DBS net/ntnic: add split-queue support net/ntnic: add functions for availability monitor management net/ntnic: used writer data handling functions net/ntnic: add descriptor reader data handling functions net/ntnic: virtqueue setup managed packed-ring was added net/ntnic: add functions for releasing virt queues net/ntnic: add functions for retrieving and managing packets Oleksandr Kolomeiets (33): net/ntnic: update NT NiC PMD driver with FPGA version net/ntnic: update documentation net/ntnic: remove extra calling of the API for release port net/ntnic: add flow filter init API net/ntnic: add flow filter deinitialization API net/ntnic: add flow backend initialization API net/ntnic: add flow backend deinitialization API net/ntnic: add INFO flow module net/ntnic: add categorizer (CAT) flow module net/ntnic: add key match (KM) flow module net/ntnic: add flow matcher (FLM) flow module net/ntnic: add IP fragmenter (IFR) flow module net/ntnic: add hasher (HSH) flow module net/ntnic: add queue select (QSL) flow module net/ntnic: add slicer (SLC LR) flow module net/ntnic: add packet descriptor builder (PDB) flow module net/ntnic: add header field update (HFU) flow module net/ntnic: add RPP local retransmit (RPP LR) flow module net/ntnic: add copier (Tx CPY) flow module net/ntnic: add checksum update (CSU) flow module net/ntnic: add insert (Tx INS) flow module net/ntnic: add replacer (Tx RPL) flow module net/ntnic: add base init and deinit of the NT flow API net/ntnic: add base init and deinit the NT flow backend net/ntnic: add categorizer (CAT) FPGA module net/ntnic: add key match (KM) FPGA module net/ntnic: add flow matcher (FLM) FPGA module net/ntnic: add hasher (HSH) FPGA module net/ntnic: add queue select (QSL) FPGA module net/ntnic: add slicer (SLC LR) FPGA module net/ntnic: add packet descriptor builder (PDB) FPGA module net/ntnic: add Tx Packet Editor (TPE) FPGA module net/ntnic: add receive MAC converter (RMC) core module Serhii Iliushyk (2): net/ntnic: add Tx Packet Editor (TPE) flow module net/ntnic: update FPGA registeris related to DBS .mailmap | 1 + doc/guides/nics/features/ntnic.ini | 2 + doc/guides/nics/ntnic.rst | 73 + doc/guides/rel_notes/release_24_11.rst | 10 + drivers/net/ntnic/adapter/nt4ga_adapter.c | 61 +- drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c | 1428 +++++++++++ drivers/net/ntnic/include/flow_api.h | 104 + drivers/net/ntnic/include/flow_api_engine.h | 48 + drivers/net/ntnic/include/flow_filter.h | 15 + drivers/net/ntnic/include/hw_mod_backend.h | 913 +++++++ drivers/net/ntnic/include/hw_mod_cat_v18.h | 141 ++ drivers/net/ntnic/include/hw_mod_cat_v21.h | 91 + drivers/net/ntnic/include/hw_mod_flm_v25.h | 342 +++ drivers/net/ntnic/include/hw_mod_hsh_v5.h | 46 + drivers/net/ntnic/include/hw_mod_km_v7.h | 96 + drivers/net/ntnic/include/hw_mod_pdb_v9.h | 42 + drivers/net/ntnic/include/hw_mod_qsl_v7.h | 48 + drivers/net/ntnic/include/hw_mod_slc_lr_v2.h | 25 + drivers/net/ntnic/include/hw_mod_tpe_v3.h | 126 + drivers/net/ntnic/include/nt4ga_adapter.h | 7 + drivers/net/ntnic/include/nt4ga_filter.h | 13 + drivers/net/ntnic/include/ntnic_dbs.h | 313 +++ drivers/net/ntnic/include/ntnic_stat.h | 11 + drivers/net/ntnic/include/ntnic_virt_queue.h | 146 ++ drivers/net/ntnic/include/ntos_drv.h | 70 + .../ntnic/include/stream_binary_flow_api.h | 22 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 68 +- drivers/net/ntnic/meson.build | 35 +- drivers/net/ntnic/nim/i2c_nim.c | 24 +- .../net/ntnic/nthw/core/include/nthw_rmc.h | 49 + .../nthw/core/nt200a0x/nthw_fpga_nt200a0x.c | 12 +- .../core/nt200a0x/reset/nthw_fpga_rst9563.c | 30 +- .../nt200a0x/reset/nthw_fpga_rst_nt200a0x.c | 122 +- drivers/net/ntnic/nthw/core/nthw_fpga.c | 58 +- drivers/net/ntnic/nthw/core/nthw_gpio_phy.c | 2 +- drivers/net/ntnic/nthw/core/nthw_hif.c | 24 +- drivers/net/ntnic/nthw/core/nthw_iic.c | 28 +- drivers/net/ntnic/nthw/core/nthw_mac_pcs.c | 16 +- drivers/net/ntnic/nthw/core/nthw_pcie3.c | 4 +- drivers/net/ntnic/nthw/core/nthw_rmc.c | 90 + drivers/net/ntnic/nthw/core/nthw_sdc.c | 2 +- drivers/net/ntnic/nthw/core/nthw_si5340.c | 10 +- drivers/net/ntnic/nthw/dbs/nthw_dbs.c | 1157 +++++++++ drivers/net/ntnic/nthw/flow_api/flow_api.c | 391 +++ .../ntnic/nthw/flow_api/flow_api_nic_setup.h | 20 + .../nthw/flow_api/flow_backend/flow_backend.c | 2255 +++++++++++++++++ drivers/net/ntnic/nthw/flow_api/flow_filter.c | 55 + drivers/net/ntnic/nthw/flow_api/flow_kcc.c | 19 + drivers/net/ntnic/nthw/flow_api/flow_km.c | 19 + .../nthw/flow_api/hw_mod/hw_mod_backend.c | 145 ++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_cat.c | 1058 ++++++++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_flm.c | 324 +++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_hsh.c | 91 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_km.c | 304 +++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_pdb.c | 91 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_qsl.c | 185 ++ .../nthw/flow_api/hw_mod/hw_mod_slc_lr.c | 68 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_tpe.c | 308 +++ .../ntnic/nthw/flow_filter/flow_nthw_cat.c | 872 +++++++ .../ntnic/nthw/flow_filter/flow_nthw_cat.h | 291 +++ .../ntnic/nthw/flow_filter/flow_nthw_csu.c | 141 ++ .../ntnic/nthw/flow_filter/flow_nthw_csu.h | 44 + .../ntnic/nthw/flow_filter/flow_nthw_flm.c | 1225 +++++++++ .../ntnic/nthw/flow_filter/flow_nthw_flm.h | 433 ++++ .../ntnic/nthw/flow_filter/flow_nthw_hfu.c | 230 ++ .../ntnic/nthw/flow_filter/flow_nthw_hfu.h | 84 + .../ntnic/nthw/flow_filter/flow_nthw_hsh.c | 260 ++ .../ntnic/nthw/flow_filter/flow_nthw_hsh.h | 87 + .../ntnic/nthw/flow_filter/flow_nthw_ifr.c | 123 + .../ntnic/nthw/flow_filter/flow_nthw_ifr.h | 54 + .../ntnic/nthw/flow_filter/flow_nthw_info.c | 341 +++ .../ntnic/nthw/flow_filter/flow_nthw_info.h | 110 + .../net/ntnic/nthw/flow_filter/flow_nthw_km.c | 610 +++++ .../net/ntnic/nthw/flow_filter/flow_nthw_km.h | 214 ++ .../ntnic/nthw/flow_filter/flow_nthw_pdb.c | 210 ++ .../ntnic/nthw/flow_filter/flow_nthw_pdb.h | 85 + .../ntnic/nthw/flow_filter/flow_nthw_qsl.c | 295 +++ .../ntnic/nthw/flow_filter/flow_nthw_qsl.h | 113 + .../ntnic/nthw/flow_filter/flow_nthw_rpp_lr.c | 157 ++ .../ntnic/nthw/flow_filter/flow_nthw_rpp_lr.h | 61 + .../ntnic/nthw/flow_filter/flow_nthw_slc_lr.c | 126 + .../ntnic/nthw/flow_filter/flow_nthw_slc_lr.h | 54 + .../ntnic/nthw/flow_filter/flow_nthw_tx_cpy.c | 388 +++ .../ntnic/nthw/flow_filter/flow_nthw_tx_cpy.h | 59 + .../ntnic/nthw/flow_filter/flow_nthw_tx_ins.c | 98 + .../ntnic/nthw/flow_filter/flow_nthw_tx_ins.h | 44 + .../ntnic/nthw/flow_filter/flow_nthw_tx_rpl.c | 172 ++ .../ntnic/nthw/flow_filter/flow_nthw_tx_rpl.h | 74 + .../net/ntnic/nthw/model/nthw_fpga_model.c | 91 +- drivers/net/ntnic/nthw/nthw_drv.h | 5 + drivers/net/ntnic/nthw/nthw_helper.h | 11 + drivers/net/ntnic/nthw/nthw_rac.c | 229 +- drivers/net/ntnic/nthw/nthw_rac.h | 9 + ...9_0000.c => nthw_fpga_9563_055_049_0000.c} | 727 +++++- .../nthw/supported/nthw_fpga_instances.c | 2 +- .../nthw/supported/nthw_fpga_instances.h | 2 +- .../ntnic/nthw/supported/nthw_fpga_mod_defs.h | 16 + .../ntnic/nthw/supported/nthw_fpga_reg_defs.h | 20 + .../nthw/supported/nthw_fpga_reg_defs_cat.h | 238 ++ .../nthw/supported/nthw_fpga_reg_defs_cpy.h | 113 + .../nthw/supported/nthw_fpga_reg_defs_csu.h | 31 + .../nthw/supported/nthw_fpga_reg_defs_dbs.h | 144 ++ .../nthw/supported/nthw_fpga_reg_defs_flm.h | 242 ++ .../nthw/supported/nthw_fpga_reg_defs_hfu.h | 49 + .../nthw/supported/nthw_fpga_reg_defs_hsh.h | 50 + .../nthw/supported/nthw_fpga_reg_defs_ifr.h | 42 + .../nthw/supported/nthw_fpga_reg_defs_ins.h | 30 + .../nthw/supported/nthw_fpga_reg_defs_km.h | 126 + .../nthw/supported/nthw_fpga_reg_defs_pdb.h | 48 + .../nthw/supported/nthw_fpga_reg_defs_qsl.h | 66 + .../nthw/supported/nthw_fpga_reg_defs_rmc.h | 36 + .../nthw/supported/nthw_fpga_reg_defs_rpl.h | 43 + .../supported/nthw_fpga_reg_defs_rpp_lr.h | 37 + .../nthw/supported/nthw_fpga_reg_defs_slc.h | 34 + .../supported/nthw_fpga_reg_defs_slc_lr.h | 23 + .../supported/nthw_fpga_reg_defs_tx_cpy.h | 23 + .../supported/nthw_fpga_reg_defs_tx_ins.h | 23 + .../supported/nthw_fpga_reg_defs_tx_rpl.h | 23 + drivers/net/ntnic/ntlog/ntlog.c | 2 - drivers/net/ntnic/ntlog/ntlog.h | 61 +- drivers/net/ntnic/ntnic_ethdev.c | 1178 ++++++++- drivers/net/ntnic/ntnic_mod_reg.c | 44 + drivers/net/ntnic/ntnic_mod_reg.h | 116 + drivers/net/ntnic/ntnic_vfio.c | 33 +- drivers/net/ntnic/ntutil/nt_util.c | 31 +- drivers/net/ntnic/ntutil/nt_util.h | 8 + 126 files changed, 21922 insertions(+), 397 deletions(-) create mode 100644 drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c create mode 100644 drivers/net/ntnic/include/flow_api.h create mode 100644 drivers/net/ntnic/include/flow_api_engine.h create mode 100644 drivers/net/ntnic/include/flow_filter.h create mode 100644 drivers/net/ntnic/include/hw_mod_backend.h create mode 100644 drivers/net/ntnic/include/hw_mod_cat_v18.h create mode 100644 drivers/net/ntnic/include/hw_mod_cat_v21.h create mode 100644 drivers/net/ntnic/include/hw_mod_flm_v25.h create mode 100644 drivers/net/ntnic/include/hw_mod_hsh_v5.h create mode 100644 drivers/net/ntnic/include/hw_mod_km_v7.h create mode 100644 drivers/net/ntnic/include/hw_mod_pdb_v9.h create mode 100644 drivers/net/ntnic/include/hw_mod_qsl_v7.h create mode 100644 drivers/net/ntnic/include/hw_mod_slc_lr_v2.h create mode 100644 drivers/net/ntnic/include/hw_mod_tpe_v3.h create mode 100644 drivers/net/ntnic/include/nt4ga_filter.h create mode 100644 drivers/net/ntnic/include/ntnic_dbs.h create mode 100644 drivers/net/ntnic/include/ntnic_stat.h create mode 100644 drivers/net/ntnic/include/ntnic_virt_queue.h create mode 100644 drivers/net/ntnic/include/stream_binary_flow_api.h create mode 100644 drivers/net/ntnic/nthw/core/include/nthw_rmc.h create mode 100644 drivers/net/ntnic/nthw/core/nthw_rmc.c create mode 100644 drivers/net/ntnic/nthw/dbs/nthw_dbs.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_api.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_api_nic_setup.h create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_backend/flow_backend.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_filter.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_kcc.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_km.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_backend.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_cat.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_flm.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_hsh.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_km.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_pdb.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_qsl.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_slc_lr.c create mode 100644 drivers/net/ntnic/nthw/flow_api/hw_mod/hw_mod_tpe.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_cat.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_cat.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_csu.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_csu.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_flm.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_flm.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_hfu.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_hfu.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_hsh.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_hsh.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_ifr.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_ifr.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_info.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_info.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_km.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_km.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_pdb.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_pdb.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_qsl.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_qsl.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_rpp_lr.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_rpp_lr.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_slc_lr.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_slc_lr.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_cpy.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_cpy.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_ins.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_ins.h create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_rpl.c create mode 100644 drivers/net/ntnic/nthw/flow_filter/flow_nthw_tx_rpl.h create mode 100644 drivers/net/ntnic/nthw/nthw_helper.h rename drivers/net/ntnic/nthw/supported/{nthw_fpga_9563_055_039_0000.c => nthw_fpga_9563_055_049_0000.c} (60%) create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_cat.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_cpy.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_csu.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_dbs.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_flm.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hfu.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hsh.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_ifr.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_ins.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_km.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pdb.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_qsl.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rmc.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rpl.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rpp_lr.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_slc.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_slc_lr.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_tx_cpy.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_tx_ins.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_tx_rpl.h