Patch "[PATCH 054/135] lpfc: Fix RDP Speed reporting." has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
[PATCH 054/135] lpfc: Fix RDP Speed reporting.
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
0054-lpfc-Fix-RDP-Speed-reporting.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
5ed87df593cdbb140123d01b291f88cc9091f476Mon Sep 17 00:00:00 2001
From: James Smart <[email protected]>
Date: Wed, 16 Dec 2015 18:11:59 -0500
Subject: [PATCH 054/135] lpfc: Fix RDP Speed reporting.
[ Upstream commit 81e7517723fc17396ba91f59312b3177266ddbda ]
Fix RDP Speed reporting.
--- drivers/scsi/lpfc/lpfc_els.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
drivers/scsi/lpfc/lpfc_els.c +7 -10
@@ -4698,28 +4698,25 @@ lpfc_rdp_res_speed(struct fc_rdp_port_sp desc->tag =cpu_to_be32 (RDP_PORT_SPEED_DESC_TAG ); -switch (phba->sli4_hba.link_state.speed) { -case LPFC_FC_LA_SPEED_1G : +switch (phba->fc_linkspeed) { +case LPFC_LINK_SPEED_1GHZ : rdp_speed =RDP_PS_1GB ;break ; -case LPFC_FC_LA_SPEED_2G : +case LPFC_LINK_SPEED_2GHZ : rdp_speed =RDP_PS_2GB ;break ; -case LPFC_FC_LA_SPEED_4G : +case LPFC_LINK_SPEED_4GHZ : rdp_speed =RDP_PS_4GB ;break ; -case LPFC_FC_LA_SPEED_8G : +case LPFC_LINK_SPEED_8GHZ : rdp_speed =RDP_PS_8GB ;break ; -case LPFC_FC_LA_SPEED_10G : +case LPFC_LINK_SPEED_10GHZ : rdp_speed =RDP_PS_10GB ;break ; -case LPFC_FC_LA_SPEED_16G : +case LPFC_LINK_SPEED_16GHZ : rdp_speed =RDP_PS_16GB ;break ; -case LPFC_FC_LA_SPEED_32G : - rdp_speed =RDP_PS_32GB ; -break ;default : rdp_speed =RDP_PS_UNKNOWN ;break ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/0056-lpfc-Fix-mbox-reuse-in-PLOGI-completion.patch queue-4.4/0052-lpfc-Fix-driver-crash-when-module-parameter-lpfc_fcp.patch queue-4.4/0121-lpfc-Fix-DMA-faults-observed-upon-plugging-loopback-.patch queue-4.4/0049-lpfc-Fix-FCF-Infinite-loop-in-lpfc_sli4_fcf_rr_next_.patch queue-4.4/0055-lpfc-Fix-RDP-ACC-being-too-long.patch queue-4.4/0051-lpfc-Fix-RegLogin-failed-error-seen-on-Lancer-FC-dur.patch queue-4.4/0054-lpfc-Fix-RDP-Speed-reporting.patch queue-4.4/0057-lpfc-Fix-external-loopback-failure.patch queue-4.4/0053-lpfc-Fix-crash-in-fcp-command-completion-path.patch queue-4.4/0050-lpfc-Fix-the-FLOGI-discovery-logic-to-comply-with-T1.patch