]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Correct check for change in FCoE priority
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 20 Sep 2011 03:00:22 +0000 (03:00 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:19:18 +0000 (22:19 +0800)
commit51bd7681374e0fc44e843d9177d7749437458a65
tree33ce1159a14505910577d2b78df0f85198e487a8
parent5963394d3526a695eae3416cbebc6e485955963c
ixgbe: Correct check for change in FCoE priority

Correct a check for change in FCoE priority when IEEE mode DCB is in use.
In IEEE mode a different function has to be used to get the FCoE priority
mask. Also, the check for the mask assumed that only one priority was set.
In case there should be more than one, check just the bit.

These changes help avoid link flapping issues that can come up when IEEE
DCB is in use.

(cherry picked from commit 15d447ecaff457e6f89b459e70c0770b35b35533)
Signed-off-by: Mark Rustad <mark.d.rustad@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