diff options
author | Chad Dupuis <[email protected]> | 2018-04-25 06:08:52 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-05-08 00:57:10 -0400 |
commit | 84b2ba6e427ce57408052bde987260c022aff96c (patch) | |
tree | 93ec20e92b6a1f3ecb9e3d227487e541294b4289 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | ba17d379c2bf859c5964cc35bab24bd0e67b0e12 (diff) |
scsi: qedf: Honor priority from DCBX FCoE App tag
We currently hard code the priority in the 8021q tag to 3 for FCoE
traffic. The vast majority of the time this is fine but if the priority
is something else besides 3, any VLAN ID comparison either in the
non-offload path or offload path will fail and cause dropped frames
where none are expected.
Change the behavior so that the driver default is 3 if we do not get any
DCBX convergence.
If DCBX does converge, then set the FIP/FCoE priority in the following
manner:
1. If the qedf_default_prio modparam is set use that
2. If the DCBX FCoE priority is not in range (0..7) use 3
3. Use the DCBX FCoE priority we get in the driver's DCBX handler
Signed-off-by: Chad Dupuis <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions