]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Allow DMAs to cross cacheline boundaries
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:40 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:43 +0000 (22:14 -0800)
commitc37528630d0c52a330db064050f7550f0b77da7a
treef1941d408d9db7eb4524fc6423de19f3ef16c342
parent9e5af33f1cda97a2b429f8a2914fb65de8c59f5f
tg3: Allow DMAs to cross cacheline boundaries

By default, the 5717 (and future chips) break up PCIe DMA packets across
cacheline boundaries.  This isn't necessary on x86.  This patch
selectively loosens the restriction.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h