]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6076d5c1cd28c37f5c13372406595b8a3e83699f
tree037f1cd2be26337e243e1d6d6f463d8e5f1bad6b
parent6c85ab6ddc1559dc3c7850f72c51b7aac6167c9f
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