Partager via


2.2.2 Negotiate Response Message

The Negotiate Response message is the second message sent on a new connection, in response to the Negotiate Request message, to complete the establishment of a connection.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

MinVersion

MaxVersion

NegotiatedVersion

Reserved

CreditsRequested

CreditsGranted

Status

MaxReadWriteSize

PreferredSendSize

MaxReceiveSize

MaxFragmentedSize

MinVersion (2 bytes): The minimum protocol version supported by the sender. The value MUST be set to one of the values listed in section 1.7.

MaxVersion (2 bytes): The maximum protocol version supported by the sender. The value MUST be greater than or equal to the MinVersion field and MUST be set to one of the values listed in section 1.7. The sender MUST support all protocol versions that fall in the range inclusively specified by the MinVersion and MaxVersion fields.

NegotiatedVersion (2 bytes): The protocol version that has been selected for this connection. This value MUST be one of the values from the range specified by the Negotiate Request message.

Reserved (2 bytes): The sender SHOULD set this field to 0 and the receiver MUST ignore it on receipt.

CreditsRequested (2 bytes): The number of Send Credits requested of the receiver.

CreditsGranted (2 bytes): The number of Send Credits granted by the sender.

Status (4 bytes): Indicates whether the Negotiate Request message succeeded. The value MUST be set to STATUS_SUCCESS (0x00000000) if the Negotiate Request message succeeds.

MaxReadWriteSize (4 bytes): The maximum number of bytes that the sender will transfer via RDMA Write or RDMA Read request to satisfy a single upper-layer read or write request.

PreferredSendSize (4 bytes): The maximum number of bytes that the sender will transmit in a single message. This value MUST be less than or equal to the MaxReceiveSize value of the Negotiate Request message.

MaxReceiveSize (4 bytes): The maximum number of bytes that the sender can receive in a single message.

MaxFragmentedSize (4 bytes): The maximum number of upper-layer bytes that the sender can receive as the result of a sequence of fragmented Send operations.