Module ibverbs::ffi [] [src]

Direct access to low-level libverbs FFI.

Structs

__BindgenUnionField
__pthread_internal_list
_ibv_device_ops
ibv_access_flags
ibv_ah
ibv_ah_attr
ibv_async_event
ibv_async_event__bindgen_ty_1
ibv_comp_channel
ibv_context
ibv_context_ops
ibv_cq
ibv_cq_ex
ibv_cq_init_attr_ex
ibv_device
ibv_device_attr
ibv_device_attr_ex
ibv_flow
ibv_flow_attr
ibv_flow_eth_filter
ibv_flow_ipv4_ext_filter
ibv_flow_ipv4_filter
ibv_flow_ipv6_filter
ibv_flow_spec
ibv_flow_spec__bindgen_ty_1
ibv_flow_spec__bindgen_ty_1__bindgen_ty_1
ibv_flow_spec_action_tag
ibv_flow_spec_eth
ibv_flow_spec_ipv4
ibv_flow_spec_ipv6
ibv_flow_spec_ipv4_ext
ibv_flow_spec_tcp_udp
ibv_flow_spec_tunnel
ibv_flow_tcp_udp_filter
ibv_flow_tunnel_filter
ibv_gid
ibv_gid__bindgen_ty_1
ibv_global_route
ibv_grh
ibv_mr
ibv_mw
ibv_mw_bind
ibv_mw_bind_info
ibv_odp_caps
ibv_odp_caps__bindgen_ty_1
ibv_packet_pacing_caps
ibv_pd
ibv_poll_cq_attr
ibv_port_attr
ibv_qp
ibv_qp_attr
ibv_qp_attr_mask
ibv_qp_cap
ibv_qp_init_attr
ibv_qp_init_attr_ex
ibv_qp_open_attr
ibv_query_device_ex_input
ibv_recv_wr
ibv_rss_caps
ibv_rwq_ind_table
ibv_rwq_ind_table_init_attr
ibv_rx_hash_conf
ibv_send_flags
ibv_send_wr
ibv_send_wr__bindgen_ty_1
ibv_send_wr__bindgen_ty_2
ibv_send_wr__bindgen_ty_3
ibv_send_wr__bindgen_ty_1__bindgen_ty_1
ibv_send_wr__bindgen_ty_1__bindgen_ty_2
ibv_send_wr__bindgen_ty_1__bindgen_ty_3
ibv_send_wr__bindgen_ty_2__bindgen_ty_1
ibv_send_wr__bindgen_ty_3__bindgen_ty_1
ibv_send_wr__bindgen_ty_3__bindgen_ty_2
ibv_sge
ibv_srq
ibv_srq_attr
ibv_srq_init_attr
ibv_srq_init_attr_ex
ibv_tso_caps
ibv_values_ex
ibv_wc

An ibverb work completion.

ibv_wc_flags
ibv_wq
ibv_wq_attr
ibv_wq_init_attr
ibv_xrcd
ibv_xrcd_init_attr
pthread_cond_t
pthread_cond_t__bindgen_ty_1
pthread_mutex_t
pthread_mutex_t___pthread_mutex_s
timespec

Enums

ibv_atomic_cap
ibv_cq_init_attr_mask
ibv_create_cq_attr_flags
ibv_create_cq_wc_flags
ibv_device_cap_flags
ibv_event_type
ibv_flow_attr_type
ibv_flow_flags
ibv_flow_spec_type
ibv_ind_table_init_attr_mask
ibv_mig_state
ibv_mtu
ibv_mw_type
ibv_node_type
ibv_odp_general_caps
ibv_odp_transport_cap_bits
ibv_port_cap_flags
ibv_port_state
ibv_qp_create_flags
ibv_qp_init_attr_mask
ibv_qp_open_attr_mask
ibv_qp_state
ibv_qp_type
ibv_rate
ibv_raw_packet_caps
ibv_rereg_mr_err_code
ibv_rereg_mr_flags
ibv_rx_hash_fields
ibv_rx_hash_function_flags
ibv_srq_attr_mask
ibv_srq_init_attr_mask
ibv_srq_type
ibv_transport_type
ibv_values_mask
ibv_wc_opcode
ibv_wc_status
ibv_wq_attr_mask
ibv_wq_flags
ibv_wq_init_attr_mask
ibv_wq_state
ibv_wq_type
ibv_wr_opcode
ibv_xrcd_init_attr_mask

