]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add feature offset value to ring features
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 5 May 2012 05:30:53 +0000 (05:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 11 Jul 2012 09:01:14 +0000 (02:01 -0700)
commit0fe43a2f3f22f95903319c0b46c8fa82ef9d35c7
tree3c3b81955fc7986cff0dd6bfe5bd6100625bec23
parentb6aa3f31dbb4dd126847c5a04601c1916253c6a4
ixgbe: Add feature offset value to ring features

The mask value for ring features was overloaded for FCoE which can lead to
some confusion.  In order to avoid any confusion I am splitting the mask
value and adding an offset value.  This can be used for the start of the
FCoE rings, and in the future I hope to use it to store the start of the
registers for SR-IOV.

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