Skip to content

Monthly Archives: July 2012

int ibv_query_pkey(struct ibv_context *context, uint8_t port_num, int index, uint16_t *pkey)int ibv_query_pkey(struct ibv_context *context, uint8_t port_num, int index, uint16_t *pkey) Description ibv_query_pkey() returns the value of an index in The P_Key table of an RDMA device port's. The content of the...

int ibv_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr);int ibv_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr); Description ibv_query_port() returns the attributes of a port of an RDMA device context. Here is the full description of struct ibv_port_attr: Name Protocol...

int ibv_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr);int ibv_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr); Description ibv_query_device() returns the attributes of an RDMA device that is associated with a context. Here is the full description of struct ibv_device_attr: Name Description fw_ver A NULL...

int ibv_close_device(struct ibv_context *context);int ibv_close_device(struct ibv_context *context); Description ibv_close_device() closes an RDMA device context. ibv_close_device() won't release the resources that are associated with this context. It is up to the user to release them before calling to this verb, in order...