]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: disable 8K A-MSDU by default
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 20 Feb 2013 09:33:00 +0000 (11:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2013 10:49:13 +0000 (11:49 +0100)
commit56f526a0730558f168f744aad96519b40005e89a
tree77ef41f4987a85c3befcd819c3d9084a43e5ff65
parent1d7f840646911d0ac1f3f4924a9dc3842c8a9a7d
iwlwifi: disable 8K A-MSDU by default

Supporting 8K A-MSDU means that we need to allocate order 1
pages for every Rx packet. Even when there is no traffic.
This adds stress on the memory manager. The handling of
compound pages is also less trivial for the memory manager
and not using them will make the allocation code run faster
although I didn't really measure.
Eric also pointed out that having huge buffers with little
data in them is not very nice towards the TCP stack since
the truesize of the skb is huge. This doesn't allow TCP
to have a big Rx window.
See https://patchwork.kernel.org/patch/2167711/ for details.

Note that very few vendors will actually send A-MSDU.
Disable this feature by default.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-modparams.h