rdma_vt.h (ff6acd69518e0a84bd9c9b7f1bd4313f7076db97) | rdma_vt.h (3711baf27d78475436b063f33399908ba208a8f2) |
---|---|
1#ifndef DEF_RDMA_VT_H 2#define DEF_RDMA_VT_H 3 4/* 5 * Copyright(c) 2015 Intel Corporation. 6 * 7 * This file is provided under a dual BSD/GPLv2 license. When using or 8 * redistributing this file, you may do so under either license. --- 122 unchanged lines hidden (view full) --- 131 /* 132 * The pkey table is allocated and maintained by the driver. Drivers 133 * need to have access to this before registering with rdmav. However 134 * rdmavt will need access to it so drivers need to proviee this during 135 * the attach port API call. 136 */ 137 u16 *pkey_table; 138 | 1#ifndef DEF_RDMA_VT_H 2#define DEF_RDMA_VT_H 3 4/* 5 * Copyright(c) 2015 Intel Corporation. 6 * 7 * This file is provided under a dual BSD/GPLv2 license. When using or 8 * redistributing this file, you may do so under either license. --- 122 unchanged lines hidden (view full) --- 131 /* 132 * The pkey table is allocated and maintained by the driver. Drivers 133 * need to have access to this before registering with rdmav. However 134 * rdmavt will need access to it so drivers need to proviee this during 135 * the attach port API call. 136 */ 137 u16 *pkey_table; 138 |
139 /* TODO: Move sm_ah and smi_ah into here as well*/ | 139 struct rvt_ah *sm_ah; 140 struct rvt_ah *smi_ah; |
140}; 141 142#define RVT_CQN_MAX 16 /* maximum length of cq name */ 143 144/* 145 * Things that are driver specific, module parameters in hfi1 and qib 146 */ 147struct rvt_driver_params { --- 110 unchanged lines hidden (view full) --- 258 enum ib_qp_type type, u8 port, gfp_t gfp); 259 /** 260 * Return 0 if modification is valid, -errno otherwise 261 */ 262 int (*check_modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr, 263 int attr_mask, struct ib_udata *udata); 264 void (*modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr, 265 int attr_mask, struct ib_udata *udata); | 141}; 142 143#define RVT_CQN_MAX 16 /* maximum length of cq name */ 144 145/* 146 * Things that are driver specific, module parameters in hfi1 and qib 147 */ 148struct rvt_driver_params { --- 110 unchanged lines hidden (view full) --- 259 enum ib_qp_type type, u8 port, gfp_t gfp); 260 /** 261 * Return 0 if modification is valid, -errno otherwise 262 */ 263 int (*check_modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr, 264 int attr_mask, struct ib_udata *udata); 265 void (*modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr, 266 int attr_mask, struct ib_udata *udata); |
267 268 void (*notify_create_mad_agent)(struct rvt_dev_info *rdi, int port_idx); 269 void (*notify_free_mad_agent)(struct rvt_dev_info *rdi, int port_idx); |
|
266}; 267 268struct rvt_dev_info { 269 struct ib_device ibdev; /* Keep this first. Nothing above here */ 270 271 /* 272 * Prior to calling for registration the driver will be responsible for 273 * allocating space for this structure. --- 149 unchanged lines hidden --- | 270}; 271 272struct rvt_dev_info { 273 struct ib_device ibdev; /* Keep this first. Nothing above here */ 274 275 /* 276 * Prior to calling for registration the driver will be responsible for 277 * allocating space for this structure. --- 149 unchanged lines hidden --- |