pasemi_mac: jumbo frame support
authorOlof Johansson <olof@lixom.net>
Wed, 5 Mar 2008 22:34:16 +0000 (16:34 -0600)
committerOlof Johansson <olof@lixom.net>
Wed, 5 Mar 2008 22:34:39 +0000 (16:34 -0600)
commit8d636d8bc5ffcdbf49c72aafcda9ddab7ccb2f41
tree0f441b124752959ba723c87aa471df196f556013
parentdda56df08a28404004bca313d2a1ba1597acd755
pasemi_mac: jumbo frame support

First cut at jumbo frame support. To support large MTU, one or several
separate channels must be allocated to calculate the TCP/UDP checksum
separately, since the mac lacks enough buffers to hold a whole packet
while it's being calculated.

Furthermore, it seems that a single function channel is not quite
enough to feed one of the 10Gig links, so allocate two channels for
XAUI interfaces.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/pasemi_mac.c
drivers/net/pasemi_mac.h
include/asm-powerpc/pasemi_dma.h