Skip to content

Posts Tagged ‘Context ’

Let's start with the bottom line: the verbs API is fully thread safe and verbs can be called from every thread in the process. Part of the thread safe is implemented at the libibverbs level and part of it is...

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...

struct ibv_context *ibv_open_device(struct ibv_device *device);struct ibv_context *ibv_open_device(struct ibv_device *device); Description ibv_open_device() creates a context for the RDMA device device. This context will later be used to query its resources or for creating resources and should be released with ibv_close_device(). Unlike...