diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2020-02-12 13:44:18 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-24 12:34:27 -0500 |
commit | d83a80ee57f0cb38baccc75e96bc56ac47d300b3 (patch) | |
tree | c43e372a31c256065c5ff9449ebd098441b080bf /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 818c7f87a177781bc155a2bfa39066c89c5a6cdc (diff) | |
download | linux-d83a80ee57f0cb38baccc75e96bc56ac47d300b3.tar.gz linux-d83a80ee57f0cb38baccc75e96bc56ac47d300b3.tar.bz2 linux-d83a80ee57f0cb38baccc75e96bc56ac47d300b3.zip |
scsi: qla2xxx: Add vendor extended RDP additions and amendments
This patch adds RDP command support in the driver. With the help of new
ql2xsmartsan parameter, driver will use PUREX IOCB mode to send RDP command
to switch and will be able to receive various diagnostic data.
Link: https://lore.kernel.org/r/20200212214436.25532-8-hmadhani@marvell.com
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 5b995519a2c1..0c5b56cea253 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -458,6 +458,9 @@ extern int qla25xx_set_driver_version(scsi_qla_host_t *, char *); extern int +qla25xx_set_els_cmds_supported(scsi_qla_host_t *); + +extern int qla24xx_get_buffer_credits(scsi_qla_host_t *, struct buffer_credit_24xx *, dma_addr_t); |