]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4c586c86406b813093cae96c70fd0f6ab67486f
treee0cd968e679f70a35f771a719ff955cf77d179e5
parent6a63742939a3bec860ad6a090406b03b65c8ecb6
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