]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4377bc2e3d1f32a362983e3c99359e32cb4b035e
tree03006b0b96f3771316368c9b652045e8f89ba5b6
parenteb0fa7b6a4cd02dcaaf0a9e095b8a30fbf244b6d
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