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 741A545895; Thu, 29 Aug 2024 11:01:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7207F42DD3; Thu, 29 Aug 2024 11:00:46 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mails.dpdk.org (Postfix) with ESMTP id 7DAF442DC5 for ; Thu, 29 Aug 2024 11:00:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724922043; x=1756458043; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=O+B52c29c/0Wbs1ZRuRLN8W+VhcgbYxC1Kj0JKBclB4=; b=YXhHoqwnrUR9YY1WoHy86afY4eN2uylNEGj1AFPrDsKjQwtfojta9r8n lMucnSKH+/6N9pWtrH7QcGRtYBVsast+NmUp4wDXG+SVRlV13hF3o3gcI tKfKPVsQHmatiLyMHrMnvccopotE2WoQlQBRnRjnSfj9tXR2GS262Aa6v s0KlWgmCYmS7fADep3zMys/BJZuLbSVSNVfqNRHfPW6q0i82fUbaMqVYG 3r3Pr50xzRy0ZBUK0mJwuiPSnGsEuTXPJ8M1hyuXTMwjs5S0uliJAm33s ZJbI67Td36HTsmNgt2WnWt85QK5AAFeP1CPW5DDqgQ68xyKi1KIspr6h4 g==; X-CSE-ConnectionGUID: Q44uLuf9QsCOwAJM8mrfTA== X-CSE-MsgGUID: e676anVbTcqTbum01Nj6ow== X-IronPort-AV: E=McAfee;i="6700,10204,11178"; a="23663493" X-IronPort-AV: E=Sophos;i="6.10,185,1719903600"; d="scan'208";a="23663493" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2024 02:00:40 -0700 X-CSE-ConnectionGUID: OBZvfRmbRp6JKLnfsZmhYw== X-CSE-MsgGUID: Ieq2XJB+RsitVLzfcgAQfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,185,1719903600"; d="scan'208";a="64202955" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa008.jf.intel.com with ESMTP; 29 Aug 2024 02:00:38 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: RemigiuszX Konca Subject: [PATCH v1 12/15] net/ixgbe/base: disable thermal sensor ops for E610 Date: Thu, 29 Aug 2024 10:00:17 +0100 Message-ID: <2f13c2a84dcd146b9745d5f3da7638244b7dd48a.1724921977.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Andrzej Wilczynski According to data sheet, E610 doesn't expose current reading from thermal sensors. Currently, E610 sensor ops are the same as for X540, which will include the unsupported op. This patch disables those ops for E610 to avoid attempts to read those sensors. Signed-off-by: Andrzej Wilczynski Co-authored-by: RemigiuszX Konca Signed-off-by: Anatoly Burakov --- drivers/net/ixgbe/base/ixgbe_e610.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_e610.c b/drivers/net/ixgbe/base/ixgbe_e610.c index 7ea495db97..ab02b11d6a 100644 --- a/drivers/net/ixgbe/base/ixgbe_e610.c +++ b/drivers/net/ixgbe/base/ixgbe_e610.c @@ -3431,6 +3431,8 @@ s32 ixgbe_init_ops_E610(struct ixgbe_hw *hw) mac->ops.get_fw_tsam_mode = ixgbe_get_fw_tsam_mode_E610; mac->ops.get_fw_version = ixgbe_aci_get_fw_ver; mac->ops.get_nvm_version = ixgbe_get_active_nvm_ver; + mac->ops.get_thermal_sensor_data = NULL; + mac->ops.init_thermal_sensor_thresh = NULL; /* PHY */ phy->ops.init = ixgbe_init_phy_ops_E610; -- 2.43.5