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 DFFB445500; Wed, 26 Jun 2024 13:56:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D114E432F8; Wed, 26 Jun 2024 13:55:13 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id C6B0742E95 for ; Wed, 26 Jun 2024 13:43:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719402209; x=1750938209; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/UejcTzQI1Yq8j0e6KxaFmmdPEV/dt16MlYUdANxH08=; b=MyEnjiAYJeRNt7tCrtIv4kaAsPOjnxjBwXTol1jdSe8gF8BuvFkqInjw kLZL0IlvjBxK7QRl5za8dk24y7KskvIOVvqf3sL3XUBCn5f1mWrQwuG6g J17S4YaEDREmwL/ycokyE6wPnSBhPzGa9AHP85uOiXoyxq2XVDFmkvzx0 +zns1bSMnp6+ITj0UPY/E1ajf3G3E6iV/o51CV5HDNOzFDkdnx8b12O7n jUalhUjFGnr0ScWzDwVGrGAu9NW1SPdLj2qtjqlbQORpOR+M6dYAYOGSN 7JHe0BGkDNMT/qV3WQIKV6QRmPB/jq//3L/ql1PmtPKQu0lSIZaXoMUMx w==; X-CSE-ConnectionGUID: P1XBuBUZR8Wqs0W5u9skTQ== X-CSE-MsgGUID: +NnMQJ9vQxGAYySZBYUTuw== X-IronPort-AV: E=McAfee;i="6700,10204,11114"; a="38979326" X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="38979326" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2024 04:43:28 -0700 X-CSE-ConnectionGUID: T6Ysk2INQqCdQ87y4a2mQw== X-CSE-MsgGUID: VawI3ek/RbaTyrzM1isSHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="43873530" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa010.jf.intel.com with ESMTP; 26 Jun 2024 04:43:27 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Prathisna Padmasanan , ian.stokes@intel.com, bruce.richardson@intel.com Subject: [PATCH v4 017/103] net/ice/base: added informational message for NAC topology Date: Wed, 26 Jun 2024 12:41:05 +0100 Message-ID: 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