|
int | ib_rate_to_mult (enum ib_rate rate) |
|
| EXPORT_SYMBOL (ib_rate_to_mult) |
|
enum ib_rate | mult_to_ib_rate (int mult) |
|
| EXPORT_SYMBOL (mult_to_ib_rate) |
|
int | ib_rate_to_mbps (enum ib_rate rate) |
|
| EXPORT_SYMBOL (ib_rate_to_mbps) |
|
enum rdma_transport_type | rdma_node_get_transport (enum rdma_node_type node_type) |
|
| EXPORT_SYMBOL (rdma_node_get_transport) |
|
enum rdma_link_layer | rdma_port_get_link_layer (struct ib_device *device, u8 port_num) |
|
| EXPORT_SYMBOL (rdma_port_get_link_layer) |
|
struct ib_pd * | ib_alloc_pd (struct ib_device *device) |
|
| EXPORT_SYMBOL (ib_alloc_pd) |
|
int | ib_dealloc_pd (struct ib_pd *pd) |
|
| EXPORT_SYMBOL (ib_dealloc_pd) |
|
struct ib_ah * | ib_create_ah (struct ib_pd *pd, struct ib_ah_attr *ah_attr) |
|
| EXPORT_SYMBOL (ib_create_ah) |
|
int | ib_init_ah_from_wc (struct ib_device *device, u8 port_num, struct ib_wc *wc, struct ib_grh *grh, struct ib_ah_attr *ah_attr) |
|
| EXPORT_SYMBOL (ib_init_ah_from_wc) |
|
struct ib_ah * | ib_create_ah_from_wc (struct ib_pd *pd, struct ib_wc *wc, struct ib_grh *grh, u8 port_num) |
|
| EXPORT_SYMBOL (ib_create_ah_from_wc) |
|
int | ib_modify_ah (struct ib_ah *ah, struct ib_ah_attr *ah_attr) |
|
| EXPORT_SYMBOL (ib_modify_ah) |
|
int | ib_query_ah (struct ib_ah *ah, struct ib_ah_attr *ah_attr) |
|
| EXPORT_SYMBOL (ib_query_ah) |
|
int | ib_destroy_ah (struct ib_ah *ah) |
|
| EXPORT_SYMBOL (ib_destroy_ah) |
|
struct ib_srq * | ib_create_srq (struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr) |
|
| EXPORT_SYMBOL (ib_create_srq) |
|
int | ib_modify_srq (struct ib_srq *srq, struct ib_srq_attr *srq_attr, enum ib_srq_attr_mask srq_attr_mask) |
|
| EXPORT_SYMBOL (ib_modify_srq) |
|
int | ib_query_srq (struct ib_srq *srq, struct ib_srq_attr *srq_attr) |
|
| EXPORT_SYMBOL (ib_query_srq) |
|
int | ib_destroy_srq (struct ib_srq *srq) |
|
| EXPORT_SYMBOL (ib_destroy_srq) |
|
struct ib_qp * | ib_open_qp (struct ib_xrcd *xrcd, struct ib_qp_open_attr *qp_open_attr) |
|
| EXPORT_SYMBOL (ib_open_qp) |
|
struct ib_qp * | ib_create_qp (struct ib_pd *pd, struct ib_qp_init_attr *qp_init_attr) |
|
| EXPORT_SYMBOL (ib_create_qp) |
|
int | ib_modify_qp_is_ok (enum ib_qp_state cur_state, enum ib_qp_state next_state, enum ib_qp_type type, enum ib_qp_attr_mask mask) |
|
| EXPORT_SYMBOL (ib_modify_qp_is_ok) |
|
int | ib_modify_qp (struct ib_qp *qp, struct ib_qp_attr *qp_attr, int qp_attr_mask) |
|
| EXPORT_SYMBOL (ib_modify_qp) |
|
int | ib_query_qp (struct ib_qp *qp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) |
|
| EXPORT_SYMBOL (ib_query_qp) |
|
int | ib_close_qp (struct ib_qp *qp) |
|
| EXPORT_SYMBOL (ib_close_qp) |
|
int | ib_destroy_qp (struct ib_qp *qp) |
|
| EXPORT_SYMBOL (ib_destroy_qp) |
|
struct ib_cq * | ib_create_cq (struct ib_device *device, ib_comp_handler comp_handler, void(*event_handler)(struct ib_event *, void *), void *cq_context, int cqe, int comp_vector) |
|
| EXPORT_SYMBOL (ib_create_cq) |
|
int | ib_modify_cq (struct ib_cq *cq, u16 cq_count, u16 cq_period) |
|
| EXPORT_SYMBOL (ib_modify_cq) |
|
int | ib_destroy_cq (struct ib_cq *cq) |
|
| EXPORT_SYMBOL (ib_destroy_cq) |
|
int | ib_resize_cq (struct ib_cq *cq, int cqe) |
|
| EXPORT_SYMBOL (ib_resize_cq) |
|
struct ib_mr * | ib_get_dma_mr (struct ib_pd *pd, int mr_access_flags) |
|
| EXPORT_SYMBOL (ib_get_dma_mr) |
|
struct ib_mr * | ib_reg_phys_mr (struct ib_pd *pd, struct ib_phys_buf *phys_buf_array, int num_phys_buf, int mr_access_flags, u64 *iova_start) |
|
| EXPORT_SYMBOL (ib_reg_phys_mr) |
|
int | ib_rereg_phys_mr (struct ib_mr *mr, int mr_rereg_mask, struct ib_pd *pd, struct ib_phys_buf *phys_buf_array, int num_phys_buf, int mr_access_flags, u64 *iova_start) |
|
| EXPORT_SYMBOL (ib_rereg_phys_mr) |
|
int | ib_query_mr (struct ib_mr *mr, struct ib_mr_attr *mr_attr) |
|
| EXPORT_SYMBOL (ib_query_mr) |
|
int | ib_dereg_mr (struct ib_mr *mr) |
|
| EXPORT_SYMBOL (ib_dereg_mr) |
|
struct ib_mr * | ib_alloc_fast_reg_mr (struct ib_pd *pd, int max_page_list_len) |
|
| EXPORT_SYMBOL (ib_alloc_fast_reg_mr) |
|
struct ib_fast_reg_page_list * | ib_alloc_fast_reg_page_list (struct ib_device *device, int max_page_list_len) |
|
| EXPORT_SYMBOL (ib_alloc_fast_reg_page_list) |
|
void | ib_free_fast_reg_page_list (struct ib_fast_reg_page_list *page_list) |
|
| EXPORT_SYMBOL (ib_free_fast_reg_page_list) |
|
struct ib_mw * | ib_alloc_mw (struct ib_pd *pd) |
|
| EXPORT_SYMBOL (ib_alloc_mw) |
|
int | ib_dealloc_mw (struct ib_mw *mw) |
|
| EXPORT_SYMBOL (ib_dealloc_mw) |
|
struct ib_fmr * | ib_alloc_fmr (struct ib_pd *pd, int mr_access_flags, struct ib_fmr_attr *fmr_attr) |
|
| EXPORT_SYMBOL (ib_alloc_fmr) |
|
int | ib_unmap_fmr (struct list_head *fmr_list) |
|
| EXPORT_SYMBOL (ib_unmap_fmr) |
|
int | ib_dealloc_fmr (struct ib_fmr *fmr) |
|
| EXPORT_SYMBOL (ib_dealloc_fmr) |
|
int | ib_attach_mcast (struct ib_qp *qp, union ib_gid *gid, u16 lid) |
|
| EXPORT_SYMBOL (ib_attach_mcast) |
|
int | ib_detach_mcast (struct ib_qp *qp, union ib_gid *gid, u16 lid) |
|
| EXPORT_SYMBOL (ib_detach_mcast) |
|
struct ib_xrcd * | ib_alloc_xrcd (struct ib_device *device) |
|
| EXPORT_SYMBOL (ib_alloc_xrcd) |
|
int | ib_dealloc_xrcd (struct ib_xrcd *xrcd) |
|
| EXPORT_SYMBOL (ib_dealloc_xrcd) |
|
ib_alloc_fast_reg_page_list - Allocates a page list array - ib device pointer. - size of the page list array to be allocated.
This allocates and returns a struct ib_fast_reg_page_list * and a page_list array that is at least page_list_len in size. The actual size is returned in max_page_list_len. The caller is responsible for initializing the contents of the page_list array before posting a send work request with the IB_WC_FAST_REG_MR opcode.
The page_list array entries must be translated using one of the ib_dma_*() functions just like the addresses passed to ib_map_phys_fmr(). Once the ib_post_send() is issued, the struct ib_fast_reg_page_list must not be modified by the caller until the IB_WC_FAST_REG_MR work request completes.
Definition at line 1075 of file verbs.c.
ib_create_srq - Creates a SRQ associated with the specified protection domain. : The protection domain associated with the SRQ. : A list of initial attributes required to create the SRQ. If SRQ creation succeeds, then the attributes are updated to the actual capabilities of the created SRQ.
srq_attr->max_wr and srq_attr->max_sge are read the determine the requested size of the SRQ, and set to the actual values allocated on return. If ib_create_srq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.
Definition at line 264 of file verbs.c.
ib_modify_qp_is_ok - Check that the supplied attribute mask contains all required attributes and no attributes not allowed for the given QP state transition. : Current QP state : Next QP state : QP type : Mask of supplied QP attributes
This function is a helper function that a low-level driver's modify_qp method can use to validate the consumer's input. It checks that cur_state and next_state are valid QP states, that a transition from cur_state to next_state is allowed by the IB spec, and that the attribute mask supplied is allowed for the transition.
Definition at line 774 of file verbs.c.
ib_rereg_phys_mr - Modifies the attributes of an existing memory region. Conceptually, this call performs the functions deregister memory region followed by register physical memory region. Where possible, resources are reused instead of deallocated and reallocated. : The memory region to modify. : A bit-mask used to indicate which of the following properties of the memory region are being modified. : If IB_MR_REREG_PD is set in mr_rereg_mask, this field specifies the new protection domain to associated with the memory region, otherwise, this parameter is ignored. : If IB_MR_REREG_TRANS is set in mr_rereg_mask, this field specifies a list of physical buffers to use in the new translation, otherwise, this parameter is ignored. : If IB_MR_REREG_TRANS is set in mr_rereg_mask, this field specifies the size of the phys_buf_array, otherwise, this parameter is ignored. : If IB_MR_REREG_ACCESS is set in mr_rereg_mask, this field specifies the new memory access rights, otherwise, this parameter is ignored. : The offset of the region's starting I/O virtual address.
Definition at line 998 of file verbs.c.