Main index | Section 3 | Options |
int rdma_accept (struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
id | Connection identifier associated with the request. |
conn_param | Information needed to establish the connection. See CONNECTION PROPERTIES below for details. |
If the conn_param parameter is NULL, the values reported in the connection request event are used, adjusted down based on local hardware restrictions.
private_data | References a user-controlled data buffer. The contents of the buffer are copied and transparently passed to the remote side as part of the communication request. May be NULL if private_data is not required. |
private_data_len | Specifies the size of the user-controlled data buffer. Note that the actual amount of data transferred to the remote side is transport dependent and may be larger than that requested. |
responder_resources | The maximum number of outstanding RDMA read and atomic operations that the local side will accept from the remote side. Applies only to RDMA_PS_TCP. This value must be less than or equal to the local RDMA device attribute max_qp_rd_atom, but preferably greater than or equal to the responder_resources value reported in the connect request event. |
initiator_depth | The maximum number of outstanding RDMA read and atomic operations that the local side will have to the remote side. Applies only to RDMA_PS_TCP. This value must be less than or equal to the local RDMA device attribute max_qp_init_rd_atom and the initiator_depth value reported in the connect request event. |
flow_control | Specifies if hardware flow control is available. This value is exchanged with the remote peer and is not used to configure the QP. Applies only to RDMA_PS_TCP. |
retry_count | This value is ignored. |
rnr_retry_count | The maximum number of times that a send operation from the remote peer should be retried on a connection after receiving a receiver not ready (RNR) error. RNR errors are generated when a send request arrives before a buffer has been posted to receive the incoming data. Applies only to RDMA_PS_TCP. |
srq | Specifies if the QP associated with the connection is using a shared receive queue. This field is ignored by the library if a QP has been created on the rdma_cm_id. Applies only to RDMA_PS_TCP. |
qp_num | Specifies the QP number associated with the connection. This field is ignored by the library if a QP has been created on the rdma_cm_id. |
The RNR retry count is a 3-bit value.
The length of the private data provided by the user is limited to 196 bytes for RDMA_PS_TCP, or 136 bytes for RDMA_PS_UDP.
2014-05-27 | RDMA_ACCEPT (3) | librdmacm |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | I think Unix and snowflakes are the only two classes of objects in the universe in which no two instances ever match exactly. | ” |
— Noel Chiappa |