Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

rdma_set_local_ece - Man Page

Set local ECE paraemters to be used for REQ/REP communication.

Synopsis

#include <rdma/rdma_cma.h>

int rdma_set_local_ece(struct rdma_cm_id *id, struct ibv_ece *ece);

Description

rdma_set_local_ece() set local ECE parameters.

This function is suppose to be used by the users of external QPs. The call needs to be performed before replying to the peer and needed to configure RDMA_CM with desired ECE options.

Being used by external QP and RDMA_CM doesn’t manage that QP, the peer needs to call to libibverbs API by itself.

Usual flow for the passive side will be:

Arguments

id

RDMA communication identifier.

*ece

ECE parameters.

Return Value

rdma_set_local_ece() returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.

See Also

rdma_cm(7), rdma_get_remote_ece(3)

Author

Leon Romanovsky <leonro@mellanox.com>

Referenced By

rdma_get_remote_ece(3).

2020-02-02 Librdmacm Programmer’s Manual