提交 ffa018e3 编写于 作者: S Saurav Kashyap 提交者: Martin K. Petersen

scsi: qla2xxx: Enable NVMe CONF (BIT_7) when enabling SLER

Enable NVMe confirmation bit in PRLI.

Link: https://lore.kernel.org/r/20210111093134.1206-7-njavali@marvell.comReviewed-by: NHimanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: NSaurav Kashyap <skashyap@marvell.com>
Signed-off-by: NNilesh Javali <njavali@marvell.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 044c218b
...@@ -2378,6 +2378,8 @@ qla24xx_prli_iocb(srb_t *sp, struct logio_entry_24xx *logio) ...@@ -2378,6 +2378,8 @@ qla24xx_prli_iocb(srb_t *sp, struct logio_entry_24xx *logio)
logio->io_parameter[0] = logio->io_parameter[0] =
cpu_to_le32(NVME_PRLI_SP_FIRST_BURST); cpu_to_le32(NVME_PRLI_SP_FIRST_BURST);
if (sp->vha->flags.nvme2_enabled) { if (sp->vha->flags.nvme2_enabled) {
/* Set service parameter BIT_7 for NVME CONF support */
logio->io_parameter[0] |= NVME_PRLI_SP_CONF;
/* Set service parameter BIT_8 for SLER support */ /* Set service parameter BIT_8 for SLER support */
logio->io_parameter[0] |= logio->io_parameter[0] |=
cpu_to_le32(NVME_PRLI_SP_SLER); cpu_to_le32(NVME_PRLI_SP_SLER);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册