Skip to content

Commit

Permalink
sungem: Spring cleaning and GRO support
Browse files Browse the repository at this point in the history
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 <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Benjamin Herrenschmidt authored and David S. Miller committed Jun 3, 2011
1 parent 6f92c66 commit fe09bb6
Show file tree
Hide file tree
Showing 2 changed files with 373 additions and 541 deletions.
Loading

0 comments on commit fe09bb6

Please sign in to comment.