[golan] Set log_max_qp to 1

This is required to work around a bug in some firmware versions.

Signed-off-by: Ameer Mahagneh <ameerm@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Ameer Mahagneh
2018-03-20 17:55:04 +02:00
committed by Michael Brown
parent 3ec2079ce2
commit d5d4bf8870
2 changed files with 3 additions and 4 deletions

View File

@@ -363,7 +363,7 @@ static inline int golan_set_hca_cap(struct golan *golan)
DBGC( golan , "%s caps.log_pg_sz = %d\n", __FUNCTION__, golan->caps.log_pg_sz);
DBGC( golan , "%s caps.log_uar_sz = %d\n", __FUNCTION__, be32_to_cpu(golan->caps.uar_page_sz));
golan->caps.uar_page_sz = 0;
golan->caps.log_max_qp = GOLAN_LOG_MAX_QP;
memcpy(((struct golan_hca_cap *)GET_INBOX(golan, GEN_MBOX)),
&(golan->caps),