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 2CBA5A00C3; Mon, 15 Aug 2022 01:07:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E11C1427F2; Mon, 15 Aug 2022 01:04:22 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 505AE42B8A for ; Mon, 15 Aug 2022 01:04:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660518260; x=1692054260; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kMNXMSN7U6XgAkxoWCFxC0LQe7Smos57f1rfImsH268=; b=En8k+Gx/qf/9iq8IfWm5IHxldzJyz6fWk59nnVs1OQwIZDPcC4881mTb f/QtZEK95TBxFCsFFZfIHHx64UjTb52hr4wzDwshk3mJtWXIJGVdsT3MX jStUxQrC3S60MDO/VeVhg1bAi7wbmR2JuHFe53X1B4xjkbpDl8tjmDS54 +v5UfU3D3tqWpLlmR3GJrca0VzEbMScNBGSsWGoyvfJUi2KLaOu/qdu1g vB73cu0fC9g9ZuZaMWQXfXr20qDdDimBfgt0P5AOBr4agaT6oMHWy10jz R38NoLIq5sxEJ9bT/zFbhh6ozZDxZOpMOqXWYoWDbX9w6aklSQnRT9EGi A==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="289427628" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="289427628" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 16:04:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="934296804" Received: from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4]) by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:04:18 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, Qi Zhang , Lukasz Czapnik Subject: [PATCH 44/70] net/ice/base: complete support for Tx balancing Date: Mon, 15 Aug 2022 03:12:40 -0400 Message-Id: <20220815071306.2910599-45-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220815071306.2910599-1-qi.z.zhang@intel.com> References: <20220815071306.2910599-1-qi.z.zhang@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 Add module ID and struct necessary to read and save Tx Scheduler Topology Tree User Selection data from PFA TLV. Signed-off-by: Lukasz Czapnik Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index 7f9bdd3cb0..ebffee1b93 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1936,6 +1936,15 @@ struct ice_aqc_nvm { #define ICE_AQC_NVM_LLDP_STATUS_M_LEN 4 /* In Bits */ #define ICE_AQC_NVM_LLDP_STATUS_RD_LEN 4 /* In Bytes */ +#define ICE_AQC_NVM_TX_TOPO_MOD_ID 0x14B + +struct ice_aqc_nvm_tx_topo_user_sel { + __le16 length; + u8 data; +#define ICE_AQC_NVM_TX_TOPO_USER_SEL BIT(4) + u8 reserved; +}; + /* Used for 0x0704 as well as for 0x0705 commands */ struct ice_aqc_nvm_cfg { u8 cmd_flags; -- 2.31.1