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 7568C454EF; Tue, 25 Jun 2024 13:20:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EBB942EF4; Tue, 25 Jun 2024 13:16:41 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id AF08342E4C for ; Tue, 25 Jun 2024 13:16:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719314161; x=1750850161; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/UejcTzQI1Yq8j0e6KxaFmmdPEV/dt16MlYUdANxH08=; b=SgoaXYOGrUl6ttAzg8W31YZ+qaoFs+rEFRYccmr5W/7RD3DJukvop1BR YLbJk5WuzcX5RFwttZxpVldoVtxEKa6NoiKWkOMldPL/KJF2qEi4kSPlO lyoEQptHl8EFgap48loEGyWPyiADtQkHPGesLgpY/VZCD4AZ06Ym6jb6p AiOsJyUG7D3ae0a1gdRQdmSRSrlGh8EsI306xN/u50Gb7U2CRPqvO7AOS Vlf5YpPrSOs9J7WWekv6A10vm++ovsM2ozh05KtqQBSVyPHNViaSE6f5I z4jeMm52NHV2g0sTUIPOUSRkvY9lYaqBR56dfkT1NbZMPYW3JOj+pwBaa w==; X-CSE-ConnectionGUID: RqwAPsZfSgyGt86qZFEzwQ== X-CSE-MsgGUID: /vC4jrWWQYqi9VQH2Bm1Tg== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16080174" X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="16080174" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2024 04:16:00 -0700 X-CSE-ConnectionGUID: arFuZtMcT66NRUsXQUFP6w== X-CSE-MsgGUID: ZjlQ8L3wR6q8V0AAKLVYKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="43719141" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 25 Jun 2024 04:16:00 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Prathisna Padmasanan , bruce.richardson@intel.com, ian.stokes@intel.com Subject: [PATCH v3 037/129] net/ice/base: added informational message for NAC topology Date: Tue, 25 Jun 2024 12:12:42 +0100 Message-ID: <8b7b9dd833169e56f289fa9627fa365a91f183b4.1719313663.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: Prathisna Padmasanan Signed-off-by: Prathisna Padmasanan Signed-off-by: Ian Stokes --- drivers/net/ice/base/ice_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index ff98919e40..61cf6da3ad 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -2882,6 +2882,10 @@ ice_parse_nac_topo_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, dev_p->nac_topo.mode = LE32_TO_CPU(cap->number); dev_p->nac_topo.id = LE32_TO_CPU(cap->phys_id) & ICE_NAC_TOPO_ID_M; + ice_info(hw, "PF is configured in %s mode with IP instance ID %d\n", + (dev_p->nac_topo.mode & ICE_NAC_TOPO_PRIMARY_M) ? + "primary" : "secondary", dev_p->nac_topo.id); + ice_debug(hw, ICE_DBG_INIT, "dev caps: nac topology is_primary = %d\n", !!(dev_p->nac_topo.mode & ICE_NAC_TOPO_PRIMARY_M)); ice_debug(hw, ICE_DBG_INIT, "dev caps: nac topology is_dual = %d\n", -- 2.43.0