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 6571D45AD8; Mon, 7 Oct 2024 21:35:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3E6B40615; Mon, 7 Oct 2024 21:35:11 +0200 (CEST) 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 083FB402E0 for ; Mon, 7 Oct 2024 21:35:09 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03lp2174.outbound.protection.outlook.com [104.47.51.174]) by mx-outbound18-114.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 07 Oct 2024 19:35:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=X59a4WabJPzvWqldn0U2JHrSgFWCVb8XmQNvACQQcjHvqt2BZyU6qBay7HDb+qhiQJ4wzI7ThIVzRrwvyGM/BpQbxXQ3KqOed0Zl3ce8jCeYAxGjftL1eGooAjH3wPj0vU5ONp3sb4SCfGlb2BSFwGCBbpd6vAMVogILJYiEGJRzIQEiDnX9320eb2jNXG9r447wwuT2t6iRiQpHfam97G7C2UIU8zPTfV7ghQGbOm8RHr4yhiBxYRprIV6DZUX9EopMRAwkyNkqwUJyu0/tnO8N03Xo+yhuxh8weKqSBW/hfd1lGqxwK5XhqNfRTUZUoKWeXMMJP/DVASCzZsobPg== 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=TY2Z+BmE7EsWThfC8ZXqLQf3QiBF8lL6KqjP9XWnSwo=; b=EhB0mhFSPx48WGiiGdU6Ksl3lN4gNinTp/o4SztfQRhFHIOA1p9wWHjQ6vq/gRuox6ZvgO1gBGJ0duN2ad1XfRVVc66F1VEsyCSV26hQXljQRnaF6HIwxVJUtHFswbZaC0/3tUmPNZhRBofM50D4qoOSIIH3d6+E4Q90q1Qp1Rp0eg9d5utD3INe+szBFbh6sdmHYP32IMRFL1EtxATxVVxnGeX62tPMzHHL/WOanN0Mv6CATjgB8VCiPaKLuV9taoOnFTS8Lpjgd67+Ip8erqQEjyxRRAuq3M2UEF/YffbbKVwdZDKRG38+7oVPoZA6XNB51HnqPxr8KtxyxFqdpw== 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=temperror action=none 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=TY2Z+BmE7EsWThfC8ZXqLQf3QiBF8lL6KqjP9XWnSwo=; b=YeiLNwdAahtw2DjZYkYf5bokJH3TcHOe/RDP6s9Q5XvHNEUgRDtaknKcu64Qv7syLJP5cX9hqIH5NtZMfjAradcsOGtyz4uTodZtS6kqvvYDi4NFQkPHtum8URGDgya/k5rjQhd50KGGjHX9MzHrCIs/zgkUb+sjAtiNGB5/7v4= Received: from DB9PR05CA0010.eurprd05.prod.outlook.com (2603:10a6:10:1da::15) by DBAP190MB0869.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:1b0::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.17; Mon, 7 Oct 2024 19:35:01 +0000 Received: from DB1PEPF000509EC.eurprd03.prod.outlook.com (2603:10a6:10:1da:cafe::de) by DB9PR05CA0010.outlook.office365.com (2603:10a6:10:1da::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Mon, 7 Oct 2024 19:35:01 +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=temperror action=none 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 DB1PEPF000509EC.mail.protection.outlook.com (10.167.242.70) with Microsoft SMTP Server id 15.20.8048.13 via Frontend Transport; Mon, 7 Oct 2024 19:35:00 +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 v2 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07 Date: Mon, 7 Oct 2024 21:33:36 +0200 Message-ID: <20241007193436.675785-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: DB1PEPF000509EC:EE_|DBAP190MB0869:EE_ X-MS-Office365-Filtering-Correlation-Id: 75e10562-9641-4b39-89f7-08dce7072277 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?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ZU11MWsraU1ZMjBvY05pVXB2?= =?utf-8?B?SG9rVlcwM1NFMDMrN3RkdlJ5VGZhSGVxRi9oeWdFQkU1T1pqUXE1OURGeGVR?= =?utf-8?Q?TvfHXm09wOZpV?= 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)(36860700013)(82310400026)(376014)(1800799024); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: RXVo37dcU3DrqVnOpQ7bRJffbP8Rj8CJLBFvgmC9QqWxiACGj16BEiFnnVGMzL2jocqSy/xIuP0397SggnDvz0Jm/ygY6xMuSt23M5LWbJPOBbRQub9cUwC/39r1KzXUnlbJBzbHXxBARX2MBlAGXg/8cL7oC/7QVvFd8ckkAPibEuWH0YdLEl4w3LFFNmsX+9KknF0H5pCKrTri9qiVMgp2ZRmMqFhhgJHjr0Yxf0kpbXfU46zcfi+JAcr9PURzkbv/KRs1hetKmbbcqn1mISH/Va5YSuVUoC3TDrFjXcVz5BiuTByZI0GRJl1UWZenYwIZs/kOb0bAZsQJhFhprCdHewYGgu/YM6p4Nq4wJ9mRf8ymVAnPqwXYmoKb7dpfyvemmn6HfOOD6pjiEsjQaZwRRWg7YO7GUqgMQt9dQ0qSwfpzXfxpSYFAU6J7qhCebcjA6Vnb/QteJ7Eiy53+NqNqiLLp4LjyZ8bR0SqRFpTyIyOiZnIULsLaykOtkjcpEI4CmHWtigUVKhZrclI+DXPzm4bWlfQ9DSsnfd3WUeCydzwAaykVH1pMz2yqjA+ndWMnJEDAj3NQJmc9wo2QZxfwDaJBinGKtbBljwf8JoOjCe0OEUb4ksLjw67WPfPH7Hp/K/y2oABfzggO4CM67w== X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2024 19:35:00.6314 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75e10562-9641-4b39-89f7-08dce7072277 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: DB1PEPF000509EC.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAP190MB0869 X-BESS-ID: 1728329704-304722-4001-4086-2 X-BESS-VER: 2019.1_20241004.2057 X-BESS-Apparent-Source-IP: 104.47.51.174 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoZmRpYWQGYGUNTAMjUpydIoLd XIOC3R0jjRzMAy0TjFMsUyzcIs0dwyWak2FgC2Fb5uQgAAAA== X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.259566 [from cloudscan22-232.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 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 | 49 + 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 | 910 +++++++ 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 + drivers/net/ntnic/meson.build | 35 +- drivers/net/ntnic/nim/i2c_nim.c | 16 +- .../net/ntnic/nthw/core/include/nthw_rmc.h | 49 + .../nthw/core/nt200a0x/nthw_fpga_nt200a0x.c | 2 +- .../core/nt200a0x/reset/nthw_fpga_rst9563.c | 12 +- .../nt200a0x/reset/nthw_fpga_rst_nt200a0x.c | 12 +- drivers/net/ntnic/nthw/core/nthw_fpga.c | 24 +- drivers/net/ntnic/nthw/core/nthw_hif.c | 18 +- drivers/net/ntnic/nthw/core/nthw_iic.c | 6 +- drivers/net/ntnic/nthw/core/nthw_pcie3.c | 2 +- drivers/net/ntnic/nthw/core/nthw_rmc.c | 90 + 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 | 985 +++++++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_flm.c | 300 +++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_hsh.c | 84 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_km.c | 278 ++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_pdb.c | 86 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_qsl.c | 170 ++ .../nthw/flow_api/hw_mod/hw_mod_slc_lr.c | 65 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_tpe.c | 277 ++ .../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 | 75 +- drivers/net/ntnic/nthw/nthw_drv.h | 5 + drivers/net/ntnic/nthw/nthw_helper.h | 11 + drivers/net/ntnic/nthw/nthw_rac.c | 181 ++ 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 | 63 +- drivers/net/ntnic/ntnic_ethdev.c | 1126 +++++++- drivers/net/ntnic/ntnic_mod_reg.c | 44 + drivers/net/ntnic/ntnic_mod_reg.h | 116 + drivers/net/ntnic/ntnic_vfio.c | 5 +- drivers/net/ntnic/ntutil/nt_util.c | 19 +- drivers/net/ntnic/ntutil/nt_util.h | 8 + 121 files changed, 21499 insertions(+), 159 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