[infiniband] Add notion of a queue pair type

This commit is contained in:
Michael Brown
2009-07-09 03:09:00 +01:00
parent 3f4972db9a
commit 80c41b90d2
6 changed files with 27 additions and 10 deletions

View File

@@ -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;