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 0ED5C45501; Wed, 26 Jun 2024 14:00:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60E01433EF; Wed, 26 Jun 2024 13:55:58 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 0862B42E95; Wed, 26 Jun 2024 13:44:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719402265; x=1750938265; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lrDv2laTWufX7GcdhpfS4QvDmg+GQF+/Ei6LeuFMuEI=; b=hl3/eMmf6c+IYi0HFHWQY7G9FT1cQ/JnaGNdrmjc42BVLQTd03nADMnP wqoAavSyjr7eofwCkmstxvY3bDMUccRmFoHBRHDrTFWcrP64uI+mniJjB +At+T16Dq2CPHA8duVGSIBcPbimw7xfC/NPZ09dmrdxQQIbFWmLkrNYB1 90Ye3sNFG1lELuf1Tx53nCbnoHQx0j12YyenDV8GTWggDhIOssxA9MEBw 7eWGG+6t56lJoPHwjASGIakpZtzq+kSWVHNXI1wmnIO4nSdKQP/saDuE7 yNUTk5awI8+YPzvafnz+4B296+IoaHE85E71h0gXGA9b9XVGmQd++wsP4 w==; X-CSE-ConnectionGUID: b/9DEz0MQNOiNrkVC7K7pw== X-CSE-MsgGUID: XebDO3eyRGeR2eYbDUlFpg== X-IronPort-AV: E=McAfee;i="6700,10204,11114"; a="38979432" X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="38979432" 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:44:24 -0700 X-CSE-ConnectionGUID: WSQ0A7n0SlGNSmWjtYROug== X-CSE-MsgGUID: 6Is7fjn5RcS5dWsaOLNtAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="43873950" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa010.jf.intel.com with ESMTP; 26 Jun 2024 04:44:22 -0700 From: Anatoly Burakov To: dev@dpdk.org, Qi Zhang , Xiaolong Ye , Paul Greenwalt , Paul M Stillwell Jr Cc: Waldemar Dworakowski , ian.stokes@intel.com, bruce.richardson@intel.com, stable@dpdk.org Subject: [PATCH v4 050/103] net/ice/base: fix wrong definition of board type Date: Wed, 26 Jun 2024 12:41:38 +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: Waldemar Dworakowski The new version is compliant with implementation and documentation. Fixes: f4f79aa849b5 ("net/ice/base: add AQC get link topology handle support") Cc: qi.z.zhang@intel.com Cc: stable@dpdk.org Signed-off-by: Waldemar Dworakowski Signed-off-by: Ian Stokes --- drivers/net/ice/base/ice_adminq_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index c431b82784..d90a5b0d34 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1746,8 +1746,8 @@ struct ice_aqc_link_topo_addr { #define ICE_AQC_LINK_TOPO_HANDLE_M (0x3FF << ICE_AQC_LINK_TOPO_HANDLE_S) /* Used to decode the handle field */ #define ICE_AQC_LINK_TOPO_HANDLE_BRD_TYPE_M BIT(9) -#define ICE_AQC_LINK_TOPO_HANDLE_BRD_TYPE_LOM BIT(9) -#define ICE_AQC_LINK_TOPO_HANDLE_BRD_TYPE_MEZZ 0 +#define ICE_AQC_LINK_TOPO_HANDLE_BRD_TYPE_LOM 0 +#define ICE_AQC_LINK_TOPO_HANDLE_BRD_TYPE_MEZZ BIT(9) #define ICE_AQC_LINK_TOPO_HANDLE_NODE_S 0 /* In case of a Mezzanine type */ #define ICE_AQC_LINK_TOPO_HANDLE_MEZZ_NODE_M \ -- 2.43.0