|
NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON |
|
|
|
IBV_SET_ECE(3) Libibverbs Programmer’s Manual IBV_SET_ECE(3)
ibv_set_ece - set ECE options and use them for QP configuration
stage.
#include <infiniband/verbs.h>
int ibv_set_ece(struct ibv_qp *qp, struct ibv_ece *ece);
ibv_set_ece() set ECE options and use them for QP configuration
stage.
The desired ECE options will be used during various modify QP
stages based on supported options in relevant QP state.
qp The queue pair (QP) associated with the ECE options.
## ece Argument
The requested ECE values. This is IN/OUT field, the
accepted options will be returned in this field.
struct ibv_ece {
uint32_t vendor_id;
uint32_t options;
uint32_t comp_mask;
};
vendor_id
Unique identifier of the provider vendor on the network.
The providers will set IEEE OUI here to distinguish itself
in non-homogenius network.
options
Provider specific attributes which are supported or needed
to be enabled by ECE users.
comp_mask
Bitmask specifying what fields in the structure are valid.
ibv_set_ece() returns 0 when the call was successful, or the errno
value which indicates the failure reason.
EOPNOTSUPP
libibverbs or provider driver doesn’t support the
ibv_set_ece() verb.
EINVAL In one of the following: o The QP is invalid. o The ECE
options are invalid.
ibv_query_ece(3),
Leon Romanovsky ⟨[email protected]⟩
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
[email protected]. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) 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
[email protected]
libibverbs 2020-01-22 IBV_SET_ECE(3)
Pages that refer to this page: ibv_query_ece(3)