Lines Matching refs:cqe
251 struct mlx5_cqe64 *cqe, u8 status)
256 ix = be16_to_cpu(cqe->wqe_counter) & (conn->qp.rq.size - 1);
276 buf->sg[0].size = be32_to_cpu(cqe->byte_cnt);
291 struct mlx5_cqe64 *cqe, u8 status)
299 ix = be16_to_cpu(cqe->wqe_counter) & (conn->qp.sq.size - 1);
333 struct mlx5_cqe64 *cqe)
337 opcode = get_cqe_opcode(cqe);
341 status = ((struct mlx5_err_cqe *)cqe)->syndrome;
344 mlx5_fpga_conn_sq_cqe(conn, cqe, status);
348 status = ((struct mlx5_err_cqe *)cqe)->syndrome;
351 mlx5_fpga_conn_rq_cqe(conn, cqe, status);
354 mlx5_fpga_warn(conn->fdev, "Unexpected cqe opcode %u\n",
368 struct mlx5_cqe64 *cqe;
371 cqe = mlx5_cqwq_get_cqe(&conn->cq.wq);
372 if (!cqe)
377 mlx5_fpga_conn_handle_cqe(conn, cqe);
418 struct mlx5_cqe64 *cqe;
436 cqe = mlx5_cqwq_get_wqe(&conn->cq.wq, i);
437 cqe->op_own = MLX5_CQE_INVALID << 4 | MLX5_CQE_OWNER_MASK;
866 /* Allow for one cqe per rx/tx wqe, plus one cqe for the next wqe,
867 * created during processing of the cqe