aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2018-10-23 13:41:01 -0700
committerMartin K. Petersen <[email protected]>2018-11-06 20:42:50 -0500
commitcd71348ad75705aab857c098a74e99700e173b77 (patch)
treebd47db89038eccef64912af8901e4a61f10a37df /include/linux/debugobjects.h
parentc47b6f2d54d40c053f6a15d52489eb9e1a319da2 (diff)
scsi: lpfc: Correct speeds on SFP swap
Supported speeds is not updated when SFP is removed or replaced Supported speed is obtained from lmt field in READ_CONFIG mailbox response. Driver updates supported speeds only once from PCI probe path. After that it is never updated. So, supported speeds remains the same till reboot or driver reload. When SFP is removed or inserted, driver gets SLI-Port Event ACQE. If SFP is removed, lmt wil have value 0. If a different SFP is inserted, lmt will have value according to its supported speeds. So, afterr SLI-Port Event ACQE handling path, send READ_CONFIG mailbox and update supported speeds. If READ_CONFIG fails, set supported speeds to unknown and log. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions