iwlwifi: pcie: optimise struct iwl_rx_mem_buffer layout
authorJohannes Berg <johannes.berg@intel.com>
Mon, 2 Aug 2021 14:09:37 +0000 (17:09 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:32:20 +0000 (23:32 +0300)
commit95fe8d89bb8c9c114ca3e46f8b2457f894f55746
tree13a523b675e98f5f5ef6afa8d31899ad344d630a
parent2f308f008f1ccda4dcf9816c7dad0a33fbffdd18
iwlwifi: pcie: optimise struct iwl_rx_mem_buffer layout

On 64-bit machines, struct iwl_rx_mem_buffer has a lot of
padding due to the use of pointers after the small items.
Move the list entry before them, and while at it also add
documentation for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210802170640.6a62255b3df0.I47bb36530a3c2cdbd73454c796ce608ee2a32a6c@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h