DOKK / manpages / debian 11 / libibverbs-dev / ibv_query_ece.3.en
IBV_QUERY_ECE(3) Libibverbs Programmer’s Manual IBV_QUERY_ECE(3)

ibv_query_ece - query ECE options.

#include <infiniband/verbs.h>
int ibv_query_ece(struct ibv_qp *qp, struct ibv_ece *ece);
    

ibv_query_ece() query ECE options.

Return to the user current ECE state for the QP.

The queue pair (QP) associated with the ECE options.
## ece Argument
The ECE values.
struct ibv_ece {

uint32_t vendor_id;
uint32_t options;
uint32_t comp_mask; };
Unique identifier of the provider vendor on the network. The providers will set IEEE OUI here to distinguish itself in non-homogenius network.
Provider specific attributes which are supported.
Bitmask specifying what fields in the structure are valid.

ibv_query_ece() returns 0 when the call was successful, or the errno value which indicates the failure reason.

libibverbs or provider driver doesn’t support the ibv_set_ece() verb.
In one of the following: o The QP is invalid. o The ECE options are invalid.

ibv_set_ece(3),

Leon Romanovsky <leonro@mellanox.com>

2020-01-22 libibverbs