ixgbe: Add support for tracking the default user priority to SR-IOV
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 2 Oct 2012 00:17:03 +0000 (00:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Oct 2012 04:14:32 +0000 (21:14 -0700)
commit107d3018abd9d15df24e8f2d52366fa7f983beda
tree457a62b6d4e68e8809cdc071e0a2bfd76c2aa7d1
parenta048b40e0f9502bc75d7f9904c5399a0a87fa479
ixgbe: Add support for tracking the default user priority to SR-IOV

It is necessary to track the default user priority in the PF so that we can
force it upon the VFs.  The motivation behind this is to keep the VFs from
getting access to user priorities meant for things like storage.

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_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c