From: Johannes Berg Date: Fri, 21 Mar 2014 12:30:03 +0000 (+0100) Subject: iwlwifi: pcie: implement GRO without NAPI X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~54^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14d6b39c0b3519f8148e1371d2149c148893b61;p=pandora-kernel.git iwlwifi: pcie: implement GRO without NAPI Use the new NAPI infrastructure added to mac80211 to get GRO. We don't really implement NAPI since we don't have a real poll function and we never schedule a NAPI poll. Instead of this, we collect all the packets we got from a single interrupt and then call napi_gro_flush(). This allows us to benefit from GRO. In half duplex medium like WiFi, its main advantage is that it reduces the number of TCP Acks, hence improving the TCP Rx performance. Since we call the Rx path with a spinlock held, remove the might_sleep mention from the op_mode's API. Signed-off-by: Johannes Berg Reviewed-by: Ido Yariv [Squash different patches and rewrite the commit message] Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed