From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7D8CFA00BE; Fri, 12 Jun 2020 05:48:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F14901BF31; Fri, 12 Jun 2020 05:46:34 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3B33E1BEDD for ; Fri, 12 Jun 2020 05:46:31 +0200 (CEST) IronPort-SDR: Cz3Fo3B+89CeiLwXbWZUMUKoH3w/sbjet6Bu5/evx8/llZrJk9zfQlZAS1ZHUKVEfU41+L0o39 M6g9n8hQyocA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 20:46:30 -0700 IronPort-SDR: WQ8vGOHkk3VJd+tHqRMvfsKuil0vvANL3GV2Ilydpp6adwvRhLqA3sA5gFwOoYBVbp0XYAAUPP BmUcTrV9y2uA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,501,1583222400"; d="scan'208";a="289759579" Received: from intel.sh.intel.com ([10.239.255.18]) by orsmga002.jf.intel.com with ESMTP; 11 Jun 2020 20:46:29 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Guinan Sun , Jacek Naczyk Date: Fri, 12 Jun 2020 03:24:03 +0000 Message-Id: <20200612032410.20864-15-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200612032410.20864-1-guinanx.sun@intel.com> References: <20200612032410.20864-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH 14/21] net/ixgbe/base: add defines for min rollback revision fields X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add defines for Minimum Rollback Revision fields as defined in SGVL. Signed-off-by: Jacek Naczyk Signed-off-by: Guinan Sun --- drivers/net/ixgbe/base/ixgbe_type.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 9838e0643..cb5f62645 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -2350,6 +2350,17 @@ enum { #define IXGBE_ALT_MAC_ADDR_PTR 0x37 #define IXGBE_FREE_SPACE_PTR 0X3E +#if defined(PREBOOT_SUPPORT) || defined(QV_RELEASE) +/* Minimum Rollback Revision offsets */ +#define IXGBE_MINRREV_PHY_ANALOG_LO 0x46 +#define IXGBE_MINRREV_PHY_ANALOG_HI 0x47 +#define IXGBE_MINRREV_OROM_LO 0x48 +#define IXGBE_MINRREV_OROM_HI 0x49 +#define IXGBE_MINRREV_FW_LO 0x4A +#define IXGBE_MINRREV_FW_HI 0x4B +#endif /* PREBOOT_SUPPORT || QV_RELEASE*/ + + /* External Thermal Sensor Config */ #define IXGBE_ETS_CFG 0x26 #define IXGBE_ETS_LTHRES_DELTA_MASK 0x07C0 -- 2.17.1