]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Fix PBA calculation for jumbo frame packets
authorAuke Kok <auke-jan.h.kok@intel.com>
Thu, 25 Oct 2007 20:57:53 +0000 (13:57 -0700)
committerJeff Garzik <jeff@garzik.org>
Mon, 29 Oct 2007 09:47:08 +0000 (05:47 -0400)
commitb762f0ccfc5882cd11b07c0c73fc6fb0ada07011
treef3286bd44409b353e7737188c45163ccde7a9632
parent9217765e420e48b5f29f2a20d015bd7db3a6f63a
e1000e: Fix PBA calculation for jumbo frame packets

Upon inspection the rx FIFO size calculation code was found to have
2 significant flaws: A superfluous minus sign resulting in the
wrong size to be used for jumbo frames on 82573 and ich9, as well
as that this code rewrote the read-only adapter->pba variable
resulting in different values at each run.

Without this patch jumbo's will work but performance will be
awkward since the TX size is not adequate for two whole frames.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000e/netdev.c