summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_edif_bsg.h
diff options
context:
space:
mode:
authorQuinn Tran <qutran@marvell.com>2021-10-26 14:54:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-27 06:52:00 +0300
commit0f6d600a26e89d31d8381b324fc970f72579a126 (patch)
tree26f1ed4a00cb4ca083015b96e20679672b142791 /drivers/scsi/qla2xxx/qla_edif_bsg.h
parent91f6f5fbe87ba834133fcc61d34881cb8ec9e518 (diff)
downloadlinux-0f6d600a26e89d31d8381b324fc970f72579a126.tar.xz
scsi: qla2xxx: edif: Increase ELS payload
Currently, firmware limits ELS payload to FC frame size/2112. This patch adjusts memory buffer size to be able to handle max ELS payload. Link: https://lore.kernel.org/r/20211026115412.27691-11-njavali@marvell.com Fixes: 84318a9f01ce ("scsi: qla2xxx: edif: Add send, receive, and accept for auth_els") Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_edif_bsg.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_edif_bsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_edif_bsg.h b/drivers/scsi/qla2xxx/qla_edif_bsg.h
index 58b718d35d19..53026d82ebff 100644
--- a/drivers/scsi/qla2xxx/qla_edif_bsg.h
+++ b/drivers/scsi/qla2xxx/qla_edif_bsg.h
@@ -8,7 +8,7 @@
#define __QLA_EDIF_BSG_H
/* BSG Vendor specific commands */
-#define ELS_MAX_PAYLOAD 1024
+#define ELS_MAX_PAYLOAD 2112
#ifndef WWN_SIZE
#define WWN_SIZE 8
#endif