]> 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)
commitf281518bc6d7fad65f8c18d6e60c4b76075c5073
tree77ef41f4987a85c3befcd819c3d9084a43e5ff65
parent0a46752beaa1a7c8c13e78637b803fcd351af007
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