Files
linux/drivers
Lennert Buytenhek e32b661750 mv643xx_eth: enable hardware TX checksumming with vlan tags
Although mv643xx_eth has no hardware support for inserting a vlan
tag by twiddling some bits in the TX descriptor, it does support
hardware TX checksumming on packets where the IP header starts {a
limited set of values other than 14} bytes into the packet.

This patch sets mv643xx_eth's ->vlan_features to NETIF_F_SG |
NETIF_F_IP_CSUM, which prevents the stack from checksumming vlan'ed
packets in software, and if vlan tags are present on a transmitted
packet, notifies the hardware of this fact by toggling the right
bits in the TX descriptor.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
2008-07-24 06:22:59 +02:00
..
2008-07-16 11:07:59 +10:00
2008-07-04 10:40:05 -07:00
2008-07-21 21:55:02 -07:00
2008-07-21 21:55:03 -07:00
2008-07-02 15:06:24 -06:00
2008-07-21 21:54:55 -07:00
2008-07-16 11:07:59 +10:00
2008-07-20 17:24:38 -07:00