A previous commit assumed all XMIT_SEQ64_WQEs are prepped with the correct BDE type in word 0-2. However, lpfc_ct_reject_event() routine was missed and is still filling out the incorrect BDE type. Fix lpfc_ct_reject_event() routine so that type BUFF_TYPE_BDE_64 is set instead of BUFF_TYPE_BLP_64.
Unified · Split
| @@ -197,7 +197,7 @@ lpfc_ct_reject_event(struct lpfc_nodelist *ndlp, · 196 unmodified lines | |||
| 197 | memset(bpl, 0, sizeof(struct ulp_bde64)); | 197 | memset(bpl, 0, sizeof(struct ulp_bde64)); |
| 198 | bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); | 198 | bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); |
| 199 | bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); | 199 | bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); |
| 200 | bpl->tus.f.bdeFlags = BUFF_TYPE_BLP_64; | 200 | bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; |
| 201 | bpl->tus.f.bdeSize = (LPFC_CT_PREAMBLE - 4); | 201 | bpl->tus.f.bdeSize = (LPFC_CT_PREAMBLE - 4); |
| 202 | bpl->tus.w = le32_to_cpu(bpl->tus.w); | 202 | bpl->tus.w = le32_to_cpu(bpl->tus.w); |
| 203 | 203 | ||