Skip to content

Commit

Permalink
UCT/IB/UD: Remove erroneous assertion
Browse files Browse the repository at this point in the history
 # Why
Unacknowledged messages may be sent before CREP.
  • Loading branch information
Artemy-Mellanox committed Jan 15, 2024
1 parent 5c9e58c commit d410368
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/uct/ib/ud/base/ud_ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,9 +1259,8 @@ static uct_ud_send_skb_t *uct_ud_ep_prepare_crep(uct_ud_ep_t *ep)
ucs_assert_always(ep->dest_ep_id != UCT_UD_EP_NULL_ID);
ucs_assert_always(ep->ep_id != UCT_UD_EP_NULL_ID);

/* Check that CREQ is neither scheduled nor waiting for CREP ack */
ucs_assertv_always(!uct_ud_ep_ctl_op_check(ep, UCT_UD_EP_OP_CREQ) &&
uct_ud_ep_is_last_ack_received(ep),
/* Check that CREQ is not scheduled */
ucs_assertv_always(!uct_ud_ep_ctl_op_check(ep, UCT_UD_EP_OP_CREQ),
"iface=%p ep=%p conn_sn=%d ep_id=%d, dest_ep_id=%d rx_psn=%u "
"ep_flags=0x%x ctl_ops=0x%x rx_creq_count=%d",
iface, ep, ep->conn_sn, ep->ep_id, ep->dest_ep_id,
Expand Down

0 comments on commit d410368

Please sign in to comment.