diff options
author | Michael Brown | 2009-07-09 04:09:00 +0200 |
---|---|---|
committer | Michael Brown | 2009-07-18 00:06:34 +0200 |
commit | 80c41b90d226b8f6d80feb221a4920a0e0a88da2 (patch) | |
tree | 376989d4c3e3daf6d1a2e1595742136858750e4b /src/include/gpxe/ib_gma.h | |
parent | [infiniband] Allow completion queue operations to be optional (diff) | |
download | ipxe-80c41b90d226b8f6d80feb221a4920a0e0a88da2.tar.gz ipxe-80c41b90d226b8f6d80feb221a4920a0e0a88da2.tar.xz ipxe-80c41b90d226b8f6d80feb221a4920a0e0a88da2.zip |
[infiniband] Add notion of a queue pair type
Diffstat (limited to 'src/include/gpxe/ib_gma.h')
-rw-r--r-- | src/include/gpxe/ib_gma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gpxe/ib_gma.h b/src/include/gpxe/ib_gma.h index d24b32db..9ba25ddf 100644 --- a/src/include/gpxe/ib_gma.h +++ b/src/include/gpxe/ib_gma.h @@ -18,6 +18,7 @@ struct ib_completion_queue; struct ib_queue_pair; union ib_mad; struct ib_gma; +enum ib_queue_pair_type; /** A GMA attribute handler */ struct ib_gma_handler { @@ -68,7 +69,7 @@ struct ib_gma { extern int ib_gma_request ( struct ib_gma *gma, union ib_mad *mad, struct ib_address_vector *av, int retry ); extern int ib_create_gma ( struct ib_gma *gma, struct ib_device *ibdev, - unsigned long qkey ); + enum ib_queue_pair_type type ); extern void ib_destroy_gma ( struct ib_gma *gma ); #endif /* _GPXE_IB_GMA_H */ |