summaryrefslogtreecommitdiff
path: root/drivers/uwb/uwb-internal.h
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2011-02-01 02:10:20 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-11 16:43:14 (GMT)
commit53bb9f80b3be855a369a8a580621cda8e3bbaae2 (patch)
tree2f84cce0899166fa395ddb21d3621bd023bf274d /drivers/uwb/uwb-internal.h
parent6b78bb1d46cfae6502826ec31a6e9f7222ab3cb4 (diff)
downloadlinux-fsl-qoriq-53bb9f80b3be855a369a8a580621cda8e3bbaae2.tar.xz
ixgbe: DCB, only reprogram HW if the FCoE priority is changed
If the FCoE priority is not changing do not set the RESET and APP_UPCHG bits. This causes unneeded HW resets and which can cause unneeded LLDP frames and negotiations. The current check is not sufficient because the FCoE priority can change twice during a negotiation which results in the bits being set. This occurs when the switch changes the priority or when the link is reset with switches that do not include the APP priority until after PFC has been negotiated. This results in set_app being called with the local APP priority. Then the negotiation completes and set_app is called again with the peer APP priority. The check fails so the device is reset and the above occurs again resulting in an endless loop of resets. By only resetting the device if the APP priority has really changed we short circuit the loop. 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>
Diffstat (limited to 'drivers/uwb/uwb-internal.h')
0 files changed, 0 insertions, 0 deletions