myri10ge: fix management of the firmware 4KB boundary crossing restriction
authorBrice Goglin <brice@myri.com>
Tue, 10 Apr 2007 19:21:08 +0000 (21:21 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Apr 2007 15:54:44 +0000 (11:54 -0400)
commitae8509b1876e6e1074edc9846296e80983e30502
treebc7ee82e0134ea9b88a2e26c367e97160536caf4
parent6cdbd77e8883aac2e24f8b19b91e5b1c839213a0
myri10ge: fix management of the firmware 4KB boundary crossing restriction

Simpler way of dealing with the firmware 4KB boundary crossing
restriction for rx buffers.  This fixes a variety of memory
corruption issues when using an "uncommon" MTU with a 16KB
page size.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c