scsi: qla2xxx: Initialize port speed to avoid setting lower speed
authorQuinn Tran <quinn.tran@cavium.com>
Tue, 6 Nov 2018 08:51:21 +0000 (00:51 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 02:09:59 +0000 (21:09 -0500)
commitf635e48e866ee1a47d2d42ce012fdcc07bf55853
tree6c61d3be1c95e8ce037be034c211595ee50a3fe0
parentaca49ee041cbdd329c55d4dbcd6b3d4b9af240e4
scsi: qla2xxx: Initialize port speed to avoid setting lower speed

This patch initializes port speed so that firmware does not set lower
operating speed. Setting lower speed in firmware impacts WRITE perfomance.

Fixes: 726b85487067 ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c