OSDN Git Service

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)
commitaed7d9ac1836defe033b561f4306e39014ac56fd
tree77ef41f4987a85c3befcd819c3d9084a43e5ff65
parent1afbfb6041fb8f639e742620ad933c347e14ba2c
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