aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-08-14 16:56:49 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-19 22:41:10 -0400
commitc26c265b168bb09013922846a51447603bcdfdc4 (patch)
tree25885b960dc44004828142a9290848e46f28ed8b /ipc
parentscsi: lpfc: Fix propagation of devloss_tmo setting to nvme transport (diff)
downloadlinux-dev-c26c265b168bb09013922846a51447603bcdfdc4.tar.xz
linux-dev-c26c265b168bb09013922846a51447603bcdfdc4.zip
scsi: lpfc: Fix sg_seg_cnt for HBAs that don't support NVME
On an SLI-3 adapter which does not support NVMe, but with the driver global attribute to enable nvme on any adapter if it does support NVMe (e.g. module parameter lpfc_enable_fc4_type=3), the SGL and total SGE values are being munged by the protocol enablement when it shouldn't be. Correct by changing the location of where the NVME sgl information is being applied, which will avoid any SLI-3-based adapter. 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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions