Skip to content

Commit fe09bb6

Browse files
ozbenhdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6f92c66 commit fe09bb6

File tree

2 files changed

+373
-541
lines changed

2 files changed

+373
-541
lines changed

0 commit comments

Comments
 (0)