Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-14262 cart: use NA_TC_BULK_DATA traffic class for SWIM context
Browse files Browse the repository at this point in the history
Required-githooks: true

Signed-off-by: Jerome Soumagne <[email protected]>
soumagne committed Aug 7, 2024

Verified

This commit was signed with the committer’s verified signature.
PointKernel Yunsong Wang
1 parent 9484a55 commit 2cec6ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cart/crt_hg.c
Original file line number Diff line number Diff line change
@@ -908,6 +908,10 @@ crt_hg_class_init(crt_provider_t provider, int ctx_idx, bool primary, int iface_
init_info.request_post_incr = crt_gdata.cg_post_incr;
init_info.multi_recv_op_max = crt_gdata.cg_mrecv_buf;
init_info.multi_recv_copy_threshold = crt_gdata.cg_mrecv_buf_copy;
/* With cxi provider, separate SWIM traffic in an effort to prevent potential congestion. */
if (provider == CRT_PROV_OFI_CXI && crt_is_service() &&
crt_gdata.cg_auto_swim_disable == 0 && ctx_idx == crt_gdata.cg_swim_ctx_idx)
init_info.traffic_class = NA_TC_BULK_DATA;

hg_class = HG_Init_opt2(info_string, crt_is_service(), HG_VERSION(2, 4), &init_info);
if (hg_class == NULL) {

0 comments on commit 2cec6ea

Please sign in to comment.