Skip to content

Commit

Permalink
tmp #2
Browse files Browse the repository at this point in the history
  • Loading branch information
artpol84 committed Sep 20, 2017
1 parent 431062d commit b04de98
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/uct/ib/rc/accel/rc_mlx5_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ uct_rc_mlx5_srq_set_first(uct_rc_mlx5_iface_common_t *iface,
uct_rc_iface_t *rc_iface)
{
unsigned wqe_ctr = (iface->rx.srq.free_idx + 1) & iface->rx.srq.mask;
uct_ib_mlx5_srq_seg_t *seg;
void *ptr;
uct_ib_mlx5_srq_seg_t *seg = NULL;
uct_ib_iface_recv_desc_t *desc = NULL;
seg = uct_ib_mlx5_srq_get_wqe(&iface->rx.srq, wqe_ctr);
uct_ib_iface_recv_desc_t *desc = seg->srq.desc;
ptr = (void*)uct_ib_iface_recv_desc_hdr(&rc_iface->super, desc);
desc = seg->srq.desc;
iface->rx.segptr = seg;
iface->rx.descptr = desc;
}
Expand Down

0 comments on commit b04de98

Please sign in to comment.