]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Eliminate indirect lookups of queue size constants
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 23 Oct 2009 08:30:58 +0000 (08:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Oct 2009 11:27:05 +0000 (04:27 -0700)
commit763f0e7192d245d8db6f757d8f97ceb95076236a
treea3b17cc4b0f8300aca46d67a6f9a362f6b052975
parent389daeef297246675b3062ad8530baea36bf1ad7
sfc: Eliminate indirect lookups of queue size constants

Move size and mask definitions into efx.h; calculate page orders in falcon.c.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/falcon.c
drivers/net/sfc/net_driver.h
drivers/net/sfc/rx.c
drivers/net/sfc/selftest.c
drivers/net/sfc/tx.c