> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Aleksandr Loktionov
> Sent: Friday, April 10, 2026 12:49 AM
> To: [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Cc: [email protected]; Keller, Jacob E <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next 4/10] ice: reorder ice_flash_info 
> fields to eliminate padding
> 
> From: Jacob Keller <[email protected]>
> 
> The ice_flash_info structure has a u16 sr_words field before a u32 flash_size 
> value. This creates a 2-byte hole as well as 3 bytes of padding at the end of 
> the structure due to the blank_nvm_mode bitfield.
> 
> Re-order the structure to place flash_size first, which gives a better layout 
> and reduces padding.
> 
> Signed-off-by: Jacob Keller <[email protected]>
> Signed-off-by: Aleksandr Loktionov <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_type.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Alexander Nowlin <[email protected]>

Reply via email to