ixgbe: Focus config of head, tail ntc, and ntu all into a single function
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 30 Oct 2013 07:45:39 +0000 (07:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Dec 2013 09:27:33 +0000 (01:27 -0800)
commit5cdab2f620de9cb14de297326e30e3dd7ea769de
tree037f1cd2be26337e243e1d6d6f463d8e5f1bad6b
parentc0832b2c105d3b666bab325e2790267157df6290
ixgbe: Focus config of head, tail ntc, and ntu all into a single function

This patch makes it so that head, tail, next to clean, and next to use are
all reset in a single function for the Tx or Rx path. Previously the code
for this was spread out over several areas which could make it difficult to
track what the values for these were.

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: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c