yanglimingcn commented on code in PR #3304:
URL: https://github.com/apache/brpc/pull/3304#discussion_r3296993060
##########
src/brpc/rdma/rdma_endpoint.cpp:
##########
@@ -624,9 +689,28 @@ void* RdmaEndpoint::ProcessHandshakeAtServer(void* arg) {
ep->_state = FAILED;
return NULL;
}
- if (remote_msg.msg_len > HELLO_MSG_LEN_MIN) {
- // TODO: Read Hello Message customized header
- // Just for future use, should not happen now
+
+ // In older versions of brpc, IBV_MTU_1024 is the default mtu type,
+ // So we set remote_mtu IBV_MTU_1024 at default to be ompatible with older
versions.
Review Comment:
compatible
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]