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)
commit3ffeabdd2bc62e0ebcb1a51a5d959a86a7a915fc
treea3b17cc4b0f8300aca46d67a6f9a362f6b052975
parent12d00cadcc45382fc127712aa35bd0c96cbf81d9
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