mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 22:11:08 +03:00
[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:
committed by
Michael Brown
parent
3ec2079ce2
commit
d5d4bf8870
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user