]> git.karo-electronics.de Git - linux-beck.git/commit
smsc95xx: add tx checksum offload support
authorSteve Glendinning <steve.glendinning@smsc.com>
Thu, 20 Nov 2008 12:19:21 +0000 (04:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:19:21 +0000 (04:19 -0800)
commitf7b29271c35ed38f990ca3419696ca148349c2d3
tree8f50d875b7e101f75c98f358a9f963ef1c024242
parent8761169cf15fdc9336abfddbb9c8dda59d974190
smsc95xx: add tx checksum offload support

LAN9500 supports tx checksum offload, which slightly decreases cpu
utilisation.  The benefit isn't very large because we still require
the skb to be linearized, but it does save a few cycles.

This patch adds support for it, and enables it by default.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c