Constants

IBV_ACCESS_LOCAL_WRITE
IBV_ACCESS_MW_BIND
IBV_ACCESS_ON_DEMAND
IBV_ACCESS_REMOTE_ATOMIC
IBV_ACCESS_REMOTE_READ
IBV_ACCESS_REMOTE_WRITE
IBV_ACCESS_ZERO_BASED
IBV_QP_ACCESS_FLAGS
IBV_QP_ALT_PATH
IBV_QP_AV
IBV_QP_CAP
IBV_QP_CUR_STATE
IBV_QP_DEST_QPN
IBV_QP_EN_SQD_ASYNC_NOTIFY
IBV_QP_MAX_DEST_RD_ATOMIC
IBV_QP_MAX_QP_RD_ATOMIC
IBV_QP_MIN_RNR_TIMER
IBV_QP_PATH_MIG_STATE
IBV_QP_PATH_MTU
IBV_QP_PKEY_INDEX
IBV_QP_PORT
IBV_QP_QKEY
IBV_QP_RATE_LIMIT
IBV_QP_RETRY_CNT
IBV_QP_RNR_RETRY
IBV_QP_RQ_PSN
IBV_QP_SQ_PSN
IBV_QP_STATE
IBV_QP_TIMEOUT
IBV_SEND_FENCE
IBV_SEND_INLINE
IBV_SEND_IP_CSUM
IBV_SEND_SIGNALED
IBV_SEND_SOLICITED
IBV_WC_GRH
IBV_WC_IP_CSUM_OK
IBV_WC_WITH_IMM
IBV_WC_WITH_INV

Functions

ibv_ack_async_event

ibv_ack_async_event - Acknowledge an async event @event: Event to be acknowledged.

ibv_ack_cq_events

ibv_ack_cq_events - Acknowledge CQ completion events @cq: CQ to acknowledge events for @nevents: Number of events to acknowledge.

ibv_alloc_pd

ibv_alloc_pd - Allocate a protection domain

ibv_attach_mcast

ibv_attach_mcast - Attaches the specified QP to a multicast group. @qp: QP to attach to the multicast group. The QP must be a UD QP. @gid: Multicast group GID. @lid: Multicast group LID in host byte order.

ibv_close_device

ibv_close_device - Release device

ibv_create_ah

ibv_create_ah - Create an address handle.

ibv_create_ah_from_wc

ibv_create_ah_from_wc - Creates an address handle associated with the sender of the specified work completion. @pd: The protection domain associated with the address handle. @wc: Work completion information associated with a received message. @grh: References the received global route header. This parameter is ignored unless the work completion indicates that the GRH is valid. @port_num: The outbound port number to associate with the address.

ibv_create_comp_channel

ibv_create_comp_channel - Create a completion event channel

ibv_create_cq

ibv_create_cq - Create a completion queue @context - Context CQ will be attached to @cqe - Minimum number of entries required for CQ @cq_context - Consumer-supplied context returned for completion events @channel - Completion channel where completion events will be queued. May be NULL if completion events will not be used. @comp_vector - Completion vector used to signal completion events. Must be >= 0 and < context->num_comp_vectors.

ibv_create_qp

ibv_create_qp - Create a queue pair.

ibv_create_srq

ibv_create_srq - Creates a SRQ associated with the specified protection domain. @pd: The protection domain associated with the SRQ. @srq_init_attr: A list of initial attributes required to create the SRQ.

ibv_dealloc_pd

ibv_dealloc_pd - Free a protection domain

ibv_dereg_mr

ibv_dereg_mr - Deregister a memory region

ibv_destroy_ah

ibv_destroy_ah - Destroy an address handle.

ibv_destroy_comp_channel

ibv_destroy_comp_channel - Destroy a completion event channel

ibv_destroy_cq

ibv_destroy_cq - Destroy a completion queue

