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>
Showing
- drivers/net/sfc/efx.c 11 additions, 4 deletionsdrivers/net/sfc/efx.c
- drivers/net/sfc/efx.h 7 additions, 6 deletionsdrivers/net/sfc/efx.h
- drivers/net/sfc/net_driver.h 10 additions, 3 deletionsdrivers/net/sfc/net_driver.h
- drivers/net/sfc/nic.c 29 additions, 24 deletionsdrivers/net/sfc/nic.c
- drivers/net/sfc/rx.c 20 additions, 13 deletionsdrivers/net/sfc/rx.c
- drivers/net/sfc/selftest.c 1 addition, 1 deletiondrivers/net/sfc/selftest.c
- drivers/net/sfc/tx.c 31 additions, 25 deletionsdrivers/net/sfc/tx.c
Loading
Please register or sign in to comment