diff options
| author | 2026-04-10 09:49:15 +0200 | |
|---|---|---|
| committer | 2026-09-29 13:33:37 -0700 | |
| commit | 74a4378ee5b9e9f5fdbd321db23cf4f83fca0834 (patch) | |
| tree | a755c4753a8df5175893ef5745f1e4ca3c4b4bec /scripts/Makefile.thinlto | |
| parent | ice: use ice_fill_eth_hdr() in ice_fill_sw_rule() (diff) | |
ice: reorder ice_flash_info fields to eliminate padding
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 <jacob.e.keller@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
