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 B480E4404F; Wed, 12 Jun 2024 17:17:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42D4142EB3; Wed, 12 Jun 2024 17:05:40 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 177FF42E97 for ; Wed, 12 Jun 2024 17:05:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204731; x=1749740731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QLv1eiyjqZxRID22kJktU0mxovBFrnJ8NsqHxsuUzzI=; b=bzSN2srbCFonPMG51P+P1S+TpBsgyNMZ8qeqpHfn41B13E8fPPPV+tJZ 3Dmhh+C0ptpRJts1AwsZG+8uhb4X1px7sSlf0DaqwLD+9RYx7wdJRalR7 Bm1YgTfX+N4jfgAVKepkD3pboq2M9VunWTmNcZjqS2XLhd2yoA9nNC3ot wSoIRcfz82AaMQN3A9ZOgGis8O6dWBCtnI3LRlQv3qLUX793Zv/0frp9g Wr/AxLDxvstxI1GSvs56oeykJ7FhpTeZtFbCuhqvtYJhAF3okbisXGApj HUay8pqfbqwDACYWUIaCnYuK57XoPceixKM5uY+7d3LrIomjSZm8pf60P w==; X-CSE-ConnectionGUID: oUDCIx+ySReonCjLC8dIXQ== X-CSE-MsgGUID: 52RZPc2LTXiXTgCTECUu0Q== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32459694" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32459694" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:05:31 -0700 X-CSE-ConnectionGUID: 1+eJjfeGQ0a8dX/71wiOmA== X-CSE-MsgGUID: T8KbVR4BT9uD3eAO+xGlVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925574" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:05:30 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Ian Stokes , bruce.richardson@intel.com Subject: [PATCH v2 081/148] net/ice/base: copy output IO params from command descriptor Date: Wed, 12 Jun 2024 16:01:15 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20240430154014.1026-1-ian.stokes@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: Ian Stokes Coppied output IO params returned from get netlist node pin command descriptor so SW could use it. Fixed defines related to output IO params. Signed-off-by: Dawid Zielinski dawid.zielinski@intel.com 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 8c62683731..8e8ed66d45 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1768,11 +1768,11 @@ struct ice_aqc_get_link_topo_pin { u8 output_io_params; #define ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_S 0 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_M \ - (0x1F << \ ICE_AQC_LINK_TOPO_INPUT_IO_FUNC_NUM_S) + (0x1F << ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_S) /* Use ICE_AQC_LINK_TOPO_IO_FUNC_* for the non-numerical options */ #define ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_S 5 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_M \ - (0x7 << ICE_AQC_LINK_TOPO_INPUT_IO_TYPE_S) + (0x7 << ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_S) /* Use ICE_AQC_LINK_TOPO_NODE_TYPE_* for the type values */ u8 output_io_flags; #define ICE_AQC_LINK_TOPO_OUTPUT_SPEED_S 0 -- 2.43.0