igb: re-use ring configuration code in ethtool testing
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Oct 2009 15:54:23 +0000 (15:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 08:20:37 +0000 (01:20 -0700)
commitd7ee5b3a78f57a8ca9ca2392ff5d03f91ec90bdb
tree3d33ec9251c264370e31a51b084abed238582861
parent10d8e9073a320a1c9cc13f996bd600b477eb4872
igb: re-use ring configuration code in ethtool testing

Since all of the ring code is now specific to the ring instead of the adapter
struct it is possible to cut a large section of code out of the ethtool
testing configuraiton since we can just use the existing functions to
configure the rings.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c