/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | wc.c | 312 int wqe_counter = be16_to_cpu(cqe->wqe_counter); in mlx5_wc_poll_cq() local 315 if (wqe_counter == TEST_WC_NUM_WQES - 1) in mlx5_wc_poll_cq() 320 mlx5_core_dbg(mdev, "wc wqe_counter = 0x%x\n", wqe_counter); in mlx5_wc_poll_cq()
|
H A D | en_rx.c | 101 cqd->wqe_counter = mpwrq_get_cqe_stride_index(title) + in mlx5e_read_enhanced_title_slot() 104 cqd->wqe_counter = in mlx5e_read_enhanced_title_slot() 105 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, be16_to_cpu(title->wqe_counter) + 1); in mlx5e_read_enhanced_title_slot() 117 cqd->wqe_counter = be16_to_cpu(title->wqe_counter); in mlx5e_read_title_slot() 170 title->wqe_counter = mini_cqe->stridx; in mlx5e_decompress_cqe() 175 title->wqe_counter = cpu_to_be16(cqd->wqe_counter); in mlx5e_decompress_cqe() 177 cqd->wqe_counter += mpwrq_get_cqe_consumed_strides(title); in mlx5e_decompress_cqe() 179 cqd->wqe_counter = in mlx5e_decompress_cqe() 180 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, cqd->wqe_counter + 1); in mlx5e_decompress_cqe() 1012 u16 wqe_counter; in mlx5e_poll_ico_cq() local [all …]
|
H A D | en_tx.c | 826 u16 wqe_counter; in mlx5e_poll_tx_cq() local 832 wqe_counter = be16_to_cpu(cqe->wqe_counter); in mlx5e_poll_tx_cq() 835 last_wqe = (sqcc == wqe_counter); in mlx5e_poll_tx_cq()
|
H A D | en.h | 362 u16 wqe_counter; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_rx.c | 240 u16 wqe_counter; in mlx5e_rx_reporter_build_diagnose_output_rq_common() local 252 wqe_counter = mlx5e_rqwq_get_wqe_counter(rq); in mlx5e_rx_reporter_build_diagnose_output_rq_common() 256 devlink_fmsg_u32_pair_put(fmsg, "WQE counter", wqe_counter); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
|
H A D | ptp.c | 186 u8 metadata_id = PTP_WQE_CTR2IDX(be16_to_cpu(cqe->wqe_counter)); in mlx5e_ptp_handle_ts_cqe()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 192 wqe_ctr = be16_to_cpu(cqe->wqe_counter); in handle_responder() 506 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 538 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 547 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 1109 mlx5_ib_free_srq_wqe(srq, be16_to_cpu(cqe64->wqe_counter)); in __mlx5_ib_cq_clean()
|
/linux/include/linux/mlx5/ |
H A D | device.h | 816 __be16 wqe_counter; member 864 __be16 wqe_counter; member 880 __be16 wqe_counter; member 1002 return be16_to_cpu(cqe->wqe_counter); in mpwrq_get_cqe_stride_index()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci_hw.h | 164 MLXSW_ITEM32(pci, cqe, wqe_counter, 0x04, 16, 16);
|
H A D | pci.c | 858 u16 wqe_counter = mlxsw_pci_cqe_wqe_counter_get(cqe); in mlxsw_pci_napi_poll_cq_rx() local 873 wqe_counter, q->u.cq.v, cqe); in mlxsw_pci_napi_poll_cq_rx() 916 u16 wqe_counter = mlxsw_pci_cqe_wqe_counter_get(cqe); in mlxsw_pci_napi_poll_cq_tx() local 935 wqe_counter, q->u.cq.v, ncqe, budget); in mlxsw_pci_napi_poll_cq_tx()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | conn.c | 256 ix = be16_to_cpu(cqe->wqe_counter) & (conn->qp.rq.size - 1); in mlx5_fpga_conn_rq_cqe() 299 ix = be16_to_cpu(cqe->wqe_counter) & (conn->qp.sq.size - 1); in mlx5_fpga_conn_sq_cqe()
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 70 __be16 wqe_counter; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 380 __be16 wqe_counter; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | send.c | 497 wqe_cnt = be16_to_cpu(cqe->wqe_counter) & sq->buf_mask; in hws_send_engine_poll_cq()
|
/linux/drivers/vfio/pci/mlx5/ |
H A D | cmd.c | 1680 ix = be16_to_cpu(cqe->wqe_counter) & (qp->rq.wqe_cnt - 1); in mlx5vf_rq_cqe()
|