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 47127460D6; Tue, 21 Jan 2025 18:11:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CC11406B6; Tue, 21 Jan 2025 18:09:00 +0100 (CET) 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 1D4714069D for ; Tue, 21 Jan 2025 18:08:43 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2104.outbound.protection.outlook.com [104.47.17.104]) by mx-outbound11-0.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2025 17:08:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EPeyNnhl999KuRIR800rDeXvtZ+2gyQ27BRRuHREyWHJW5GnIDAd+ZRpye6eCsIogZD8qutd6GzwpHcjL5THmwswokRBdyik+r2c4mYFj7JRC7vup68npmV6hQqcrOIlPlzMbyQokXEDBrf60PoqJjKmJBhLIKfxvCivU+ICvd7xMRAQY+hRCIjij8Z2SFovuQXXL7hZnoMU3iggUv7RiUPvEAA2VIdzs7Bafnz9S731bwpi61fhwS35e156ba6Ooc6euIYKpL2PtJQyWBrEXUJuOFmDhlgkgrhUeum4AxpkcOHS2f6mnjrWfLLdvGx3wkh1sLbVWYnNB6NM2qHQlw== 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=FYyL9R9sPGygpa/NxvqSe6oWl71KcHilqvSMrjye0rg=; b=NjVsNO0wpFq/+YwWvz3QphCA1aK+KqNbW4zZVCZqPqt1ELun4ocQKYYvktUrbjmhviybEUzGH2t3xJzMaCzU1dfaQ9s6S1mTOug8nKTlvSF3VHeFYVQAMw1CNXyayNAMtOdsmMWeAo1K9hvhilC7lSfJZrDFsvMd0d/1C8f/2mlUnIxlCV0xGkrHCWyFfczl+RlzWEy8PCAem789xPvF76j06cbJmT9fTXaZZaZh9hJlCAtsk9/uS1Jgdd9neUhlSzHiavdkUaIiwTe0VbZ9CEcqZuvr3fRhTjEOQwCg61TGRP6cjtAKPf1UIvjajz9GO6//I2duEasX1JVQ2KqbIw== 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=FYyL9R9sPGygpa/NxvqSe6oWl71KcHilqvSMrjye0rg=; b=QwHIJsv/2JAWN2YMPCIlOIHUPNNISB5GOv6hFYEVhZgU7h2xdbph0nW6titobp5WW6SJZGEpnLygids82iJnW75GD5Xp758jVyU8fZlfQAuLt+vCOVcuksE8H/4SIodPkloJVSdVGBHLYZf7yDMR0lhH0NaMpgsMT94FhRW/Qh4= Received: from AS4P251CA0021.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d3::11) by VI1P190MB0798.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:122::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.22; Tue, 21 Jan 2025 17:08:39 +0000 Received: from AM2PEPF0001C70A.eurprd05.prod.outlook.com (2603:10a6:20b:5d3:cafe::dd) by AS4P251CA0021.outlook.office365.com (2603:10a6:20b:5d3::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8356.20 via Frontend Transport; Tue, 21 Jan 2025 17:08:39 +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 AM2PEPF0001C70A.mail.protection.outlook.com (10.167.16.198) with Microsoft SMTP Server id 15.20.8377.8 via Frontend Transport; Tue, 21 Jan 2025 17:08:39 +0000 From: Serhii Iliushyk To: dev@dpdk.org Cc: mko-plv@napatech.com, sil-plv@napatech.com, ckm@napatech.com, stephen@networkplumber.org, Danylo Vodopianov Subject: [PATCH v1 24/31] net/ntnic: remove unused code Date: Tue, 21 Jan 2025 18:08:02 +0100 Message-ID: <20250121170814.3252171-25-sil-plv@napatech.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20250121170814.3252171-1-sil-plv@napatech.com> References: <20250121170814.3252171-1-sil-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM2PEPF0001C70A:EE_|VI1P190MB0798:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 1d29182b-5aaa-4285-c4fb-08dd3a3e4032 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?+h0DgHk4gkvzj7NS4M5xIzxVdudyTmyvx+4Dsm3E6mAY08NH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OjfxnLHpyhe33CXTP7TA3Kt0bJv4T8FmpHs2KW1BTb8h?= =?us-ascii?Q?p7Qia8VG37aeOZVgrvIOAlWVoNE7mhoBPO5aEeuIRyxKZldXuwpmKPkw3+n4?= =?us-ascii?Q?pDN5eu7SDyZuKHR78xe3JeKnwUFbpezxaFlndX03V7nzLic21cakj/RNfzMh?= =?us-ascii?Q?8hNiQexm9QcRY1wXO+c55Kr2wewaXpEyVLDkV0LWRLdsarhNHBL8DlSfhP8U?= =?us-ascii?Q?4vqGDk+W+3vSU2+J4ymCFOBtT/mOxWqgF476wtZoK2b3+Bb8CSefd6FEtSrM?= =?us-ascii?Q?5WGlYesntn7hftU1JI8WGAbHZ7f8e3lMoWuCEBfE3wivQfacwFprqQri71ZA?= =?us-ascii?Q?b0To/XDwUlCg2W2ZiYzVnTeApagWXDN5t8o4n6CMnHQsoPHa6s7ZKx0Tblsc?= =?us-ascii?Q?teySB8sxPBcO0M4rAcbuZuf1XGgrZjPyeSzBHx0ZJ+WYlgiAOoUN5zvcXEiW?= =?us-ascii?Q?ld0teeQUsOL9WwYweQLYYn/yDzKi68aCmGbVdLqplEpvUp47guGK7TKjZxLc?= =?us-ascii?Q?uogsMnS+x1B3ZHX/B8RqPFQAVKWQOro/79hWI/OVZuJv6ADcmjPZosXX0621?= =?us-ascii?Q?MudZE81aWZT5ni8=3D?= 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)(376014)(1800799024)(82310400026); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ENd5S0I+tdbJO6h0S55V7jzdYpA/tQQNOmA5qu2x992kvmxhRyo0sJdG11gMfJWqhZDTJ34Keazt/sk8aJ8xhOxXe3nKzDBko55krz5rRIhL9Q6Z5/f0NcIzO60rq/oyle7o23mX+6eE9qADmgxWmHssMem+R/3K/CNBjnkkM5Eam3JL9eVnuOY3+wNAUtXrjiqmxxNcfcgEE6TPnfjKSqqDcd84GvxXNhbycrFt5qnQctCUp6D0PnQgMDWlVRoWkDznDS5vVPeJGRAZVQdYdSOHtGItg6xWUdUiVUKtxs3G7bj4MXo57FRbbndWr373E4LRwlhKvFGq7IAXFm5UDOlilAfITZm2QvULOKBIJ+1p3KB0bQnXZlftWsuvrCIPxRWGKRVIVbiUeE0rfEvi+wGuoCDIbYO2g3M5yZA3nl8ejbwXP5H78iako2czB9uai7g1sIcmHf2uELd700nCWudDkOL6Zo0sBIEaiRxkVl/BHVzdN7VydFK0dsfE8YI+r2UogooUx7qEaaWHuG3nPVZiks3u4DIw4Er24pgatB5P2aP+CdZFmpRQPu0OKi180kGq98ZVz1EmcRhQbAPuCW2yjEANuMD4gtG4lvfyGnTjSDLZvKsP4F7xk93u0ue8DvCsFvhVlNt/i0gRGKngEA== X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2025 17:08:39.4680 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d29182b-5aaa-4285-c4fb-08dd3a3e4032 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: AM2PEPF0001C70A.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P190MB0798 X-BESS-ID: 1737479322-302816-13348-7968-1 X-BESS-VER: 2019.1_20250117.1903 X-BESS-Apparent-Source-IP: 104.47.17.104 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoYGJgZAVgZQ0NQkOSXFwtjS0M IsydLAPM0kyTjZMtEsJc0ozdjCMslcqTYWAJIM21lBAAAA X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.261957 [from cloudscan9-151.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 From: Danylo Vodopianov NTNIC currently cupport only 100G link. Signed-off-by: Danylo Vodopianov --- drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c b/drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c index 8fedfdcd04..2add43639a 100644 --- a/drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c +++ b/drivers/net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c @@ -215,16 +215,7 @@ static int nt4ga_stat_setup(struct adapter_info_s *p_adapter_info) return -1; } -#ifdef NIM_TRIGGER - uint64_t max_bps_speed = nt_get_max_link_speed(p_adapter_info->nt4ga_link.speed_capa); - - if (max_bps_speed == 0) - max_bps_speed = DEFAULT_MAX_BPS_SPEED; - -#else uint64_t max_bps_speed = DEFAULT_MAX_BPS_SPEED; - NT_LOG(ERR, NTNIC, "NIM module not included"); -#endif for (int p = 0; p < NUM_ADAPTER_PORTS_MAX; p++) { p_nt4ga_stat->mp_port_load[p].rx_bps_max = max_bps_speed; -- 2.45.0