Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c47 static int mlx5e_wait_for_icosq_flush(struct mlx5e_icosq *icosq) in mlx5e_wait_for_icosq_flush() argument
49 struct mlx5_core_dev *dev = icosq->channel->mdev; in mlx5e_wait_for_icosq_flush()
55 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
61 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush()
63 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
68 static void mlx5e_reset_icosq_cc_pc(struct mlx5e_icosq *icosq) in mlx5e_reset_icosq_cc_pc() argument
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()
[all …]
Dhealth.h31 void mlx5e_reporter_icosq_cqe_err(struct mlx5e_icosq *icosq);
Dparams.h44 struct mlx5e_sq_param icosq; member
Dparams.c1263 mlx5e_build_icosq_param(mdev, icosq_log_wq_sz, &cparam->icosq); in mlx5e_build_channel_param()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
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()
Dsetup.c76 rq->icosq = &c->icosq; in mlx5e_init_xsk_rq()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
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()
Den.h696 struct mlx5e_icosq *icosq; member
746 struct mlx5e_icosq icosq; /* internal control operations */ member
1098 void mlx5e_activate_icosq(struct mlx5e_icosq *icosq);
1099 void mlx5e_deactivate_icosq(struct mlx5e_icosq *icosq);
Den_main.c401 mlx5e_build_umr_wqe(rq, rq->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info()
746 rq->icosq = &c->icosq; in mlx5e_init_rxq_rq()
1992 void mlx5e_activate_icosq(struct mlx5e_icosq *icosq) in mlx5e_activate_icosq() argument
1994 set_bit(MLX5E_SQ_STATE_ENABLED, &icosq->state); in mlx5e_activate_icosq()
1997 void mlx5e_deactivate_icosq(struct mlx5e_icosq *icosq) in mlx5e_deactivate_icosq() argument
1999 clear_bit(MLX5E_SQ_STATE_ENABLED, &icosq->state); in mlx5e_deactivate_icosq()
2490 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues()
2491 &c->icosq.cq); in mlx5e_open_queues()
2523 err = mlx5e_open_icosq(c, params, &cparam->icosq, &c->icosq, in mlx5e_open_queues()
2560 mlx5e_close_icosq(&c->icosq); in mlx5e_open_queues()
[all …]
Den_rx.c731 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_hd_mpwqe()
770 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_mpwqe()
986 struct mlx5e_channel *c = container_of(sq, struct mlx5e_channel, icosq); in mlx5e_handle_shampo_hd_umr()
1081 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_post_rx_mpwqes()