dat_ep_modify - change parameters of an Endpoint
cc [ flag... ] file... -ldat [ library... ] #include <dat/udat.h> DAT_RETURN dat_ep_modify ( IN DAT_EP_HANDLE ep_handle, IN DAT_EP_PARAM_MASK ep_param_mask, IN DAT_EP_PARAM *ep_param )
ep_handle
ep_param_mask
ep_param
The dat_ep_modify() function provides the Consumer a way to change parameters of an Endpoint.
The ep_param_mask parameter allows Consumers to specify which parameters to modify. Providers modify values for ep_param_mask requested parameters only.
Not all the parameters of the Endpoint can be modified. Some can be modified only when the Endpoint is in a specific state. The following list specifies which parameters can be modified and when they can be modified.
Interface Adapter
Endpoint belongs to an open instance of IA and that association cannot be changed.
Endpoint State
State of Endpoint cannot be changed by a dat_ep_modify() operation.
Local IA Address
Local IA Address cannot be changed by a dat_ep_modify() operation.
Local Port Qualifier
Local port qualifier cannot be changed by a dat_ep_modify() operation.
Remote IA Address
Remote IA Address cannot be changed by a dat_ep_modify() operation.
Remote Port Qualifier
Remote port qualifier cannot be changed by a dat_ep_modify() operation
Protection Zone
Protection Zone can be changed only when the Endpoint is in quiescent state. The only Endpoint states that isare quiescent isare DAT_EP_STATE_UNCONNECTED and DAT_EP_STATE_TENTATIVE_CONNECTION_PENDING. Consumers should be aware that any Receive DTOs currently posted to the Endpoint that do not match the new Protection Zone fail with a DAT_PROTECTION_VIOLATION return.
In DTO Event Dispatcher
Event Dispatcher for incoming DTOs (Receive) can be changed only prior to a request for a connection for an Active side or prior to accepting a Connection Request for a Passive side.
Out DTO Event Dispatcher
Event Dispatcher for outgoing DTOs (Send, RDMA Read, and RDMA Write) can be changed only prior to a request for a connection for an Active side or prior to accepting a Connection Request for a Passive side.
Connection Event Dispatcher
Event Dispatcher for the Endpoint Connection events can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Service Type
Service Type can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum Message Size
Maximum Message Size can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum RDMA Size
Maximum RDMA Size can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Quality of Service
QoS can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Recv Completion Flags
Recv Completion Flags specifies what DTO flags the Endpoint should support for Receive DTO operations. The value can be DAT_COMPLETION_NOTIFICATION_SUPPRESS_FLAG, DAT_COMPLETION_SOLICITED_WAIT_FLAG, or DAT_COMPLETION_EVD_THRESHOLD_FLAG. Recv posting does not support DAT_COMPLETION_SUPPRESS_FLAG or DAT_COMPLETION_BARRIER_FENCE_FLAG dat_completion_flags values that are only applicable to Request postings. Recv Completion Flags can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side, but before posting of any Recvs.
Request Completion Flags
Request Completion Flags specifies what DTO flags the Endpoint should support for Send, RDMA Read, RDMA Write, and RMR Bind operations. The value can be: DAT_COMPLETION_UNSIGNALLED_FLAG or DAT_COMPLETION_EVD_THRESHOLD_FLAG. Request postings always support DAT_COMPLETION_SUPPRESS_FLAG, DAT_COMPLETION_SOLICITED_WAIT_FLAG, or DAT_COMPLETION_BARRIER_FENCE_FLAG completion_flags values. Request Completion Flags can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum Recv DTO
Maximum Recv DTO specifies the maximum number of outstanding Consumer-submitted Receive DTOs that a Consumer expects at any time at the Endpoint. Maximum Recv DTO can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum Request DTO
Maximum Request DTO specifies the maximum number of outstanding Consumer-submitted send and RDMA DTOs and RMR Binds that a Consumer expects at any time at the Endpoint. Maximum Out DTO can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum Recv IOV
Maximum Recv IOV specifies the maximum number of elements in IOV that a Consumer specifies for posting a Receive DTO for the Endpoint. Maximum Recv IOV can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum Request IOV
Maximum Request IOV specifies the maximum number of elements in IOV that a Consumer specifies for posting a Send, RDMA Read, or RDMA Write DTO for the Endpoint. Maximum Request IOV can be changed only prior to a request for a connection for an Active side or accepting a Connection Request for a Passive side.
Maximum outstanding RDMA Read as target
Maximum number of outstanding RDMA Reads for which the Endpoint is the target.
Maximum outstanding RDMA Read as originator
Maximum number of outstanding RDMA Reads for which the Endpoint is the originator.
Num transport-specific attributes
Number of transport-specific attributes to be modified.
Transport-specific endpoint attributes
Transport-specific attributes can be modified only in the transport-defined Endpoint state. The only guaranteed safe state in which to modify transport-specific Endpoint attributes is the quiescent state DAT_EP_STATE_UNCONNECTED.
Num provider-specific attributes
Number of Provider-specific attributes to be modified.
Provider-specific endpoint attributes
Provider-specific attributes can be modified only in the Provider-defined Endpoint state. The only guaranteed safe state in which to modify Provider-specific Endpoint attributes is the quiescent state DAT_EP_STATE_UNCONNECTED.
DAT_SUCCESS
DAT_INVALID_HANDLE
DAT_INVALID_PARAMETER
DAT_INVALID_STATE
See attributes(5) for descriptions of the following attributes:
|
libdat(3LIB), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |