Commit a1e4d3d
scsi: lpfc: Fix FCoE speed reporting
Current Link speed was shown as "unknown" in sysfs for FCoE ports. In this
scenario, the port was working in 20G speed, which happens to not be a
speed handled by the driver.
Add support for all possible link speeds that could get reported from
port_speed field in link state ACQE.
Additionally, as supported_speeds can't be manipulated via the FCoE driver
on a converged ethernet port (it must be managed by the nic function),
don't fill out the supported_speeds field for the fc host object in sysfs.
Revise debug logging to report Link speed mgmt valuess.
Link: https://lore.kernel.org/r/20200803210229.23063-2-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 1eaff53 commit a1e4d3d
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6679 | 6679 | | |
6680 | 6680 | | |
6681 | 6681 | | |
| 6682 | + | |
| 6683 | + | |
| 6684 | + | |
6682 | 6685 | | |
6683 | 6686 | | |
6684 | 6687 | | |
| 6688 | + | |
| 6689 | + | |
| 6690 | + | |
6685 | 6691 | | |
6686 | 6692 | | |
6687 | 6693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4577 | 4577 | | |
4578 | 4578 | | |
4579 | 4579 | | |
| 4580 | + | |
| 4581 | + | |
| 4582 | + | |
| 4583 | + | |
| 4584 | + | |
| 4585 | + | |
| 4586 | + | |
4580 | 4587 | | |
4581 | 4588 | | |
4582 | 4589 | | |
| |||
4910 | 4917 | | |
4911 | 4918 | | |
4912 | 4919 | | |
| 4920 | + | |
| 4921 | + | |
| 4922 | + | |
4913 | 4923 | | |
4914 | 4924 | | |
4915 | 4925 | | |
| |||
8589 | 8599 | | |
8590 | 8600 | | |
8591 | 8601 | | |
8592 | | - | |
| 8602 | + | |
8593 | 8603 | | |
8594 | 8604 | | |
8595 | 8605 | | |
| |||
8603 | 8613 | | |
8604 | 8614 | | |
8605 | 8615 | | |
8606 | | - | |
| 8616 | + | |
| 8617 | + | |
8607 | 8618 | | |
8608 | 8619 | | |
8609 | 8620 | | |
| |||
0 commit comments