Home
last modified time | relevance | path

Searched refs:wqe_counter (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwc.c312 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 Den_rx.c101 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()
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()
1014 u16 wqe_counter; in mlx5e_poll_ico_cq() local
1019 wqe_counter = be16_to_cpu(cqe->wqe_counter); in mlx5e_poll_ico_cq()
[all …]
H A Den_tx.c826 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 Den.h361 u16 wqe_counter; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c240 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 Dxdp.c776 u16 wqe_counter, ci; in mlx5e_poll_xdpsq_cq() local
781 wqe_counter = be16_to_cpu(cqe->wqe_counter); in mlx5e_poll_xdpsq_cq()
784 last_wqe = (sqcc == wqe_counter); in mlx5e_poll_xdpsq_cq()
H A Dptp.c186 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 Dcq.c192 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 Ddevice.h816 __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 Dpci_hw.h164 MLXSW_ITEM32(pci, cqe, wqe_counter, 0x04, 16, 16);
H A Dpci.c858 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 Dconn.c256 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 Dmthca_srq.c70 __be16 wqe_counter; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c196 idx = be16_to_cpu(cqe64->wqe_counter) & in dr_parse_cqe()
202 idx = be16_to_cpu(cqe64->wqe_counter) & in dr_parse_cqe()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h380 __be16 wqe_counter; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_send.c497 wqe_cnt = be16_to_cpu(cqe->wqe_counter) & sq->buf_mask; in hws_send_engine_poll_cq()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c1653 ix = be16_to_cpu(cqe->wqe_counter) & (qp->rq.wqe_cnt - 1); in mlx5vf_rq_cqe()