From patchwork Wed Aug 28 20:57:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Keller X-Patchwork-Id: 13781934 X-Patchwork-Delegate: kuba@kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D57D91AC889 for ; Wed, 28 Aug 2024 20:57:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724878654; cv=none; b=XP5rIvMRCDdNHEcTfJdVdEKfzatxp4pAGmkzdGssZPPMtDCHDNXd3OlYrkvFf2BvDqQK8v5XlHczTiW+z0q3DHgtfuaBw0TTDcz9Kyt+6HyzNswWYrkELBQB37g4iiNv9n9t3JNoR/gRtTRixLSMX7cTdA6hRGI/QALa0iOgaW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724878654; c=relaxed/simple; bh=rvmC66yA+I0aGyEit1QKoFYvswf4szFpjtBzQkKHhd4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QdjZblv+UBMYnmWkjePMDthKeKswNhI2G5heOnnen0Kws1rRdMiuOU5JFDLU9WMOIE2vFFag7M1A9IySBI7dKqWmRo4dXJMb5LX6xIOvuKHovYhUayqr3wF6OOUduI06ndO+75B7Jm3jqEZxiUq6saaTBiROvUEpHbNCDiTJ51U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DRDuE7PL; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DRDuE7PL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724878653; x=1756414653; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=rvmC66yA+I0aGyEit1QKoFYvswf4szFpjtBzQkKHhd4=; b=DRDuE7PL3r1enlAWFGU4oVfVvGWWdx4ta9dNHXw6qzUjOEs06uTI/diK Npu7uNfD9XUr9XXejSN6sKr/XwkArF8SMUt54Gky51hNxi7AIv8bct+he WSH+2lKPqx8/wkgrdxjlTEnLPO+GbC/mqCIm13mCc0O66A2EkzOtd334e VvIp9xf+DGClrVB+aHDV6cza6wIUKucPW+SyC7J9uf09qD0xp06W6AZ+H F45AzcVlhKFze7pZpTz2qnuVx8Z8rHducNFZQJLCZfSr84PjKe2NCLxq+ xwM0oFzaBB4K0+1IU0ilqUt5kGhC4fNibhbNXePpgU8Wegq7rwbgco/Av Q==; X-CSE-ConnectionGUID: 3hNoRGSeTJGjetCoV5PGhA== X-CSE-MsgGUID: zk7jzpP5R/2NA4T8JcQf+w== X-IronPort-AV: E=McAfee;i="6700,10204,11178"; a="34592610" X-IronPort-AV: E=Sophos;i="6.10,183,1719903600"; d="scan'208";a="34592610" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2024 13:57:31 -0700 X-CSE-ConnectionGUID: d7/ATIAZTXW2LjZm7CWq1w== X-CSE-MsgGUID: yVuYwNKwS2KYeqVJfOMbug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,183,1719903600"; d="scan'208";a="64049983" Received: from jekeller-desk.jf.intel.com ([10.166.241.20]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2024 13:57:29 -0700 From: Jacob Keller Date: Wed, 28 Aug 2024 13:57:25 -0700 Subject: [PATCH iwl-next v2 09/13] ice: remove int_q_state from ice_tlan_ctx Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240828-e810-live-migration-jk-prep-ctx-functions-v2-9-558ab9e240f5@intel.com> References: <20240828-e810-live-migration-jk-prep-ctx-functions-v2-0-558ab9e240f5@intel.com> In-Reply-To: <20240828-e810-live-migration-jk-prep-ctx-functions-v2-0-558ab9e240f5@intel.com> To: Vladimir Oltean , netdev , Anthony Nguyen , Intel Wired LAN Cc: Przemek Kitszel X-Mailer: b4 0.14.0 X-Patchwork-Delegate: kuba@kernel.org The int_q_state field of the ice_tlan_ctx structure represents the internal queue state. However, we never actually need to assign this or read this during normal operation. In fact, trying to unpack it would not be possible as it is larger than a u64. Remove this field from the ice_tlan_ctx structure, and remove its packing field from the ice_tlan_ctx_info array. Signed-off-by: Jacob Keller Reviewed-by: Przemek Kitszel --- drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h | 1 - drivers/net/ethernet/intel/ice/ice_common.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h index 611577ebc29d..0e8ed8c226e6 100644 --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h @@ -590,7 +590,6 @@ struct ice_tlan_ctx { u8 drop_ena; u8 cache_prof_idx; u8 pkt_shaper_prof_idx; - u8 int_q_state; /* width not needed - internal - DO NOT WRITE!!! */ }; #endif /* _ICE_LAN_TX_RX_H_ */ diff --git a/drivers/net/ethernet/intel/ice/ice_common.c b/drivers/net/ethernet/intel/ice/ice_common.c index 009716a12a26..c4b24ba36b5e 100644 --- a/drivers/net/ethernet/intel/ice/ice_common.c +++ b/drivers/net/ethernet/intel/ice/ice_common.c @@ -1467,7 +1467,6 @@ const struct ice_ctx_ele ice_tlan_ctx_info[] = { ICE_CTX_STORE(ice_tlan_ctx, drop_ena, 1, 165), ICE_CTX_STORE(ice_tlan_ctx, cache_prof_idx, 2, 166), ICE_CTX_STORE(ice_tlan_ctx, pkt_shaper_prof_idx, 3, 168), - ICE_CTX_STORE(ice_tlan_ctx, int_q_state, 122, 171), { 0 } };