]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f3a896b427790b7fbac2520913acf8a15f8c937
tree0f441b124752959ba723c87aa471df196f556013
parent89570b26efa31ef9f0a743c9c923c8e541d4c5c8
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