Home
last modified time | relevance | path

Searched refs:err_cqe (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/cxgb4/
Dev.c62 static void dump_err_cqe(struct c4iw_dev *dev, struct t4_cqe *err_cqe) in dump_err_cqe() argument
64 __be64 *p = (void *)err_cqe; in dump_err_cqe()
69 CQE_QPID(err_cqe), CQE_OPCODE(err_cqe), in dump_err_cqe()
70 CQE_STATUS(err_cqe), CQE_TYPE(err_cqe), ntohl(err_cqe->len), in dump_err_cqe()
71 CQE_WRID_HI(err_cqe), CQE_WRID_LOW(err_cqe)); in dump_err_cqe()
82 if (RQ_TYPE(err_cqe) && (CQE_OPCODE(err_cqe) == FW_RI_RDMA_WRITE || in dump_err_cqe()
83 CQE_OPCODE(err_cqe) == FW_RI_READ_RESP)) in dump_err_cqe()
84 print_tpte(dev, CQE_WRID_STAG(err_cqe)); in dump_err_cqe()
89 struct t4_cqe *err_cqe, in post_qp_event() argument
96 dump_err_cqe(dev, err_cqe); in post_qp_event()
[all …]
Dqp.c1424 static inline void build_term_codes(struct t4_cqe *err_cqe, u8 *layer_type, in build_term_codes() argument
1433 if (!err_cqe) { in build_term_codes()
1439 status = CQE_STATUS(err_cqe); in build_term_codes()
1440 opcode = CQE_OPCODE(err_cqe); in build_term_codes()
1441 rqtype = RQ_TYPE(err_cqe); in build_term_codes()
1560 static void post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe, in post_terminate() argument
1589 build_term_codes(err_cqe, &term->layer_etype, &term->ecode); in post_terminate()
Diw_cxgb4.h1026 int c4iw_post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe);
1033 void c4iw_ev_dispatch(struct c4iw_dev *dev, struct t4_cqe *err_cqe);
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h304 struct mlx5_err_cqe *err_cqe) in mlx5e_dump_error_cqe() argument
314 get_cqe_opcode((struct mlx5_cqe64 *)err_cqe), in mlx5e_dump_error_cqe()
315 err_cqe->syndrome, err_cqe->vendor_err_synd); in mlx5e_dump_error_cqe()
316 mlx5_dump_err_cqe(cq->mdev, err_cqe); in mlx5e_dump_error_cqe()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c395 static void mlx4_en_handle_err_cqe(struct mlx4_en_priv *priv, struct mlx4_err_cqe *err_cqe, in mlx4_en_handle_err_cqe() argument
405 ring->sp_cqn, cqe_index, err_cqe->vendor_err_syndrome, err_cqe->syndrome); in mlx4_en_handle_err_cqe()
406 print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1, err_cqe, sizeof(*err_cqe), in mlx4_en_handle_err_cqe()
409 wqe_index = be16_to_cpu(err_cqe->wqe_index) & ring->size_mask; in mlx4_en_handle_err_cqe()
/drivers/infiniband/hw/mlx5/
Dcq.c446 struct mlx5_err_cqe *err_cqe; in mlx5_poll_one() local
516 err_cqe = (struct mlx5_err_cqe *)cqe64; in mlx5_poll_one()
517 mlx5_handle_error_cqe(dev, err_cqe, wc); in mlx5_poll_one()
522 err_cqe->syndrome, err_cqe->vendor_err_synd); in mlx5_poll_one()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1217 struct mlx5_err_cqe *err_cqe = (struct mlx5_err_cqe *)cqe; in trigger_report() local
1219 if (cqe_syndrome_needs_recover(err_cqe->syndrome) && in trigger_report()
1221 mlx5e_dump_error_cqe(&rq->cq, rq->rqn, err_cqe); in trigger_report()