{"id":2221733,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2221733/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260410074921.1254213-5-aleksandr.loktionov@intel.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/1.1/projects/46/?format=json","name":"Intel Wired Ethernet development","link_name":"intel-wired-lan","list_id":"intel-wired-lan.osuosl.org","list_email":"intel-wired-lan@osuosl.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260410074921.1254213-5-aleksandr.loktionov@intel.com>","date":"2026-04-10T07:49:15","name":"[iwl-next,4/10] ice: reorder ice_flash_info fields to eliminate padding","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"a50c47eba724d6c007830e77df09366295ebace7","submitter":{"id":75597,"url":"http://patchwork.ozlabs.org/api/1.1/people/75597/?format=json","name":"Loktionov, Aleksandr","email":"aleksandr.loktionov@intel.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260410074921.1254213-5-aleksandr.loktionov@intel.com/mbox/","series":[{"id":499419,"url":"http://patchwork.ozlabs.org/api/1.1/series/499419/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=499419","date":"2026-04-10T07:49:11","name":"ice: misc cleanups and improvements","version":1,"mbox":"http://patchwork.ozlabs.org/series/499419/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2221733/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2221733/checks/","tags":{},"headers":{"Return-Path":"<intel-wired-lan-bounces@osuosl.org>","X-Original-To":["incoming@patchwork.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=bapsToKL;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fsTTx2cFQz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 17:49:41 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 55C8660A45;\n\tFri, 10 Apr 2026 07:49:36 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id UiXqKdMzuYK1; Fri, 10 Apr 2026 07:49:34 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 2330F60B62;\n\tFri, 10 Apr 2026 07:49:34 +0000 (UTC)","from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id DD9CF237\n for <intel-wired-lan@lists.osuosl.org>; Fri, 10 Apr 2026 07:49:31 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id CFAA781A81\n for <intel-wired-lan@lists.osuosl.org>; Fri, 10 Apr 2026 07:49:31 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id a8SuC_UR8O_U for <intel-wired-lan@lists.osuosl.org>;\n Fri, 10 Apr 2026 07:49:31 +0000 (UTC)","from mgamail.intel.com (mgamail.intel.com [198.175.65.16])\n by smtp1.osuosl.org (Postfix) with ESMTPS id C6241816EE\n for <intel-wired-lan@lists.osuosl.org>; Fri, 10 Apr 2026 07:49:30 +0000 (UTC)","from orviesa008.jf.intel.com ([10.64.159.148])\n by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Apr 2026 00:49:31 -0700","from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa008.jf.intel.com with ESMTP; 10 Apr 2026 00:49:29 -0700"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2330F60B62","OpenDKIM Filter v2.11.0 smtp1.osuosl.org C6241816EE"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1775807374;\n\tbh=hpwvdbB9Ebz9aRPxV51rkxUBzD67ulmhZ6KP2NUns9E=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=bapsToKLkri645VfnNvVyWmEzFJK4AN/POYUaG5p/THZHHd4DA4MwQBpOLZc3hZ1C\n\t 2+GPuuTMlfcgCIPOP5im0uREcXFplKcZx1VMJxfwltWOd5btKpBF1WHQ9hbPl7ycYe\n\t b8++bFiP+RXvw6bmUPDSeW+wrhphHEnPlKCy5D0iXyWTOGdsM/dy2KhgAkkp3EJ+Y6\n\t DAwYL9sZE8iYioGmixTwyOo9bruYdDSmWhijVzlJ+VzLcG1KwPvxckdVdc/TgPZnp6\n\t 3Prd9AuuaSY7CpJ41ClFrv6bZgMbhlzwu+ODU/nct1xAyDfkzCIRMSAzWfcsB6UcdS\n\t wUIi/sEXfdfAg==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.16;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp1.osuosl.org C6241816EE","X-CSE-ConnectionGUID":["Zukp3qjpR2e/qR5oijLNBQ==","/RWNk6lCSh25lLrZmfr0eA=="],"X-CSE-MsgGUID":["pViyiafiS0KKUol3I6tSlw==","seFQ7vbSTnC3GDmNti/PXA=="],"X-IronPort-AV":["E=McAfee;i=\"6800,10657,11754\"; a=\"77007929\"","E=Sophos;i=\"6.23,171,1770624000\"; d=\"scan'208\";a=\"77007929\"","E=Sophos;i=\"6.23,171,1770624000\"; d=\"scan'208\";a=\"228941872\""],"X-ExtLoop1":"1","From":"Aleksandr Loktionov <aleksandr.loktionov@intel.com>","To":"intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com","Cc":"netdev@vger.kernel.org,\n\tJacob Keller <jacob.e.keller@intel.com>","Date":"Fri, 10 Apr 2026 09:49:15 +0200","Message-ID":"<20260410074921.1254213-5-aleksandr.loktionov@intel.com>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20260410074921.1254213-1-aleksandr.loktionov@intel.com>","References":"<20260410074921.1254213-1-aleksandr.loktionov@intel.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1775807371; x=1807343371;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Uhe/PktKStkc0D01ZpH8sxDrD5w8h5fmFb/KK/CAeOs=;\n b=BHkC06BxFgIW8qVx24qRBoCTFqUcLmvS4jJ41bywID1h/kxKDBA5O+RZ\n WAyKjT7sdV/uZJ/0EA7BFYHyxNThZtVX0CYDENKOagz/fOMom8t+wUKcQ\n KwLp/RV+3IkpEA02KUo56kPaprDNjd7jk95+EbRUMJyTcRFncQKaf8b/n\n u+a2R7XMdb4PC44UcdAng5hYCHBBm0tVUaT1nCEEkw+pYIruITFLDdVLE\n ct2IzphvjD2Z0yYWM+U28ScVWN/3L4o8uYOn9iAtri1tuab4lZyk/fuxd\n BZvfm4Rc4sN3JqbukWiHN/nSCdRJvz5fYbuw+GPMJEv6fjtESZWNY4z+4\n w==;","X-Mailman-Original-Authentication-Results":["smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com","smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=BHkC06Bx"],"Subject":"[Intel-wired-lan] [PATCH iwl-next 4/10] ice: reorder ice_flash_info\n fields to eliminate padding","X-BeenThere":"intel-wired-lan@osuosl.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>","List-Unsubscribe":"<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>","List-Archive":"<http://lists.osuosl.org/pipermail/intel-wired-lan/>","List-Post":"<mailto:intel-wired-lan@osuosl.org>","List-Help":"<mailto:intel-wired-lan-request@osuosl.org?subject=help>","List-Subscribe":"<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>","Errors-To":"intel-wired-lan-bounces@osuosl.org","Sender":"\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"},"content":"From: Jacob Keller <jacob.e.keller@intel.com>\n\nThe ice_flash_info structure has a u16 sr_words field before a u32\nflash_size value. This creates a 2-byte hole as well as 3 bytes of\npadding at the end of the structure due to the blank_nvm_mode bitfield.\n\nRe-order the structure to place flash_size first, which gives a better\nlayout and reduces padding.\n\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice_type.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/net/ethernet/intel/ice/ice_type.h b/drivers/net/ethernet/intel/ice/ice_type.h\nindex cb47127..97bf601 100644\n--- a/drivers/net/ethernet/intel/ice/ice_type.h\n+++ b/drivers/net/ethernet/intel/ice/ice_type.h\n@@ -968,8 +968,8 @@ struct ice_flash_info {\n \tstruct ice_nvm_info nvm;\t/* NVM version information */\n \tstruct ice_netlist_info netlist;/* Netlist version info */\n \tstruct ice_bank_info banks;\t/* Flash Bank information */\n-\tu16 sr_words;\t\t\t/* Shadow RAM size in words */\n \tu32 flash_size;\t\t\t/* Size of available flash in bytes */\n+\tu16 sr_words;\t\t\t/* Shadow RAM size in words */\n \tu8 blank_nvm_mode;\t\t/* is NVM empty (no FW present) */\n };\n \n","prefixes":["iwl-next","4/10"]}