]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: implement ethtool rx/tx ring size query and resizing
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Feb 2009 14:07:37 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 07:43:56 +0000 (23:43 -0800)
commite7d2f4dbd9224ba50d6d5331bb0538d2ce9027f8
tree6ebbb38ee9761a0fc0d594d6e9e81c122d6eb890
parent3e5080344e95c0861a7ca494288593023ee383c6
mv643xx_eth: implement ethtool rx/tx ring size query and resizing

Rename the mp->default_[rt]x_ring_size variables to ->[rt]x_ring_size,
allow them to be read via the standard ethtool ->get_ringparam() op,
and add a ->set_ringparam() op to allow resizing them at run time.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c