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 14C6046084; Tue, 14 Jan 2025 11:14:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F8EB40652; Tue, 14 Jan 2025 11:13:59 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id 3360D402ED for ; Tue, 14 Jan 2025 11:13:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736849638; x=1768385638; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yW6M3ck3BuHyRQrEkOTy2Y/ttNavOCTkpbwpO5dx1oU=; b=I7dSsSTZ/q3r8NRademV9YWtrEKUwU/pheKuQoraClAYdnsHQO6TuQJ9 JJIAMD11xHGl/zm1mTuPnBejLkzsndkt2DkFSH9PhCTvJiPqCY0wgAPYp TRv0H8vwMFKlrk05wZzN4CuyKjqS/L0aENb4GnRrOmwSDs194aZs7jJCT idHnifH+Ieqes2IXXSiXIKoKNJNj5HtWmU8wsXnFHD7nbCcHC0RujNSU8 GDHyKNAvZV2D/QzNSygVg42RYIBh2B8JT08fPOaKjxkiftU8dNgvXtV4L eR/u3Y8rIW++b5WrsL5Dx8PRGGfJ74r3h6WJfY5knsQlMkhXuz0WuLf// Q==; X-CSE-ConnectionGUID: zU7DCQBgRXONvb/4gWwgWQ== X-CSE-MsgGUID: Bb5ZdPiDTp2GDiS+H4tpSA== X-IronPort-AV: E=McAfee;i="6700,10204,11314"; a="36426799" X-IronPort-AV: E=Sophos;i="6.12,314,1728975600"; d="scan'208";a="36426799" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2025 02:13:58 -0800 X-CSE-ConnectionGUID: xZZ0Uv9QSoiWXZ2EPGHPiw== X-CSE-MsgGUID: 6YAmWdWsSAygfMz3rg9zUw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="128007372" Received: from unknown (HELO localhost.localdomain) ([10.239.252.210]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2025 02:13:55 -0800 From: Yuan Wang To: dev@dpdk.org Cc: anatoly.burakov@intel.com, vladimir.medvedkin@intel.com, Dawid Zielinski , Yuan Wang Subject: [PATCH 06/10] net/ixgbe/base: Add capability for OROM recovery update Date: Tue, 14 Jan 2025 18:10:16 +0800 Message-ID: <20250114101024.159941-7-yuanx.wang@intel.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20250114101024.159941-1-yuanx.wang@intel.com> References: <20250114101024.159941-1-yuanx.wang@intel.com> 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: Dawid Zielinski Added new capability informing about OROM recovery update. Signed-off-by: Dawid Zielinski Signed-off-by: Yuan Wang --- drivers/net/ixgbe/base/ixgbe_e610.c | 3 +++ drivers/net/ixgbe/base/ixgbe_type_e610.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_e610.c b/drivers/net/ixgbe/base/ixgbe_e610.c index 5124b18f59..802dfb5062 100644 --- a/drivers/net/ixgbe/base/ixgbe_e610.c +++ b/drivers/net/ixgbe/base/ixgbe_e610.c @@ -741,6 +741,9 @@ ixgbe_parse_common_caps(struct ixgbe_hw *hw, struct ixgbe_hw_common_caps *caps, (phys_id & IXGBE_EXT_TOPO_DEV_IMG_PROG_EN) != 0; break; } + case IXGBE_ACI_CAPS_OROM_RECOVERY_UPDATE: + caps->orom_recovery_update = (number == 1); + break; case IXGBE_ACI_CAPS_NEXT_CLUSTER_ID: caps->next_cluster_id_support = (number == 1); diff --git a/drivers/net/ixgbe/base/ixgbe_type_e610.h b/drivers/net/ixgbe/base/ixgbe_type_e610.h index f367ef8a41..e804172252 100644 --- a/drivers/net/ixgbe/base/ixgbe_type_e610.h +++ b/drivers/net/ixgbe/base/ixgbe_type_e610.h @@ -700,6 +700,7 @@ struct ixgbe_aci_cmd_list_caps_elem { #define IXGBE_ACI_CAPS_EXT_TOPO_DEV_IMG1 0x0082 #define IXGBE_ACI_CAPS_EXT_TOPO_DEV_IMG2 0x0083 #define IXGBE_ACI_CAPS_EXT_TOPO_DEV_IMG3 0x0084 +#define IXGBE_ACI_CAPS_OROM_RECOVERY_UPDATE 0x0090 #define IXGBE_ACI_CAPS_NEXT_CLUSTER_ID 0x0096 #define IXGBE_ACI_CAPS_PTP_BY_PHY 0x0097 u8 major_ver; @@ -2087,6 +2088,8 @@ struct ixgbe_hw_common_caps { #define IXGBE_EXT_TOPO_DEV_IMG_LOAD_EN BIT(0) bool ext_topo_dev_img_prog_en[IXGBE_EXT_TOPO_DEV_IMG_COUNT]; #define IXGBE_EXT_TOPO_DEV_IMG_PROG_EN BIT(1) + /* Support for OROM update in Recovery Mode. */ + bool orom_recovery_update; bool next_cluster_id_support; bool ptp_by_phy_support; }; -- 2.43.5