mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
[infiniband] Assign names to queue pairs
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -3242,7 +3242,7 @@ static int hermon_eth_open ( struct net_device *netdev ) {
|
||||
port->eth_qp = ib_create_qp ( ibdev, IB_QPT_ETH,
|
||||
HERMON_ETH_NUM_SEND_WQES, port->eth_cq,
|
||||
HERMON_ETH_NUM_RECV_WQES, port->eth_cq,
|
||||
&hermon_eth_qp_op );
|
||||
&hermon_eth_qp_op, netdev->name );
|
||||
if ( ! port->eth_qp ) {
|
||||
DBGC ( hermon, "Hermon %p port %d could not create queue "
|
||||
"pair\n", hermon, ibdev->port );
|
||||
|
||||
@@ -865,7 +865,7 @@ static int ipoib_open ( struct net_device *netdev ) {
|
||||
/* Allocate queue pair */
|
||||
ipoib->qp = ib_create_qp ( ibdev, IB_QPT_UD, IPOIB_NUM_SEND_WQES,
|
||||
ipoib->cq, IPOIB_NUM_RECV_WQES, ipoib->cq,
|
||||
&ipoib_qp_op );
|
||||
&ipoib_qp_op, netdev->name );
|
||||
if ( ! ipoib->qp ) {
|
||||
DBGC ( ipoib, "IPoIB %p could not allocate queue pair\n",
|
||||
ipoib );
|
||||
|
||||
Reference in New Issue
Block a user