iwlwifi: pcie: gen2: use DMA pool for byte-count tables
authorJohannes Berg <johannes.berg@intel.com>
Sat, 25 Apr 2020 10:04:53 +0000 (13:04 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 May 2020 06:52:53 +0000 (09:52 +0300)
commitc239feec5038585d8ba622ecc97322e0e2f3398c
tree688d677065a47beaabbe5c0a05df6b0daaf270b3
parenta8e82c36081e574c0c7bdc1b407a697465777069
iwlwifi: pcie: gen2: use DMA pool for byte-count tables

Since the recent patch in this area, we no longer allocate 64k
for a single queue, but only 1k, which still means a full page.
Use a DMA pool to reduce this further, since we will have a lot
of queues in a typical system that can share pages.

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.20200425130140.6e84c79aea30.Ie9a417132812d110ec1cc87852f101477c01cfcb@changeid
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c