rdma_destroy_event_channel

Closes an event communication channel.

Syntax

#include <rdma/rdma_cma.h>
void rdma_destroy_event_channel(struct rdma_event_channel *channel);

Description

The rdma_destroy_event_channel function releases all resources associated with an event channel and closes the associated file descriptor.

Note: All rdma_cm_ids associated with the event channel must be destroyed, and all returned events must be acknowledged before calling this function.

Parameters

channel Specifies the communication channel to be destroyed.

Return Value

There is no return value.

[ Feedback ]