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 133144404F; Wed, 12 Jun 2024 17:11:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40D2B42D35; Wed, 12 Jun 2024 17:04:34 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id C79D5427D6 for ; Wed, 12 Jun 2024 17:04:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204668; x=1749740668; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+E2M3DXFh+NqsNUqG74VnOGm84WMTctOu28jjpq5jrI=; b=TNc24l+LLJTcG54ZKkW9xG0Y4dRrAFiBimiTVrHpZavietHfBKn2DW8f lKj4XSWTy3zdZFVQoFKQHs+PnzqATgVLaQEYSPKLp6rxH5XUGa1a/nfKv 5k1aQJea5l1hnnBiC1oo5gCmF3EFUXXHptigOy8ieYVcXoiKePGL6w5aN TQWW89yshOaG4vYfQSpvBVrBdl8izKCfxtuPIUeAggPwpzZJUNN/BbMUe IwQfcXnGfhVtwpNtl2EQHtohOK1yc8/aAaZgqqSwqBLnrV3DJdpuDKwGy XFDqbRH4LQzOUE5pxhihIPWtvTDDKfIrTJCRO0EvsBMMS8/UeCQtZBa5x A==; X-CSE-ConnectionGUID: 7Df5JZhuQUWurbyKfwSLaQ== X-CSE-MsgGUID: +McatmNLQfmb8iLSCSekgg== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32459428" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32459428" 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:04:27 -0700 X-CSE-ConnectionGUID: yysEajhiT3Wq12ldnQObLw== X-CSE-MsgGUID: QZhRlzGAQ5OzjUE20qXafQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925171" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:04:26 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Ian Stokes , bruce.richardson@intel.com, Jesse Brandeburg Subject: [PATCH v2 043/148] net/ice/base: remove unused code from upstream build Date: Wed, 12 Jun 2024 16:00:37 +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 Align code to better resemble upstream. Signed-off-by: Jesse Brandeburg Signed-off-by: Ian Stokes --- drivers/net/ice/base/ice_adminq_cmd.h | 33 --------------------------- 1 file changed, 33 deletions(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index 82f5e8bd76..cfc13f0b2b 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -109,7 +109,6 @@ struct ice_aqc_list_caps { struct ice_aqc_list_caps_elem { __le16 cap; #define ICE_AQC_CAPS_VALID_FUNCTIONS 0x0005 -#define ICE_AQC_MAX_VALID_FUNCTIONS 0x8 #define ICE_AQC_CAPS_VSI 0x0017 #define ICE_AQC_CAPS_DCB 0x0018 #define ICE_AQC_CAPS_RSS 0x0040 @@ -997,25 +996,6 @@ struct ice_sw_rule_vsi_list { }; #pragma pack() -#pragma pack(1) -/* Query VSI list command/response entry */ -struct ice_sw_rule_vsi_list_query { - __le16 index; - u8 vsi_list[DIVIDE_AND_ROUND_UP(ICE_MAX_VSI, BITS_PER_BYTE)]; -}; -#pragma pack() - -/* PFC Ignore (direct 0x0301) - * The command and response use the same descriptor structure - */ -struct ice_aqc_pfc_ignore { - u8 tc_bitmap; - u8 cmd_flags; /* unused in response */ -#define ICE_AQC_PFC_IGNORE_SET BIT(7) -#define ICE_AQC_PFC_IGNORE_CLEAR 0 - u8 reserved[14]; -}; - /* Query PFC Mode (direct 0x0302) * Set PFC Mode (direct 0x0303) */ @@ -1030,17 +1010,6 @@ struct ice_aqc_set_query_pfc_mode { u8 rsvd[15]; }; -/* Set DCB Parameters (direct 0x0306) */ -struct ice_aqc_set_dcb_params { - u8 cmd_flags; /* unused in response */ -#define ICE_AQC_LINK_UP_DCB_CFG BIT(0) -#define ICE_AQC_PERSIST_DCB_CFG BIT(1) - u8 valid_flags; /* unused in response */ -#define ICE_AQC_LINK_UP_DCB_CFG_VALID BIT(0) -#define ICE_AQC_PERSIST_DCB_CFG_VALID BIT(1) - u8 rsvd[14]; -}; - /* Get Default Topology (indirect 0x0400) */ struct ice_aqc_get_topo { u8 port_num; @@ -3072,9 +3041,7 @@ struct ice_aq_desc { struct ice_aqc_nvm nvm; struct ice_aqc_nvm_cfg nvm_cfg; struct ice_aqc_nvm_checksum nvm_checksum; - struct ice_aqc_pfc_ignore pfc_ignore; struct ice_aqc_set_query_pfc_mode set_query_pfc_mode; - struct ice_aqc_set_dcb_params set_dcb_params; struct ice_aqc_lldp_get_mib lldp_get_mib; struct ice_aqc_lldp_set_mib_change lldp_set_event; struct ice_aqc_lldp_add_delete_tlv lldp_add_delete_tlv; -- 2.43.0