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 31D0F45AAF; Fri, 4 Oct 2024 17:13:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F9B442E6A; Fri, 4 Oct 2024 17:08:58 +0200 (CEST) Received: from egress-ip11b.ess.de.barracuda.com (egress-ip11b.ess.de.barracuda.com [18.185.115.215]) by mails.dpdk.org (Postfix) with ESMTP id 082EE427D9 for ; Fri, 4 Oct 2024 17:08:34 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03lp2173.outbound.protection.outlook.com [104.47.51.173]) by mx-outbound22-159.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 04 Oct 2024 15:08:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PF5H7I9PmdHUNNvLrvFczML0xUXHxQr1Lp8LyUkvw+nT5JP2GmrFfuiFErAFk9ovpAxRfpfi16WUUAwvAm2tnY93zPbLl/rJvvdDeaxvNCWFzsH3Zr0692/rlyHidf/mJ+be7/gtLenOdWNfJX69DL1o5d8XySYg9pYBjiKUxcdzWAGYkgKIWY7nn+0K4lMLkvHYkLXqwn9vwWo6HiBCChcZ8cHj0lzbXSnDU31bKsbU9o9hwc15z271bxpwXs3yj/o+QtDiFQvmskrKeUNi9utO/DlxbAVgwPgsdRWeqxMA9z33CZmg2EbLgkQRwHlwdjYouKlLAhM29MznS6Kedw== 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=kpkEDhQU2LdHP56dtRPkFAIbkr9pVkJisEhK4DC0isI=; b=Tcu+UvFsmpDZ8/Q3mr2LKb9ffPSr1aiY8a139TwcDtTQMdK3OEaz7jWRv3GE3UBY11Nrf/9w6JK6x7PBizpKEIY31uROz6Q/hTs50HlACw3mfarQerZLbmBNWmcYpzM1ef6+tNO/3NQTgkiOLo5NY22eKE0w+AUh2zUo7a1E9ncqt+mjCRnFoZI0J1SoLRW/nWL6SNp3od/6WHb3RR3AaDgRYmad9y50NrzVL617+GiiYxel+fNmB7tnUFIc+KGN3Q9/QMlLncytB/v6HQ4fULLRh07Rw6F+OKvQNAtt/Awq6QRWoS1TrrbW7pwJg39AbeFMr0iLHga4jzVAnDAE7w== 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=kpkEDhQU2LdHP56dtRPkFAIbkr9pVkJisEhK4DC0isI=; b=Ux46v2NFKx9fSwD2C0TW2qgokq80naiQTLWbwcfyB/9TnZs1sof3Vawpcl6qyluRdYGNTJz3gT+TFdSD/7oPXq2aFZvtS4GWgQ2D8AyBU+HTfGPkfxdljf3rXRqXZK4OuKTAo4+ByNshlTODgPXspkWk77PDYVYchHr/+gxnOIM= Received: from AM0PR02CA0026.eurprd02.prod.outlook.com (2603:10a6:208:3e::39) by PA4P190MB1293.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:107::19) 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:08:31 +0000 Received: from AMS0EPF000001AC.eurprd05.prod.outlook.com (2603:10a6:208:3e:cafe::8f) by AM0PR02CA0026.outlook.office365.com (2603:10a6:208:3e::39) 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:08:31 +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 AMS0EPF000001AC.mail.protection.outlook.com (10.167.16.152) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 4 Oct 2024 15:08:31 +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/14] Enable virtual queues Date: Fri, 4 Oct 2024 17:07:25 +0200 Message-ID: <20241004150749.261020-39-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20241004150749.261020-1-sil-plv@napatech.com> References: <20241004150749.261020-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF000001AC:EE_|PA4P190MB1293:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 694127f5-e636-4b29-7a5e-08dce48668fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|36860700013|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?L3jS2ZoRJaMrndlTGHXUN3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sig?= =?us-ascii?Q?lTjZCuMbVGfahQ8fbX3WCTPhf+mGqZ0/k5KqKpDthuVwnCOH1EGy2Qrv3hIe?= =?us-ascii?Q?OCWxc82LXNvObHw/EMGU2KWF/5VjQ+OYQ/z1//FVJVf7v54MFI72EodWkIVO?= =?us-ascii?Q?ns465R2/Tk8TK76rJkwa7+SFkqhiaRPsrAwxgmfL/LfC6Y8d9uGvtPjkDOON?= =?us-ascii?Q?6ro1rghk1t0mMJhxkA1YZtHziherfWeWt5SxEqlLIVafhZcOXH/NsROXPqj5?= =?us-ascii?Q?0RpJxwM77hEk2LUEdj8SDpddse/do7wpVy3NVYmR7OL0XLq0VhcPxCrzXaph?= =?us-ascii?Q?egnQ7NIdzwoMyIiHafFZSQdQCPIYGaBjvs59jRYw6fTYvtu4devODqC1IAw5?= =?us-ascii?Q?iVZ2qdxsqGyX+f0ezwL9uOZTPeC6YxdeRxm2Y2m/GayMP9Vmbv4J4QElScyO?= =?us-ascii?Q?DhQslUGsWaRfmPuUfuYiCkAg+XYBLsNTKbgYLvhHUQDC6jCiDAjCQ+vi6c5q?= =?us-ascii?Q?xi+x0obJfvFPh/sxChC3OI7Ap9AD?= 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)(82310400026)(36860700013)(376014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: pf5vD/m6+kSUFmR7pY3fP2VOZ77YyypO+xW5ZK2bvsEXeUwShzqaC7kl07jXEF+NwqbSA5H6ePLKR72jwvDJoFNmduWhqjRZVKrB3J7jTbLBPD+5VxP18RT4HtqOEqhy9ulMMivNA2BRYN/WgELBt85v3SWnENqC7Wok9ijQrMAwNwTPFxT/G76aBKn8066v5pzv4f9tWHt8EePPYmnX3vrD1pxvu5d9n6DH4oFtaBCoh13z61y1CkuFUKc8DR4IO+og0fW8mQ+eFNrS6pecQ0pUBNWfzJDak/S6E+VkJEaZdA3BLZMwMua6Eurgzw8tQhmEP1DMQGiThCeqSWbSZrNVXtIGvcatAlkYC2piz/1lhCT242IUsaMbGGIsB34rYuDIvDZfwbtzfBH7mtPlAP4G1KfJ370StzjdisNKjnLl5fV4SfWydTWEsPVzhYby9OaG46YSGL3nxGfGd2g82vosx4p0rzuMUQAxW/ODXfsJ94sa4/UgEiodVpNTqnBHvqQsUAEzquZIVr5YpST9SgQI3QShc3cZRGCnO3guRFHthqNZSMssIJsPUNumSgNwjm+JEGZChCLadEfojFiqy/NWlK+p90QwjQMmpdbzDXoWCJ4Ww7+lfP2zZkRXUUcLJeGlcpjRRAzG/SBQbzlOpw== X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2024 15:08:31.6267 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 694127f5-e636-4b29-7a5e-08dce48668fb 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: AMS0EPF000001AC.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4P190MB1293 X-BESS-ID: 1728054513-305791-12645-33564-1 X-BESS-VER: 2019.1_20240924.1654 X-BESS-Apparent-Source-IP: 104.47.51.173 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVkZGRqZAVgZQMMk41TjV0MTQLM 3QMs0y0SQtLdnSMNEwJdnSxMDU0MxIqTYWAEvSWnVBAAAA 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 (13): 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 Serhii Iliushyk (1): net/ntnic: update FPGA registeris related to DBS doc/guides/nics/features/ntnic.ini | 1 + doc/guides/nics/ntnic.rst | 44 + drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c | 1428 +++++++++++++++++ drivers/net/ntnic/include/ntnic_dbs.h | 313 ++++ drivers/net/ntnic/include/ntnic_virt_queue.h | 146 ++ drivers/net/ntnic/include/ntos_drv.h | 70 + drivers/net/ntnic/meson.build | 2 + drivers/net/ntnic/nthw/dbs/nthw_dbs.c | 1157 +++++++++++++ drivers/net/ntnic/nthw/nthw_drv.h | 3 + .../supported/nthw_fpga_9563_055_049_0000.c | 184 ++- .../ntnic/nthw/supported/nthw_fpga_mod_defs.h | 1 + .../ntnic/nthw/supported/nthw_fpga_reg_defs.h | 1 + .../nthw/supported/nthw_fpga_reg_defs_dbs.h | 144 ++ drivers/net/ntnic/ntnic_ethdev.c | 1063 ++++++++++++ drivers/net/ntnic/ntnic_mod_reg.c | 14 + drivers/net/ntnic/ntnic_mod_reg.h | 95 ++ drivers/net/ntnic/ntutil/nt_util.c | 10 + drivers/net/ntnic/ntutil/nt_util.h | 2 + 18 files changed, 4677 insertions(+), 1 deletion(-) create mode 100644 drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c create mode 100644 drivers/net/ntnic/include/ntnic_dbs.h create mode 100644 drivers/net/ntnic/include/ntnic_virt_queue.h create mode 100644 drivers/net/ntnic/nthw/dbs/nthw_dbs.c create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_dbs.h -- 2.45.0