mirror of
https://github.com/ipxe/ipxe
synced 2026-01-14 09:58:52 +03:00
[infiniband] Add notion of a queue pair type
This commit is contained in:
@@ -286,7 +286,7 @@ int ib_create_sma ( struct ib_sma *sma, struct ib_device *ibdev ) {
|
||||
int rc;
|
||||
|
||||
/* Initialise GMA */
|
||||
if ( ( rc = ib_create_gma ( &sma->gma, ibdev, 0 ) ) != 0 ) {
|
||||
if ( ( rc = ib_create_gma ( &sma->gma, ibdev, IB_QPT_SMA ) ) != 0 ) {
|
||||
DBGC ( sma, "SMA %p could not create GMA: %s\n",
|
||||
sma, strerror ( rc ) );
|
||||
goto err_create_gma;
|
||||
|
||||
Reference in New Issue
Block a user