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 2BC3145AAF; Fri, 4 Oct 2024 17:56:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3637E42F4F; Fri, 4 Oct 2024 17:51:59 +0200 (CEST) Received: from egress-ip11a.ess.de.barracuda.com (egress-ip11a.ess.de.barracuda.com [18.184.203.234]) by mails.dpdk.org (Postfix) with ESMTP id C7CE542795 for ; Fri, 4 Oct 2024 17:51:54 +0200 (CEST) Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02lp2236.outbound.protection.outlook.com [104.47.11.236]) by mx-outbound44-124.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 04 Oct 2024 15:51:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ms1JMe72pub3mn82xCOcYle+3Ax20fe0+0iKbWffUfbkNgYpdiXr1i7Pm6mNQ0w7WWbi/iyQ4VDY5pFtb/eK+k53ab2m3+2outfdwaisxaEe4dZmbDs/I3sIChtg5uLEcE/cg0Rjebuvm7AzrjEtDy2vCGsBGV/MUL9bKENReKCHAexhXFQUwGvKhHrw5SUlo9D9H9oPGtBkLrvdq3j8XxuqPWRYL1cni9bkGB6Qtg+3LGwFNQsnHRc+GJBib2X2TiIhx1jfPUzay8A/FLm6QkHfc/e/xzmMm9Fbk+/y514EAVNGkkIQ1yDNy0Igjw3qE/PYV9GJSshiIHtIOd6YSg== 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=/F1BkW2oiB4mL41sbcDhsVYLzhynUt/Jh7EOG1AeRDw=; b=h9MrgWkxzrGM+1kHSilJR1lLwB3P7EQ/7KYowz68AsDiMsM8q1p+NXvrY5JWPOH6hp8Z3ST1YyT+b4QV07csPfdEDjRinFhS/7I+Ukw7pbSxuNg/1Fi7PTPe+FCl2gn7Oi4EfbznHn4pghA0dcBA18/xvbZr9c6/ehudp0bJ/+7PlRKkGj11OwRrKnqJ0GNd6TWReh0LrJ2zw8Vyg/cRF79bBOreZvoleeKSjWQ3iwu1EdWroUMqDhF3UBehx/Bt7420o3gxxQblPpqCxOebkMH9U7oMA61yLxejgjMmd3QMACrxRJ2cbK2v2eKPm4n29+AHZDV2XVrIDy+G8N8X5w== 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=/F1BkW2oiB4mL41sbcDhsVYLzhynUt/Jh7EOG1AeRDw=; b=IGHNTZPRskO/ugNmC22mtEy6XBAcLi3eZg7CKSBPo6kadTS9iFAZi/aHGpNrXWrIFdBhefi6oMWBTZLwCVeJ3MRrqGnHVH751FwQ9Ocma2RIdtoueX6aT1HeS585k7NoLadVuLM4FoQ2P6WhIQN8qdiJga3APuhITeyjPfnGvHo= Received: from AM0PR10CA0119.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::36) by DB9P190MB1964.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:398::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.18; Fri, 4 Oct 2024 15:36:00 +0000 Received: from AM2PEPF0001C715.eurprd05.prod.outlook.com (2603:10a6:208:e6:cafe::45) by AM0PR10CA0119.outlook.office365.com (2603:10a6:208:e6::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.18 via Frontend Transport; Fri, 4 Oct 2024 15:36:00 +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 AM2PEPF0001C715.mail.protection.outlook.com (10.167.16.185) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 4 Oct 2024 15:35:59 +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 v1 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07 Date: Fri, 4 Oct 2024 17:34:18 +0200 Message-ID: <20241004153551.267935-1-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 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: AM2PEPF0001C715:EE_|DB9P190MB1964:EE_ X-MS-Office365-Filtering-Correlation-Id: 01253fa7-6fbc-4baa-2857-08dce48a3f49 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Sjhac05UYTNub04zZCs0WS9yeVZxOEJ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zFCVHY3S0R1?= =?utf-8?B?dWkwdE9JL0grcXpWVmlNeTJEQWxDNmw1ZTFaMHBqWTl1bkhxbWFMdUYyalpT?= =?utf-8?Q?SuUyL5qt6S9wb?= 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)(82310400026)(1800799024)(36860700013)(376014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: mw4fORW8wy+cFmmp7Wq3fFdbo/0GByvyn2WXQorwuJYMCq41w2IZKJzU7o2U5NXrI0OB4D0BG3ph/Sz3JuHA1GSDstZPU/9na4A0cIuTpDL9cWBs4MyHNmXbww/SCDpeARq1oYtIVo/mjb2D9UEYxOVfUHvxJJU4ReVZ7IIVqh7XVGJHYi4K1BFi4SZCgHK+I8q0SnzrqTF776dKsI6Ky0fi39vpDpiPR7I91Z98v8W6u9vLh90bOK34bDs5oElSOVCfKr3DHBuTsoq+ojrmLBR9iLq5AATZlqLZoH64r4+93a00zdRfl8XpJjmVg8B6irfk1gekWPeDOb6kQ/9bIqT7sJ7etK8+CUYnuk4Q4+h0bWU3CnT43agclLBKF/2FzgRK0Irm6oxAy6aZsyo6vrTp31uO71UkCXw1DYoF73kCY4Df5RSxxxuDElW8ST2ZtPeCbkBp9XGM/Ql6zx8pGgOTfv6Eu2PIYVh1ZkyE2u6ag93f6GM4nXBZbaBp2A0ZZnvJNLXPn0xVqMpNPyRspbygnHIXGCS6A1m5tgUHjEJLGVRF60ud4qt+1J9U8kn5bGPY/ERfcURk1udU6j4XO437gpkdgwUg+ZgXdwl7i+SbfOqx8mdnlPpfSM0MOQ51n+AIJrOBFbbQ5WQ3QugPww== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2024 15:35:59.6584 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 01253fa7-6fbc-4baa-2857-08dce48a3f49 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: AM2PEPF0001C715.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P190MB1964 X-OriginatorOrg: napatech.com X-BESS-ID: 1728057113-311388-7260-10983-1 X-BESS-VER: 2019.1_20240924.1654 X-BESS-Apparent-Source-IP: 104.47.11.236 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoamFoZmQGYGUDTJxDDFLCktzT LVzCTF2CQlJTXJINHc0sIy2cgkNcXUTKk2FgB2ZUslQgAAAA== X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.259494 [from cloudscan21-181.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 *** BLURB HERE *** 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 + 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 + 120 files changed, 21489 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