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 3256A45BCC; Wed, 30 Oct 2024 22:39:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF36842F0C; Wed, 30 Oct 2024 22:39:58 +0100 (CET) Received: from egress-ip42b.ess.de.barracuda.com (egress-ip42b.ess.de.barracuda.com [18.185.115.246]) by mails.dpdk.org (Postfix) with ESMTP id 1A6FB42E9A for ; Wed, 30 Oct 2024 22:39:57 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2113.outbound.protection.outlook.com [104.47.18.113]) by mx-outbound17-81.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Oct 2024 21:39:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OzZ49oVQaLFjhw0DyILFrLowWyaeQy6LccvlErCQYixEs2W0ysGUz9Fl8wBBN7V/ZxZ6co8r7F7j6Jtxxus7H0eiUdP3eSspC/MPr74iQApQ1yM7OcVShlG2LLqdiGuzyS95CHOKHnl6zXrAvEt3VQvkZzLev+T6D9HS/ygHAYjIBgUsobP9ZSpERXA2WUcEy3FR66COoazNCzbn0iMIv1zgGtkqxSsGZ2kxauOkyv5t0bl7vcobcCCUvK8XPol8dzkcZ7oQ5HTVAds8Ps7ien1d2GtYxZ5qT0ctZ7fy/R/JzTjAeeCTOUeJOe00JGlUq17Ds4g+s7kzMMs5Arf5xQ== 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=neDnB0RrxB3WT2zbrJjNVCFn+iHrtcoYcrlH8bDD9aw=; b=grcX5USTh5BwQhw1aAZRimBUGXkU8Qp0K7t1+VkBLoGZx00i9InZhQc4t57vnDlmUEkXQEwjMihpadcvfz8hwOry0JjujHhq2qf50alYibcmRvX2ner8qNYAqNUGvuHGYCqvX1CvOKZxuuDsq8Mrwn7nljsW6zb4Y8oNSnv9ngyQRdhXI/mTmabrVfFf6xpaJK9wtC8HHxU4ekXjhVCrdWUFBWJ1+K7aiLbSGdGMXN3MkU4FYTrqizzMnympgVhDVX2jdd9mVMcVzVjkEJ3Pm3umn78V333wD/ocgWtbY+Cts+NSZcLGNHSJd981uVlfpNOw2gMv8Q+l5xwswQNvsA== 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=neDnB0RrxB3WT2zbrJjNVCFn+iHrtcoYcrlH8bDD9aw=; b=b5ksHfhmYJC1ACVFqCI5hrFsO8X9xF35vu+4qxrG/EDIcK8cznK5Y+hxQYXeAQm/N6bI1GqdtmHVDl2mFJ0/WB3kV6Q1shhIdnG/1/CPx2ngXvCK7BpCugt3yOW1RgUdoctk98PoQ+3J2xoy/FKAG3w76HuFFe9PtcaWgAOIciw= Received: from DUZPR01CA0005.eurprd01.prod.exchangelabs.com (2603:10a6:10:3c3::9) by PR3P190MB0857.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:81::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Wed, 30 Oct 2024 21:39:51 +0000 Received: from DU2PEPF00028D13.eurprd03.prod.outlook.com (2603:10a6:10:3c3:cafe::5f) by DUZPR01CA0005.outlook.office365.com (2603:10a6:10:3c3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.23 via Frontend Transport; Wed, 30 Oct 2024 21:39:51 +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 DU2PEPF00028D13.mail.protection.outlook.com (10.167.242.27) with Microsoft SMTP Server id 15.20.8114.16 via Frontend Transport; Wed, 30 Oct 2024 21:39:50 +0000 From: Serhii Iliushyk To: dev@dpdk.org Cc: mko-plv@napatech.com, sil-plv@napatech.com, ckm@napatech.com, andrew.rybchenko@oktetlabs.ru, ferruh.yigit@amd.com, stephen@networkplumber.org Subject: [PATCH v5 00/80] Provide flow filter and statistics support Date: Wed, 30 Oct 2024 22:38:07 +0100 Message-ID: <20241030213940.3470062-1-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241021210527.2075431-1-sil-plv@napatech.com> References: <20241021210527.2075431-1-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: DU2PEPF00028D13:EE_|PR3P190MB0857:EE_ X-MS-Office365-Filtering-Correlation-Id: 3cce933f-a5b7-4124-a258-08dcf92b6202 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft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UUliSWtMeEVFUGFscHVIYWxTaDRJdmVFVGhRaEtiNkd2ZjJZTkYv?= =?utf-8?B?aWY3a2pINVpzZU53VG9GUzJWWG5Ec0krNG42aUdJdmRLUkIwNDM0Unp4V2pa?= =?utf-8?B?a2NNYUszWkJRVXV2eHdCcTJOTUx3UThBT053T3k4TjZZb1E9PQ==?= 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: DxdRCHiSgfbvxwdTuBEPfjIBRVMU9mbKUz6O3YKFR7pw85qSynvfNEa//79NyIEOG3YaYpFd2VbwYDwfRPxF0oiuhJoLNTniH6G0h9K6Nd541ztVtZcCFzP1TGIhtm+V/xIKUTB+/FiPb0jlk5Q3hA6cGkfeguLeAW9SetsBuhEODNlShxpGa0QoLEcjBUcal2l6BGcGbAX6jQJJOd8ios5KBWSC5AyoMim9AcENQnYIFTO8RWrIL0hdEldSTgIaVFElXdeVln3Ew67/BvVPRN++SOTFiE4Bthhfdm4Ew6xy4FkOSQsSYp67Vmo9HmAtw0UPXo1Nerb0uRRA0uE7ZUJzybS6dTpT5ada3YG61/DPyxIVe+fTwMAMNfCE0HmAjmCdFKsE8nQE42bA9Eqf5T/qNCrqxaEIE3D/ZfIu3cDPEdo1s2wrrVqlPUUV0DqLnQUb/OTCV9bFkg6K3HZtfbstB222bK7vs1fDoB5/y7nHiwvGrLY4IsTVTvDqMfrEjILeHwi4ePVr2FLQWi1bAP5j/+FLOViPlljhiiMUwRIRYXKarTfuupAe+3CoKgUK16xoK45bU/uywRZNGKH8ZKeLYl47OE3PZtKuKSuQICtCA0McF3dS2PUeDcizOBTGclH9jZivt1QTlHFch57y9Dix739A7Ef/MtNbCQ8H5Cg= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 21:39:50.0205 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3cce933f-a5b7-4124-a258-08dcf92b6202 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: DU2PEPF00028D13.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P190MB0857 X-BESS-ID: 1730324393-304433-12635-44602-1 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.18.113 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoaG5pamQGYGUDTNNNE8LdHcyN LU0NDYJNks1cTS2CwpLSU12dTCMC3JUqk2FgC1EqeFQgAAAA== X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.260091 [from cloudscan15-95.eu-central-1a.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: - FW version - Speed capabilities - Link status (Link update only) - Unicast MAC filter - Multicast MAC filter - Promiscuous mode (Enable only. The device always run promiscuous mode) - Flow API support. - Support for multiple rte_flow groups. - Multiple TX and RX queues. - Scattered and gather for TX and RX. - Jumbo frame support. - Traffic mirroring. - VLAN filtering. - Packet modification: NAT, TTL decrement, DSCP tagging - Tunnel types: GTP. - Encapsulation and decapsulation of GTP data. - RX VLAN stripping via raw decap. - TX VLAN insertion via raw encap. - CAM and TCAM based matching. - Exact match of 140 million flows and policies. - Tunnel HW offload: Packet type, inner/outer RSS, IP and UDP checksum verification. - RSS hash - RSS key update - RSS based on VLAN or 5-tuple. - RSS using different combinations of fields: L3 only, L4 only or both, and source only, destination only or both. - Several RSS hash keys, one for each flow type. - Default RSS operation with no hash key specification. - Port and queue statistics. - RMON statistics in extended stats. - Link state information. - Flow statistics - Flow aging support - Flow metering, including meter policy API. - Flow update. Update of the action list for specific flow - Asynchronous flow support - MTU update Update: the pthread API was replaced with RTE spinlock in the separate patch. Danylo Vodopianov (41): net/ntnic: add NT flow dev configuration net/ntnic: add item UDP net/ntnic: add action TCP net/ntnic: add action VLAN net/ntnic: add item SCTP net/ntnic: add items IPv6 and ICMPv6 net/ntnic: add action modify filed net/ntnic: add items gtp and actions raw encap/decap net/ntnic: add cat module net/ntnic: add SLC LR module net/ntnic: add PDB module net/ntnic: add QSL module net/ntnic: add KM module net/ntnic: add hash API net/ntnic: add TPE module net/ntnic: add FLM module net/ntnic: add FLM RCP module net/ntnic: add learn flow queue handling net/ntnic: match and action db attributes were added net/ntnic: add statistics support net/ntnic: add rpf module net/ntnic: add statistics poll net/ntnic: added flm stat interface net/ntnic: add TSM module net/ntnic: add xStats net/ntnic: added flow statistics net/ntnic: add scrub registers net/ntnic: add high-level flow aging support net/ntnic: add aging to the inline profile net/ntnic: add flow info and flow configure support net/ntnic: add flow aging event net/ntnic: add termination thread net/ntnic: add meter support net/ntnic: add meter module net/ntnic: add action update support net/ntnic: add flow action update net/ntnic: add flow actions update net/ntnic: add async create/destroy declaration net/ntnic: add async template declaration net/ntnic: add async flow create/delete implementation net/ntnic: add async template implementation Oleksandr Kolomeiets (17): net/ntnic: add flow dump feature net/ntnic: add flow flush net/ntnic: sort FPGA registers alphanumerically net/ntnic: add CSU module registers net/ntnic: add FLM module registers net/ntnic: add HFU module registers net/ntnic: add IFR module registers net/ntnic: add MAC Rx module registers net/ntnic: add MAC Tx module registers net/ntnic: add RPP LR module registers net/ntnic: add SLC LR module registers net/ntnic: add Tx CPY module registers net/ntnic: add Tx INS module registers net/ntnic: add Tx RPL module registers net/ntnic: add STA module net/ntnic: add TSM module net/ntnic: add MTU configuration Serhii Iliushyk (22): net/ntnic: add flow filter support net/ntnic: add minimal create/destroy flow operations net/ntnic: add internal functions for create/destroy net/ntnic: add minimal NT flow inline profile net/ntnic: add management functions for NT flow profile net/ntnic: add NT flow profile management implementation net/ntnic: add create/destroy implementation for NT flows net/ntnic: add infrastructure for for flow actions and items net/ntnic: add action queue net/ntnic: add action mark net/ntnic: add ation jump net/ntnic: add action drop net/ntnic: add item eth net/ntnic: add item IPv4 net/ntnic: add item ICMP net/ntnic: add item port ID net/ntnic: add item void net/ntnic: add GMF (Generic MAC Feeder) module net/ntnic: update alignment for virt queue structs net/ntnic: enable RSS feature net/ntnic: migrate to the RTE spinlock net/ntnic: remove unnecessary doc/guides/nics/features/default.ini | 2 +- doc/guides/nics/features/ntnic.ini | 34 + doc/guides/nics/ntnic.rst | 50 + doc/guides/rel_notes/release_24_11.rst | 8 + drivers/net/ntnic/adapter/nt4ga_adapter.c | 29 +- .../net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c | 598 ++ drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c | 7 +- .../net/ntnic/include/common_adapter_defs.h | 15 + drivers/net/ntnic/include/create_elements.h | 73 + drivers/net/ntnic/include/flow_api.h | 142 +- drivers/net/ntnic/include/flow_api_engine.h | 380 + drivers/net/ntnic/include/flow_filter.h | 1 + drivers/net/ntnic/include/hw_mod_backend.h | 256 + drivers/net/ntnic/include/nt4ga_adapter.h | 2 + drivers/net/ntnic/include/ntdrv_4ga.h | 5 + drivers/net/ntnic/include/ntnic_stat.h | 265 + drivers/net/ntnic/include/ntos_drv.h | 24 + .../ntnic/include/stream_binary_flow_api.h | 67 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 8 + drivers/net/ntnic/meson.build | 20 + .../net/ntnic/nthw/core/include/nthw_core.h | 1 + .../net/ntnic/nthw/core/include/nthw_gmf.h | 64 + .../net/ntnic/nthw/core/include/nthw_i2cm.h | 4 +- .../net/ntnic/nthw/core/include/nthw_rmc.h | 6 + .../net/ntnic/nthw/core/include/nthw_rpf.h | 49 + .../net/ntnic/nthw/core/include/nthw_tsm.h | 56 + drivers/net/ntnic/nthw/core/nthw_fpga.c | 47 + drivers/net/ntnic/nthw/core/nthw_gmf.c | 133 + drivers/net/ntnic/nthw/core/nthw_rmc.c | 30 + drivers/net/ntnic/nthw/core/nthw_rpf.c | 120 + drivers/net/ntnic/nthw/core/nthw_tsm.c | 167 + drivers/net/ntnic/nthw/flow_api/flow_api.c | 923 ++- drivers/net/ntnic/nthw/flow_api/flow_group.c | 99 + drivers/net/ntnic/nthw/flow_api/flow_hasher.c | 156 + drivers/net/ntnic/nthw/flow_api/flow_hasher.h | 21 + .../net/ntnic/nthw/flow_api/flow_id_table.c | 145 + .../net/ntnic/nthw/flow_api/flow_id_table.h | 26 + drivers/net/ntnic/nthw/flow_api/flow_km.c | 1171 ++++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_cat.c | 457 ++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_flm.c | 723 ++ .../ntnic/nthw/flow_api/hw_mod/hw_mod_hsh.c | 179 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_km.c | 380 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_pdb.c | 144 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_qsl.c | 218 + .../nthw/flow_api/hw_mod/hw_mod_slc_lr.c | 100 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_tpe.c | 853 +++ .../flow_api/profile_inline/flm_age_queue.c | 164 + .../flow_api/profile_inline/flm_age_queue.h | 42 + .../flow_api/profile_inline/flm_evt_queue.c | 293 + .../flow_api/profile_inline/flm_evt_queue.h | 55 + .../flow_api/profile_inline/flm_lrn_queue.c | 70 + .../flow_api/profile_inline/flm_lrn_queue.h | 25 + .../profile_inline/flow_api_hw_db_inline.c | 3000 ++++++++ .../profile_inline/flow_api_hw_db_inline.h | 394 ++ .../profile_inline/flow_api_profile_inline.c | 6082 +++++++++++++++++ .../profile_inline/flow_api_profile_inline.h | 132 + .../flow_api_profile_inline_config.h | 127 + .../ntnic/nthw/flow_filter/flow_nthw_flm.c | 47 +- .../net/ntnic/nthw/model/nthw_fpga_model.c | 12 + .../net/ntnic/nthw/model/nthw_fpga_model.h | 1 + drivers/net/ntnic/nthw/nthw_rac.c | 38 +- drivers/net/ntnic/nthw/nthw_rac.h | 2 +- .../net/ntnic/nthw/ntnic_meter/ntnic_meter.c | 483 ++ drivers/net/ntnic/nthw/rte_pmd_ntnic.h | 43 + drivers/net/ntnic/nthw/stat/nthw_stat.c | 498 ++ .../supported/nthw_fpga_9563_055_049_0000.c | 3317 ++++++--- .../ntnic/nthw/supported/nthw_fpga_mod_defs.h | 11 +- .../nthw/supported/nthw_fpga_mod_str_map.c | 2 + .../ntnic/nthw/supported/nthw_fpga_reg_defs.h | 5 + .../supported/nthw_fpga_reg_defs_mac_rx.h | 29 + .../supported/nthw_fpga_reg_defs_mac_tx.h | 21 + .../nthw/supported/nthw_fpga_reg_defs_rpf.h | 19 + .../nthw/supported/nthw_fpga_reg_defs_sta.h | 48 + .../nthw/supported/nthw_fpga_reg_defs_tsm.h | 205 + drivers/net/ntnic/ntnic_ethdev.c | 813 ++- drivers/net/ntnic/ntnic_filter/ntnic_filter.c | 1348 ++++ drivers/net/ntnic/ntnic_mod_reg.c | 111 + drivers/net/ntnic/ntnic_mod_reg.h | 331 + drivers/net/ntnic/ntnic_xstats/ntnic_xstats.c | 829 +++ drivers/net/ntnic/ntutil/nt_util.h | 12 + 80 files changed, 25744 insertions(+), 1123 deletions(-) create mode 100644 drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c create mode 100644 drivers/net/ntnic/include/common_adapter_defs.h create mode 100644 drivers/net/ntnic/include/create_elements.h create mode 100644 drivers/net/ntnic/nthw/core/include/nthw_gmf.h create mode 100644 drivers/net/ntnic/nthw/core/include/nthw_rpf.h create mode 100644 drivers/net/ntnic/nthw/core/include/nthw_tsm.h create mode 100644 drivers/net/ntnic/nthw/core/nthw_gmf.c create mode 100644 drivers/net/ntnic/nthw/core/nthw_rpf.c create mode 100644 drivers/net/ntnic/nthw/core/nthw_tsm.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_group.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_hasher.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_hasher.h create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_id_table.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_id_table.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_age_queue.c create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_age_queue.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_evt_queue.c create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_evt_queue.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_lrn_queue.c create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flm_lrn_queue.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_hw_db_inline.c create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_hw_db_inline.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.c create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.h create mode 100644 drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline_config.h create mode 100644 drivers/net/ntnic/nthw/ntnic_meter/ntnic_meter.c create mode 100644 drivers/net/ntnic/nthw/rte_pmd_ntnic.h create mode 100644 drivers/net/ntnic/nthw/stat/nthw_stat.c create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_rx.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_tx.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rpf.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sta.h create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_tsm.h create mode 100644 drivers/net/ntnic/ntnic_filter/ntnic_filter.c create mode 100644 drivers/net/ntnic/ntnic_xstats/ntnic_xstats.c -- 2.45.0