]> err.no Git - linux-2.6/commit
spidernet: checksum and ethtool
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 11 Jun 2007 18:35:23 +0000 (13:35 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Jun 2007 23:09:33 +0000 (19:09 -0400)
commit3a2c892daaf54b31a70785c2821771e8094188ed
tree36ff4915ef938d70a398c282d7628a26126c43fb
parent128c6e2e519fe7d0a15de04f3dde00700145cec4
spidernet: checksum and ethtool

It doesn't look like spidernet hardware can really checksum all protocols,
the code looks like it does IPV4 only.  If so, it should use NETIF_F_IP_CSUM
instead of NETIF_F_HW_CSUM.

The driver doesn't need it's own get/set for ethtool tx csum, and it
should use the standard ethtool_op_get_link.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/spider_net.c
drivers/net/spider_net_ethtool.c