ibv_destroy_qp

ibv_destroy_qp - Destroy a queue pair.

ibv_destroy_srq

ibv_destroy_srq - Destroys the specified SRQ. @srq: The SRQ to destroy.

ibv_detach_mcast

ibv_detach_mcast - Detaches the specified QP from a multicast group. @qp: QP to detach from the multicast group. @gid: Multicast group GID. @lid: Multicast group LID in host byte order.

ibv_event_type_str

ibv_event_type_str - Return string describing event_type enum value

ibv_fork_init

ibv_fork_init - Prepare data structures so that fork() may be used safely. If this function is not called or returns a non-zero status, then libibverbs data structures are not fork()-safe and the effect of an application calling fork() is undefined.

ibv_free_device_list

ibv_free_device_list - Free list from ibv_get_device_list()

ibv_get_async_event

ibv_get_async_event - Get next async event @event: Pointer to use to return async event

ibv_get_cq_event

ibv_get_cq_event - Read next CQ event @channel: Channel to get next event from. @cq: Used to return pointer to CQ. @cq_context: Used to return consumer-supplied CQ context.

ibv_get_device_guid

ibv_get_device_guid - Return device's node GUID

ibv_get_device_list

ibv_get_device_list - Get list of IB devices currently available @num_devices: optional. if non-NULL, set to the number of devices returned in the array.

ibv_get_device_name

ibv_get_device_name - Return kernel device name

ibv_init_ah_from_wc

ibv_init_ah_from_wc - Initializes address handle attributes from a work completion. @context: Device context on which the received message arrived. @port_num: Port on which the received message arrived. @wc: Work completion associated with the received message. @grh: References the received global route header. This parameter is ignored unless the work completion indicates that the GRH is valid. @ah_attr: Returned attributes that can be used when creating an address handle for replying to the message.

ibv_modify_qp

ibv_modify_qp - Modify a queue pair.

ibv_modify_srq

ibv_modify_srq - Modifies the attributes for the specified SRQ. @srq: The SRQ to modify. @srq_attr: On input, specifies the SRQ attributes to modify. On output, the current values of selected SRQ attributes are returned. @srq_attr_mask: A bit-mask used to specify which attributes of the SRQ are being modified.

ibv_node_type_str

ibv_node_type_str - Return string describing node_type enum value

ibv_open_device

ibv_open_device - Initialize device for use

ibv_port_state_str

ibv_port_state_str - Return string describing port_state enum value

ibv_query_device

ibv_query_device - Get device properties

ibv_query_gid

ibv_query_gid - Get a GID table entry

ibv_query_pkey

ibv_query_pkey - Get a P_Key table entry

ibv_query_port

ibv_query_port - Get port properties

ibv_query_qp

ibv_query_qp - Returns the attribute list and current values for the specified QP. @qp: The QP to query. @attr: The attributes of the specified QP. @attr_mask: A bit-mask used to select specific attributes to query. @init_attr: Additional attributes of the selected QP.

ibv_query_srq

ibv_query_srq - Returns the attribute list and current values for the specified SRQ. @srq: The SRQ to query. @srq_attr: The attributes of the specified SRQ.

ibv_rate_to_mbps

ibv_rate_to_mbps - Convert the IB rate enum to Mbit/sec. For example, IBV_RATE_5_GBPS will return the value 5000. @rate: rate to convert.

ibv_rate_to_mult

ibv_rate_to_mult - Convert the IB rate enum to a multiple of the base rate of 2.5 Gbit/sec. For example, IBV_RATE_5_GBPS will be converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec. @rate: rate to convert.

ibv_reg_mr

ibv_reg_mr - Register a memory region

ibv_rereg_mr

ibv_rereg_mr - Re-Register a memory region

ibv_resize_cq

ibv_resize_cq - Modifies the capacity of the CQ. @cq: The CQ to resize. @cqe: The minimum size of the CQ.

ibv_resolve_eth_l2_from_gid
ibv_wc_status_str

Type Definitions

__be16
__be32
__be64
__pthread_list_t
__syscall_slong_t
__time_t
__u16
__u32
__u64