Skip to content

Commit

Permalink
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]>
  • Loading branch information
soumagne committed Aug 12, 2024
1 parent eec4a77 commit 1fc2da4
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
Expand Up @@ -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() &&
ctx_idx == crt_gdata.cg_swim_crt_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) {
Expand Down

0 comments on commit 1fc2da4

Please sign in to comment.