Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
artpol84 committed Sep 29, 2017
1 parent d7b2349 commit 75c843c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uct/ib/rc/accel/rc_mlx5_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ static UCS_F_ALWAYS_INLINE unsigned
uct_rc_mlx5_iface_common_poll_rx(uct_rc_mlx5_iface_common_t *mlx5_common_iface,
uct_rc_iface_t *rc_iface, char have_scat_to_cqe)
{
uct_ib_mlx5_srq_seg_t *seg = NULL;
uct_ib_iface_recv_desc_t *desc = NULL;
uct_rc_iface_ops_t *rc_ops;
uct_rc_hdr_t *hdr;
Expand Down Expand Up @@ -141,7 +140,8 @@ uct_rc_mlx5_iface_common_poll_rx(uct_rc_mlx5_iface_common_t *mlx5_common_iface,

byte_len = ntohl(cqe->byte_cnt);
wqe_ctr = ntohs(cqe->wqe_counter);
desc = mlx5_common_iface->rx.desc[wqe_ctr] & (~0x1L);
desc = (uct_ib_iface_recv_desc_t*)
(mlx5_common_iface->rx.desc[wqe_ctr] & (~0x1L));

/* Get a pointer to AM header (after which comes the payload)
* Support cases of inline scatter by pointing directly to CQE.
Expand Down

0 comments on commit 75c843c

Please sign in to comment.