yanglimingcn commented on code in PR #3255:
URL: https://github.com/apache/brpc/pull/3255#discussion_r3019434975


##########
src/brpc/rdma/rdma_helper.cpp:
##########
@@ -386,6 +388,8 @@ static int ReadRdmaDynamicLib() {
     LoadSymbol(g_handle_ibverbs, IbvGetAsyncEvent, "ibv_get_async_event");
     LoadSymbol(g_handle_ibverbs, IbvAckAsyncEvent, "ibv_ack_async_event");
     LoadSymbol(g_handle_ibverbs, IbvEventTypeStr, "ibv_event_type_str");
+    LoadSymbol(g_handle_ibverbs, IbvQueryEce, "ibv_query_ece");
+    LoadSymbol(g_handle_ibverbs, IbvSetEce, "ibv_set_ece");
 

Review Comment:
   The LoadSymbol macro call currently does not handle load failures, so 
ECE-related API loading failures will not have any impact.



-- 
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]

Reply via email to