scsi: lpfc: Fix RCTL value on NVME LS request and response
NVME LS requests and responses had wrong R_CTL values. Use the FC4 ELS Request and Response defines (defines badly named, they are FC4 LS's) instead of the base ELS values. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
5d181531bc
commit
8b3616392d
|
@ -316,7 +316,7 @@ lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp,
|
|||
bf_set(wqe_dfctl, &wqe->gen_req.wge_ctl, 0);
|
||||
bf_set(wqe_si, &wqe->gen_req.wge_ctl, 1);
|
||||
bf_set(wqe_la, &wqe->gen_req.wge_ctl, 1);
|
||||
bf_set(wqe_rctl, &wqe->gen_req.wge_ctl, FC_RCTL_DD_UNSOL_CTL);
|
||||
bf_set(wqe_rctl, &wqe->gen_req.wge_ctl, FC_RCTL_ELS4_REQ);
|
||||
bf_set(wqe_type, &wqe->gen_req.wge_ctl, FC_TYPE_NVME);
|
||||
|
||||
/* Word 6 */
|
||||
|
|
|
@ -1114,7 +1114,7 @@ lpfc_nvmet_prep_ls_wqe(struct lpfc_hba *phba,
|
|||
bf_set(wqe_dfctl, &wqe->xmit_sequence.wge_ctl, 0);
|
||||
bf_set(wqe_ls, &wqe->xmit_sequence.wge_ctl, 1);
|
||||
bf_set(wqe_la, &wqe->xmit_sequence.wge_ctl, 0);
|
||||
bf_set(wqe_rctl, &wqe->xmit_sequence.wge_ctl, FC_RCTL_DD_SOL_CTL);
|
||||
bf_set(wqe_rctl, &wqe->xmit_sequence.wge_ctl, FC_RCTL_ELS4_REP);
|
||||
bf_set(wqe_type, &wqe->xmit_sequence.wge_ctl, FC_TYPE_NVME);
|
||||
|
||||
/* Word 6 */
|
||||
|
|
Loading…
Reference in New Issue