diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 19:19:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 19:19:32 -0400 |
commit | 8aee74c8ee875448cc6d1cf995c9469eb60ae515 (patch) | |
tree | 9e9f57dd7fe321825d7e39472cf44777c82f39cf /include/rdma/ib_verbs.h | |
parent | 080e89270a7bfb7d01fac9a67050f8ac6d6cdd11 (diff) | |
parent | 9f81036c54ed1f860d2807c5a6aa4f2b30c21204 (diff) |
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
IB/cm: Improve local id allocation
IPoIB/cm: Fix SRQ WR leak
IB/ipoib: Fix typos in error messages
IB/mlx4: Check if SRQ is full when posting receive
IB/mlx4: Pass send queue sizes from userspace to kernel
IB/mlx4: Fix check of opcode in mlx4_ib_post_send()
mlx4_core: Fix array overrun in dump_dev_cap_flags()
IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions
IB/mthca: Fix RESET to ERROR transition
IB/mlx4: Set GRH:HopLimit when sending globally routed MADs
IB/mthca: Set GRH:HopLimit when building MLX headers
IB/mlx4: Fix check of max_qp_dest_rdma in modify QP
IB/mthca: Fix use-after-free on device restart
IB/ehca: Return proper error code if register_mr fails
IPoIB: Handle P_Key table reordering
IB/core: Use start_port() and end_port()
IB/core: Add helpers for uncached GID and P_Key searches
IB/ipath: Fix potential deadlock with multicast spinlocks
IB/core: Free umem when mm is already gone
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 47cefca59c89..0627a6aa282a 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -890,6 +890,8 @@ struct ib_device { | |||
890 | spinlock_t client_data_lock; | 890 | spinlock_t client_data_lock; |
891 | 891 | ||
892 | struct ib_cache cache; | 892 | struct ib_cache cache; |
893 | int *pkey_tbl_len; | ||
894 | int *gid_tbl_len; | ||
893 | 895 | ||
894 | u32 flags; | 896 | u32 flags; |
895 | 897 | ||
@@ -1118,6 +1120,12 @@ int ib_modify_port(struct ib_device *device, | |||
1118 | u8 port_num, int port_modify_mask, | 1120 | u8 port_num, int port_modify_mask, |
1119 | struct ib_port_modify *port_modify); | 1121 | struct ib_port_modify *port_modify); |
1120 | 1122 | ||
1123 | int ib_find_gid(struct ib_device *device, union ib_gid *gid, | ||
1124 | u8 *port_num, u16 *index); | ||
1125 | |||
1126 | int ib_find_pkey(struct ib_device *device, | ||
1127 | u8 port_num, u16 pkey, u16 *index); | ||
1128 | |||
1121 | /** | 1129 | /** |
1122 | * ib_alloc_pd - Allocates an unused protection domain. | 1130 | * ib_alloc_pd - Allocates an unused protection domain. |
1123 | * @device: The device on which to allocate the protection domain. | 1131 | * @device: The device on which to allocate the protection domain. |