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 4D5E8454EF; Tue, 25 Jun 2024 13:22:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E673942F75; Tue, 25 Jun 2024 13:18:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id BEC9140696 for ; Tue, 25 Jun 2024 13:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719314215; x=1750850215; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qfj2EqgsWv3OUtKWcYrnQpHzjTT7t39lMeWJ9mGxQzo=; b=NGAmL7KTYcor57Yfe3B8H9DbeJ3udtGwcsNolgP0PXlWj360Rt6yK3np iusfO4pNj2gjyDOqk6H52nT7W0oHr2AGFzkpe5PTsjKate1wGK7ZHMx7e 78YCOm+RpeZDmIpcxnXZkZl0fwh/YoYsrpE0tloKThAhrzBGEuGx+MMPO 7gLbbVUEBaiJ4WtuPOYi603KwHS7sT656JlKb23HAURcDvSuZkxLy+nK2 pwOf6KOEMU1XEnz8Gu7OftDEfkArQ15tkcf1vmL0dBZnksbg9Y7C3IO59 6plVZCx9cF6t+GMT0FlIirO4sHS7BhwOBtTUO5iak0wpgy+t1u0DVzA34 w==; X-CSE-ConnectionGUID: L1qNTeTfRXOoYEExQ2Hunw== X-CSE-MsgGUID: m7FoakGBSKa8V0RiE5qMCg== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16080290" X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="16080290" 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:42 -0700 X-CSE-ConnectionGUID: 9LK21henQ+O9YroVOLLUMA== X-CSE-MsgGUID: 1lQCzcS0QX2PnzKpv5S4jg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="43719333" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 25 Jun 2024 04:16:41 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Dawid Zielinski , bruce.richardson@intel.com, ian.stokes@intel.com Subject: [PATCH v3 063/129] net/ice/base: copy output IO params from command descriptor Date: Tue, 25 Jun 2024 12:13:08 +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: Dawid Zielinski 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 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 f235bfb2fe..fdff750b2f 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1795,11 +1795,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