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 0E3C94410E; Thu, 30 May 2024 13:15:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A9E6410FD; Thu, 30 May 2024 13:14:49 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 9040340E6E for ; Thu, 30 May 2024 13:14:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717067682; x=1748603682; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yNtyhPlqaKQpxLROs19p+u0RRVqEx/1Vo+G7SwqKUGc=; b=IQFv6msze3tQ1gyHZM4wiUCJGhmQRGwePy9KPHTcaEFCyiXMd46i4WVH rxD93jAOrblC+2auyh4rKGmY6llSm/i1qHkIEAQCnBDr/LiM4qE128rvB znreiYK8j4ujMaZtUul3nYqxmpFYwC4nyH46TBDXe7YDOliLGeLUm3oB4 gaDRShkUDz7GT/FGC7Xybv+1GNKuBiK2ppINw0Za1uRDDxP22A54B2hLe 8mioUaql5G+x9prF/kHxHaunA4cqJPF9Ooq/RuAyMSM6ITgDCobk/hDXn mz1MR8EcoEtm+e8iwatVKGgoc+vNKJb7BoN83ZNyWhyGHAFo1cUspPKQp g==; X-CSE-ConnectionGUID: 8nkjYrGcQv21DmqzQy8gsg== X-CSE-MsgGUID: fS8MMqryQoOaIRiA1LNkkw== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="36063715" X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36063715" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2024 04:14:41 -0700 X-CSE-ConnectionGUID: KMpRrptSTniSWKmK8nvTIQ== X-CSE-MsgGUID: PWY6R/PSRv2BAyY+l2IilA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36419378" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa007.jf.intel.com with ESMTP; 30 May 2024 04:14:38 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Radoslaw Tyl , vladimir.medvedkin@intel.com, bruce.richardson@intel.com, Skajewski@dpdk.org, PiotrX , Mrozowicz@dpdk.org, SlawomirX , Michael@dpdk.org, Alice Subject: [PATCH v3 09/30] net/ixgbe/base: add fw_rst_cnt field to ixgbe_hw struct Date: Thu, 30 May 2024 12:13:42 +0100 Message-ID: <24edc5774273e996aab77b537a027431422ba2f7.1717067519.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 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: Radoslaw Tyl Add fw_rst_cnt to store the number of resets after fw update. This value is required to detect if the EICR.MNG event occurred after firmware update reset. Signed-off-by: Radoslaw Tyl Reviewed-by: Skajewski, PiotrX Reviewed-by: Mrozowicz, SlawomirX Reviewed-by: Michael, Alice --- drivers/net/ixgbe/base/ixgbe_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 10164e274c..51b9ef274b 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -4164,6 +4164,7 @@ struct ixgbe_hw { bool allow_unsupported_sfp; bool wol_enabled; bool need_crosstalk_fix; + u32 fw_rst_cnt; }; #define ixgbe_call_func(hw, func, params, error) \ -- 2.43.0