ibv_query_ece(3)

ibv_query_ece3

Query ece options.

Usage

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

Overview

ibv_query_ece() query ECE options.

Return to the user current ECE state for the QP.

Arguments

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

comp_mask

Bitmask specifying what fields in the structure are valid.

Return value

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

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

Author

Leon Romanovsky ⟨[email protected]⟩\c

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.