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 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 ; 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 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: =?ut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hKalNQQ2YxK09sZ1Z6R1Mw?= =?utf-8?B?L1V1QTBFV0NNcG1zRXFFQkUvSWFXMjdEOWJldHN3SkhTWUtKbk5pbDI1VkF0?= =?utf-8?Q?HI1anI0PdMGTV?= 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 -- 2.45.0