ixgbe: Merge ATR reinit into the service task
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 27 Apr 2011 09:25:34 +0000 (09:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 15 May 2011 01:05:37 +0000 (18:05 -0700)
commitd034acf1851c15c3da56d31e7eb4151e40ed0119
tree5eec4e3056f03293d5727086dd347eb238f3c5b4
parentc83c6cbdbff360e5323748720dfb2b000c0ae491
ixgbe: Merge ATR reinit into the service task

This change merges the ATR table reinitialization into the service task.
This is yet another opportunity to avoid any race conditions as we don't
want to be attempting to reinitialize the table during a possible reset.

In addition this change adds a counter for table reinitialization so that
it can be tracked as part of the regular statistics.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c