]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Add a new v2 dport diagnostic feature
authorBikash Hazarika <bhazarika@marvell.com>
Thu, 16 Jun 2022 05:34:59 +0000 (22:34 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 01:59:52 +0000 (21:59 -0400)
commit92134861c9c71266d2ad0ec107921a0671ab0b98
treecbeea354060690d77b485033ed455d72dee5955a
parent9466063b6106c350d9d30ceb7ecafee342fdc49f
scsi: qla2xxx: Add a new v2 dport diagnostic feature

FW requires minimum 72 bytes buffer size for D_port result. Buffer size
1024 is mentioned in the FW spec so buffer size is increased to 1024.
Rewrite the logic to handle START/RESTART command from SDMAPI.

Link: https://lore.kernel.org/r/20220616053508.27186-3-njavali@marvell.com
Signed-off-by: Bikash Hazarika <bhazarika@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_bsg.h
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mbx.c