ixgbe: Add upper limit to ring features
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 10 May 2012 00:01:46 +0000 (00:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 11 Jul 2012 08:53:21 +0000 (01:53 -0700)
commitc087663ec870c71b01d8e4ebbd68e481e0e253e3
treee0cd968e679f70a35f771a719ff955cf77d179e5
parent49c7ffbe7b9eee0dbbce09d9afbfdbec98324438
ixgbe: Add upper limit to ring features

We are currently using indices to indicate the upper limit on a ring
feature.  However since we can switch back and forth on features such as
DCB and that has effects on other features such as RSS it is preferable to
instead store the upper limit separate from the current value for the
number of rings related to the feature.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c