ibv_modify_wq(3) — Linux manual page
IBV_MODIFY_WQ(3) Libibverbs Programmer's Manual IBV_MODIFY_WQ(3)
NAME
ibv_modify_wq - Modify a Work Queue (WQ).
SYNOPSIS
#include <infiniband/verbs.h> struct int ibv_modify_wq(struct ibv_wq *wq, struct ibv_wq_attr *wq_attr);
DESCRIPTION
ibv_modify_wq() modifys a WQ wq. The argument wq_attr is an ibv_wq_attr struct, as defined in <infiniband/verbs.h>. struct ibv_wq_attr { uint32_t attr_mask; /* Use enum ibv_wq_attr_mask */ enum ibv_wq_state wq_state; /* Move to this state */ enum ibv_wq_state curr_wq_state; /* Assume this is the current state */ uint32_t flags; /* Flags values to modify, use enum ibv_wq_flags */ uint32_t flags_mask; /* Which flags to modify, use enum ibv_wq_flags */ }; The function ibv_modify_wq() will modify the WQ based on the given wq_attr->attr_mask
RETURN VALUE
returns 0 on success, or the value of errno on failure (which indicates the failure reason).
SEE ALSO
ibv_create_wq(3), ibv_destroy_wq(3),
AUTHORS
Yishai Hadas <yishaih@mellanox.com>
COLOPHON
This page is part of the rdma-core (RDMA Core Userspace Libraries and Daemons) project. Information about the project can be found at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug report for this manual page, send it to linux-rdma@vger.kernel.org. This page was obtained from the project's upstream Git repository ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2024-06-14. (At that time, the date of the most recent commit that was found in the repository was 2024-06-10.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@man7.org libibverbs 2016-07-27 IBV_MODIFY_WQ(3)
Pages that refer to this page: ibv_create_rwq_ind_table(3), ibv_create_wq(3)