sfc: Allow changing the DMA ring sizes dynamically via ethtool
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Sep 2010 06:42:33 +0000 (06:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:27:34 +0000 (12:27 -0700)
commit4642610c77b345130d6b5a08c75d23ad98601fd5
treebf6345d84e6dbd3a3d44ff4e050dc862f01a01fc
parentecc910f520ba8f22848982ee816ad75c449b805d
sfc: Allow changing the DMA ring sizes dynamically via ethtool

This requires some reorganisation of channel setup and teardown to
ensure that we can always roll-back a failed change.

Based on work by Steve Hodgson <shodgson@solarflare.com>

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