RDMA/nes: set assume_alligned_header bit
PATCH v2 1/1 RDMA/nes: set assume_alligned_header bit
set assume_alligned_header bit set in qp context as requested by hardware group.
Signed-off-by Faisal Latif <[email protected]>
---
v2 change:
As recommended by Roland, Combine NES_QPCONTEXT_ORDIRD_AAH with the NES_QPCONTEXT_ORDIRD_ALSMM for ird_ord_sizes.
drivers/infiniband/hw/nes/nes_verbs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/infiniband/hw/nes/nes_verbs.c +1 -0
@@ -1323,6 +1323,7 @@ static struct ib_qp *nes_create_qp(struct ib_pd *ibpd, nesqp->nesqp_context->aeq_token_low =cpu_to_le32 ((u32)((unsigned long )(nesqp))); nesqp->nesqp_context->aeq_token_high =cpu_to_le32 ((u32)(upper_32_bits ((unsigned long )(nesqp)))); nesqp->nesqp_context->ird_ord_sizes =cpu_to_le32 (NES_QPCONTEXT_ORDIRD_ALSMM | +NES_QPCONTEXT_ORDIRD_AAH | ((((u32 )nesadapter->max_irrq_wr) <<NES_QPCONTEXT_ORDIRD_IRDSIZE_SHIFT ) &NES_QPCONTEXT_ORDIRD_IRDSIZE_MASK ));if (disable_mpa_crc) {
Signature · 6 lines
1.6.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Roland Dreier
Appliedthanks, applied.
Signature · 7 lines
Roland Dreier <[email protected]> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html