]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 13 Oct 2011 05:45:39 +0000 (22:45 -0700)
commitf3f31433a2a238fdc9c559b0bd873047b85984aa
treee947e7428e7a97adb1fb2d9f1a25350bdc93e615
parent8e3c920b3608517452dabc26bd800f67b41bcf56
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.

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