sfc: Make the dmaq size a run-time setting (rather than compile-time)
authorSteve Hodgson <shodgson@solarflare.com>
Fri, 10 Sep 2010 06:42:22 +0000 (06:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:27:33 +0000 (12:27 -0700)
commitecc910f520ba8f22848982ee816ad75c449b805d
treee934380209532b831b7e7e334ddc33d75db7eef5
parent8313aca38b3937947fffebca6e34bac8e24300c8
sfc: Make the dmaq size a run-time setting (rather than compile-time)

- Allow the ring size to be specified in non
   power-of-two sizes (for instance to limit
   the amount of receive buffers).
 - Automatically size the event queue.

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/net_driver.h
drivers/net/sfc/nic.c
drivers/net/sfc/rx.c
drivers/net/sfc/selftest.c
drivers/net/sfc/tx.c