mirror of
https://github.com/ipxe/ipxe
synced 2026-01-15 11:39:36 +03:00
[infiniband] Centralise SMA and GMA queue constants
This commit is contained in:
@@ -460,7 +460,7 @@ int ib_create_sma ( struct ib_sma *sma, struct ib_device *ibdev,
|
||||
ib_qp_set_ownerdata ( sma->qp, sma );
|
||||
|
||||
/* If we don't get QP0, we can't function */
|
||||
if ( sma->qp->qpn != IB_QPN_SMP ) {
|
||||
if ( sma->qp->qpn != IB_QPN_SMA ) {
|
||||
DBGC ( sma, "SMA %p on QPN %lx, needs to be on QPN 0\n",
|
||||
sma, sma->qp->qpn );
|
||||
rc = -ENOTSUP;
|
||||
|
||||
Reference in New Issue
Block a user