Home
last modified time | relevance | path

Searched refs:icosq (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c55 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
63 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
70 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc()
71 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
72 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc()
73 icosq->pc = 0; in mlx5e_reset_icosq_cc_pc()
86 icosq = ctx; in mlx5e_rx_reporter_err_icosq_cqe_recover()
326 if (rq->icosq) { in mlx5e_rx_reporter_build_diagnose_output_rq_common()
327 struct mlx5e_icosq *icosq = rq->icosq; in mlx5e_rx_reporter_build_diagnose_output_rq_common() local
706 struct mlx5e_icosq *icosq = rq->icosq; in mlx5e_reporter_rx_timeout() local
[all …]
H A Dhealth.h31 void mlx5e_reporter_icosq_cqe_err(struct mlx5e_icosq *icosq);
H A Dparams.h44 struct mlx5e_sq_param icosq; member
H A Dparams.c1308 mlx5e_build_icosq_param(mdev, icosq_log_wq_sz, &cparam->icosq); in mlx5e_build_channel_param()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.c22 struct mlx5e_icosq *icosq = rq->icosq; in mlx5e_xsk_alloc_rx_mpwqe() local
23 struct mlx5_wq_cyc *wq = &icosq->wq; in mlx5e_xsk_alloc_rx_mpwqe()
50 pi = mlx5e_icosq_get_next_pi(icosq, rq->mpwqe.umr_wqebbs); in mlx5e_xsk_alloc_rx_mpwqe()
127 cpu_to_be32((icosq->pc << MLX5_WQE_CTRL_WQE_INDEX_SHIFT) | MLX5_OPCODE_UMR); in mlx5e_xsk_alloc_rx_mpwqe()
139 icosq->db.wqe_info[pi] = (struct mlx5e_icosq_wqe_info) { in mlx5e_xsk_alloc_rx_mpwqe()
145 icosq->pc += rq->mpwqe.umr_wqebbs; in mlx5e_xsk_alloc_rx_mpwqe()
147 icosq->doorbell_cseg = &umr_wqe->ctrl; in mlx5e_xsk_alloc_rx_mpwqe()
H A Dsetup.c77 rq->icosq = &c->icosq; in mlx5e_init_xsk_rq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_txrx.c181 mlx5e_poll_ico_cq(&c->icosq.cq); in mlx5e_napi_poll()
237 mlx5e_cq_arm(&c->icosq.cq); in mlx5e_napi_poll()
248 mlx5e_trigger_irq(&c->icosq); in mlx5e_napi_poll()
H A Den.h702 struct mlx5e_icosq *icosq; member
752 struct mlx5e_icosq icosq; /* internal control operations */ member
1076 void mlx5e_activate_icosq(struct mlx5e_icosq *icosq);
1077 void mlx5e_deactivate_icosq(struct mlx5e_icosq *icosq);
H A Den_main.c655 rq->icosq = &c->icosq; in mlx5e_init_rxq_rq()
1827 set_bit(MLX5E_SQ_STATE_ENABLED, &icosq->state); in mlx5e_activate_icosq()
2282 &c->icosq.cq); in mlx5e_open_queues()
2314 err = mlx5e_open_icosq(c, params, &cparam->icosq, &c->icosq, in mlx5e_open_queues()
2351 mlx5e_close_icosq(&c->icosq); in mlx5e_open_queues()
2370 mlx5e_close_cq(&c->icosq.cq); in mlx5e_open_queues()
2384 cancel_work_sync(&c->icosq.recover_work); in mlx5e_close_queues()
2387 mlx5e_close_icosq(&c->icosq); in mlx5e_close_queues()
2395 mlx5e_close_cq(&c->icosq.cq); in mlx5e_close_queues()
2519 mlx5e_activate_icosq(&c->icosq); in mlx5e_activate_channel()
[all …]
H A Den_rx.c724 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_hd_mpwqe()
762 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_mpwqe()
977 struct mlx5e_channel *c = container_of(sq, struct mlx5e_channel, icosq); in mlx5e_handle_shampo_hd_umr()
1084 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_post_rx_mpwqes()