ixgbe: SR-IOV: dynamic IEEE DCBx default priority changes
authorJohn Fastabend <john.r.fastabend@intel.com>
Fri, 19 Oct 2012 02:34:34 +0000 (02:34 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 19 Jan 2013 11:35:15 +0000 (03:35 -0800)
commit610a63fc8ef903a11921bb48f26fd4d34aacd3c0
tree03006b0b96f3771316368c9b652045e8f89ba5b6
parent1ad759d8479b4b28f2a6c874d380066cf987b341
ixgbe: SR-IOV: dynamic IEEE DCBx default priority changes

IEEE DCBx has a mechanism to change the default user priority. In
the normal case the OS can handle this via cgroups, iptables, socket,
options etc.

With SR-IOV and direct assigned VF devices the default priority
needs to be set by the PF device so the inserted VLAN tag is
correct.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h