Skip to content

Commit

Permalink
fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
artpol84 committed Sep 29, 2017
1 parent 57c79db commit a9738f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/uct/ib/rc/accel/rc_mlx5_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ void uct_rc_mlx5_iface_commom_clean_srq(uct_rc_mlx5_iface_common_t *mlx5_common_
uct_ib_mlx5_cq_t *mlx5_cq = &mlx5_common_iface->rx.cq;
const size_t cqe_sz = 1ul << mlx5_cq->cqe_size_log;
struct mlx5_cqe64 *cqe, *dest;
uct_ib_mlx5_srq_seg_t *seg;
unsigned ci, pi, idx;
uint8_t owner_bit;
int nfreed;
Expand All @@ -259,7 +258,6 @@ void uct_rc_mlx5_iface_commom_clean_srq(uct_rc_mlx5_iface_common_t *mlx5_common_
cqe = uct_ib_mlx5_get_cqe(mlx5_cq, pi);
if ((ntohl(cqe->sop_drop_qpn) & UCS_MASK(UCT_IB_QPN_ORDER)) == qpn) {
idx = ntohs(cqe->wqe_counter);
seg = uct_ib_mlx5_srq_get_wqe(&mlx5_common_iface->rx.srq, idx);
mlx5_common_iface->rx.dinfo[idx].free = 0;
ucs_trace("iface %p: freed srq seg[%d] of qpn 0x%x",
mlx5_common_iface, idx, qpn);
Expand Down

0 comments on commit a9738f6

Please sign in to comment.