]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add function for obtaining FCoE TC based on FCoE user priority
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 2 Jun 2012 00:11:02 +0000 (00:11 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 Jul 2012 21:38:22 +0000 (14:38 -0700)
commitbc7f973d76857438ec7a5236e396998458386800
treebd6227be40fda4ca53fa46694c269fdd7c52ce16
parenteae8083693550a43804034ac019966efaefe839f
ixgbe: Add function for obtaining FCoE TC based on FCoE user priority

In upcoming patches it will become increasingly common to need to determine
the FCoE traffic class in order to determine the correct queues for FCoE.
In order to make this easier I am adding a function for obtaining the FCoE
traffic class based on the user priority.

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@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