]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: create function for all of ring init
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 16 Jan 2014 10:30:09 +0000 (02:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 23:34:25 +0000 (15:34 -0800)
commit518fe1fe3bc59ffe7358a803e4696bd67d040285
tree1cb1bf957abbacb14f89c65e629f89bbb4c8a36b
parente954bc3c826bf0026e2aebd206953c861a66e1fc
ixgbevf: create function for all of ring init

This patch creates new functions for ring initialization,
ixgbevf_configure_tx_ring() and ixgbevf_configure_rx_ring(). The work done
in these function previously was spread between several other functions and
this change should hopefully lead to greater readability and make the code
more like ixgbe.  This patch also moves the placement of some older functions
to avoid having to write prototypes.  It also promotes a couple of debug
messages to errors.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/defines.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c