]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbaff4b78706afbb7f720c8b9c7bd023c6b0f27d3
treee934380209532b831b7e7e334ddc33d75db7eef5
parent63cc38adafacf5f7e5b30addb3f952eaa7a32e79
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