tail head cat sleep
QR code linking to this page

Manual Pages  — IBV_MODIFY_WQ

NAME

ibv_modify_wq - Modify a Work Queue (WQ).

CONTENTS

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


2016-07-27 IBV_MODIFY_WQ (3) libibverbs

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes