myri10ge: optimize 4k-boundary check when stocking rx pages
authorBrice Goglin <brice@myri.com>
Wed, 24 Feb 2010 12:11:19 +0000 (12:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 12:18:34 +0000 (04:18 -0800)
commit2a3f279034b46204b50408aa2c25ee0882120147
tree83775e790a8c4a94ed8bc298cb9d6f4d65e4b8b7
parent45bb00609022ecf1d97e083666c68c74d237b799
myri10ge: optimize 4k-boundary check when stocking rx pages

Small optimization to the code which checks to see if we'd cross
a 4K boundary when stocking RX ring.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Guillaume Morin <guillaume@morinfr.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c