Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions providers/mlx5/cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static inline int handle_responder_lazy(struct mlx5_cq *cq, struct mlx5_cqe64 *c
else if (cqe->op_own & MLX5_INLINE_SCATTER_64)
err = mlx5_copy_to_recv_wqe(qp, wqe_ctr, cqe - 1,
be32toh(cqe->byte_cnt));
}
}

return err;
}
Expand Down Expand Up @@ -228,8 +228,6 @@ static inline int handle_responder(struct ibv_wc *wc, struct mlx5_cqe64 *cqe,
if (err)
return err;

wc->byte_len = be32toh(cqe->byte_cnt);

switch (cqe->op_own >> 4) {
case MLX5_CQE_RESP_WR_IMM:
wc->opcode = IBV_WC_RECV_RDMA_WITH_IMM;
Expand Down
2 changes: 2 additions & 0 deletions providers/mlx5/mlx5.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ static struct {
HCA(MELLANOX, 4122), /* ConnectX-5 Ex VF */
HCA(MELLANOX, 4123), /* ConnectX-6 */
HCA(MELLANOX, 4124), /* ConnectX-6 VF */
HCA(MELLANOX, 41682), /* BlueField integrated ConnectX-5 network controller */
HCA(MELLANOX, 41683), /* BlueField integrated ConnectX-5 network controller VF */
};

uint32_t mlx5_debug_mask = 0;
Expand Down
2 changes: 1 addition & 1 deletion providers/mlx5/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ static uint8_t wq_sig(struct mlx5_wqe_ctrl_seg *ctrl)
}

#ifdef MLX5_DEBUG
void dump_wqe(FILE *fp, int idx, int size_16, struct mlx5_qp *qp)
static void dump_wqe(FILE *fp, int idx, int size_16, struct mlx5_qp *qp)
{
uint32_t *uninitialized_var(p);
int i, j;
Expand Down