]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: DCBnl set_all, order of operations fix
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:30:40 +0000 (22:30 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:30:40 +0000 (22:30 +0800)
commite6ec5b0980386c93822eb14545da0a7c6b4a2cca
tree0daea7fde5b032d5a28fe522c4c03842f0e86244
parentb6f26249635aafbfdee2d50775c54a843cab2762
ixgbe: DCBnl set_all, order of operations fix

The order of operations is important in DCBnl set_all(). When FCoE
is configured it uses the up2tc map to learn which queues to configure
the hardware offloads on. Therefore we need to setup the map before
configuring FCoE.

This is only seen when the both up2tc mappings and APP info are
configured simultaneously.

(backported from commit 4909fe979c4863bb748cd35e2cec9aab1e140a10)
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_dcb_nl.c