Skip to content

Posts Tagged ‘verbs ’

const char *ibv_event_type_str(enum ibv_event_type event);const char *ibv_event_type_str(enum ibv_event_type event); Description ibv_event_type_str() returns a string that describes an asynchronous event type enumerated value. Parameters Name Direction Description event in The asynchronous event type that its string description is requested Return Values...

const char *ibv_port_state_str(enum ibv_port_state port_state);const char *ibv_port_state_str(enum ibv_port_state port_state); Description ibv_port_state_str() returns a string that describes a logical port state enumerated value. Parameters Name Direction Description port_state in The logical port state that its string description is requested Return Values...

const char *ibv_node_type_str(enum ibv_node_type node_type);const char *ibv_node_type_str(enum ibv_node_type node_type); Description ibv_node_type_str() returns a string that describes a node type enumerated value. Parameters Name Direction Description node_type in The node type that its string description is requested Return Values Value Description...

enum ibv_rate mult_to_ibv_rate(int mult);enum ibv_rate mult_to_ibv_rate(int mult); Description mult_to_ibv_rate() converts a multiplier value of 2.5 Gbit/sec to an InfiniBand transmission rate enumeration value. For example, if mult is 2, the rate enumeration IBV_RATE_5_GBPS will be returned. Parameters Name Direction Description...

int ibv_rate_to_mult(enum ibv_rate rate);int ibv_rate_to_mult(enum ibv_rate rate); Description ibv_rate_to_mult() converts an InfiniBand transmission enumeration rate to a multiple of 2.5 Gbit/sec (the base rate). For example, if rate is IBV_RATE_5_GBPS, the value 2 will be returned (5 Gbit/sec = 2...

int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); Description ibv_detach_mcast() detaches a Queue Pair from a multicast group. After the detachment completes, this QP won't get a copy of...

int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); Description ibv_attach_mcast() attaches a Queue Pair to a multicast group. After the attachment completes, this QP will be provided with a...

void ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents);void ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents); Description ibv_ack_cq_events() acknowledge Completion events. In order to prevent races, all of the Completion events that were read using ibv_get_cq_event() must be acknowledged using ibv_ack_cq_events(). Calling ibv_ack_cq_events()...

int ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq, void **cq_context);int ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq, void **cq_context); Description ibv_get_cq_event() waits for the next Completion event, according to the Completion event type that was requested using ibv_req_notify_cq() for a specific Completion...

int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only);int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only); Description ibv_req_notify_cq() requests a Completion Notification on a Completion Queue (CQ). ibv_req_notify_cq() requests a notification when the next Work Completion of a requested type is added to the CQ....