]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: convert to hw_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 9 Apr 2011 02:46:55 +0000 (02:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 01:55:19 +0000 (18:55 -0700)
commite5476e44b53454fe596e80690e7985b7d6b72b21
tree6526772af4bbe2222aaa0625c9f53006de1c7464
parent77604ea26968242c1b15037f74730531807a898b
net: stmmac: convert to hw_features

This also removes TSO as it's made fully in software --- better to leave this
to networking core.

If the MAC features can be detected at probe time and not at open, then
stmmac_fix_features could be simplified by limiting hw_features. That's
also better for users as they don't see offloads being togglable but
never turned on.

Redundant fallbacks for TX csum are removed as it's already handled
by network core.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_ethtool.c
drivers/net/stmmac/stmmac_main.c