]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb50b26628c3a3dee7281ecab6a9fde6ad1725a83
tree3d33ec9251c264370e31a51b084abed238582861
parentcd0ccd8220141887afae97eda35bfad1bad6e0ef
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