From: Benjamin Herrenschmidt Date: Wed, 1 Jun 2011 07:17:10 +0000 (+1000) Subject: sungem: Spring cleaning and GRO support X-Git-Tag: v3.1-rc1~316^2~450^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe09bb619096a0aa139210748ddc668c2dbe2308;p=pandora-kernel.git sungem: Spring cleaning and GRO support This patch simplifies the logic and locking in sungem significantly: - LLTX is gone, all private locks are gone, mutex is gone - We don't poll the PHY while the interface is down - The above allowed me to get rid of a pile of state flags using the proper interface state provided by the networking stack when needed and overall simplify the driver a lot - Allocate the bulk of RX skbs at init time using GFP_KERNEL - Fix a bug where the dev->features were set after register_netdev() - Added GRO while at it Signed-off-by: Benjamin Herrenschmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed