mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 17:41:18 +03:00
[infiniband] Add notion of a queue pair type
This commit is contained in:
@@ -519,7 +519,8 @@ static int ipoib_open ( struct net_device *netdev ) {
|
||||
}
|
||||
|
||||
/* Allocate queue pair */
|
||||
ipoib->qp = ib_create_qp ( ibdev, IPOIB_NUM_SEND_WQES, ipoib->cq,
|
||||
ipoib->qp = ib_create_qp ( ibdev, IB_QPT_UD,
|
||||
IPOIB_NUM_SEND_WQES, ipoib->cq,
|
||||
IPOIB_NUM_RECV_WQES, ipoib->cq, 0 );
|
||||
if ( ! ipoib->qp ) {
|
||||
DBGC ( ipoib, "IPoIB %p could not allocate queue pair\n",
|
||||
|
||||
Reference in New Issue
Block a user