Skip to content

Commit

Permalink
prov/shm: Use peer cntr inc ops in smr_progress_cmd
Browse files Browse the repository at this point in the history
Currently, smr_progress_cmd still uses
ofi_ep_rx_cntr_inc_func to increment rx cntrs.
It should be replaced to ofi_ep_peer_rx_cntr_inc
to onboard peer cntr API as other cntr ops inside
shm.

Signed-off-by: Shi Jin <[email protected]>
  • Loading branch information
shijin-aws committed Sep 14, 2023
1 parent d9b1f04 commit 41b2233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/shm/src/smr_progress.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ static void smr_progress_cmd(struct smr_ep *ep)
break;
case ofi_op_write_async:
case ofi_op_read_async:
ofi_ep_rx_cntr_inc_func(&ep->util_ep,
ofi_ep_peer_rx_cntr_inc(&ep->util_ep,
ce->cmd.msg.hdr.op);
break;
case ofi_op_atomic:
Expand Down

0 comments on commit 41b2233

Please sign in to comment.