]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: pcie: map only used part of RX buffers
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2019 09:33:46 +0000 (11:33 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 23 Dec 2019 09:54:31 +0000 (11:54 +0200)
commit80084e3591390367f56161a48b6818b3a3fd64df
treeaa513fd0c833ef63302ff9104173ea49a637f158
parentc042f0c77f3df39ac4d530f5720ed64ff2f38375
iwlwifi: pcie: map only used part of RX buffers

We don't need to map *everything* of the RX buffers, we won't use
that much, map only the part we're going to use. This save some
IOMMU space (if applicable and it can deal with that) and also
prepares a bit for mapping partial pages for 2K buffers later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c