Searched refs:icosq (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_rx.c | 34 static int mlx5e_wait_for_icosq_flush(struct mlx5e_icosq *icosq) in mlx5e_wait_for_icosq_flush() argument 36 struct mlx5_core_dev *dev = icosq->channel->mdev; in mlx5e_wait_for_icosq_flush() 42 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush() 48 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush() 50 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush() 55 static void mlx5e_reset_icosq_cc_pc(struct mlx5e_icosq *icosq) in mlx5e_reset_icosq_cc_pc() argument 57 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc() 58 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc() 59 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc() 60 icosq->pc = 0; in mlx5e_reset_icosq_cc_pc() [all …]
|
D | health.h | 30 void mlx5e_reporter_icosq_cqe_err(struct mlx5e_icosq *icosq);
|
D | params.h | 43 struct mlx5e_sq_param icosq; member
|
D | params.c | 1236 mlx5e_build_icosq_param(mdev, icosq_log_wq_sz, &cparam->icosq); in mlx5e_build_channel_param()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 14 struct mlx5e_icosq *icosq = rq->icosq; in mlx5e_xsk_alloc_rx_mpwqe() local 15 struct mlx5_wq_cyc *wq = &icosq->wq; in mlx5e_xsk_alloc_rx_mpwqe() 40 pi = mlx5e_icosq_get_next_pi(icosq, rq->mpwqe.umr_wqebbs); in mlx5e_xsk_alloc_rx_mpwqe() 109 cpu_to_be32((icosq->pc << MLX5_WQE_CTRL_WQE_INDEX_SHIFT) | MLX5_OPCODE_UMR); in mlx5e_xsk_alloc_rx_mpwqe() 121 icosq->db.wqe_info[pi] = (struct mlx5e_icosq_wqe_info) { in mlx5e_xsk_alloc_rx_mpwqe() 127 icosq->pc += rq->mpwqe.umr_wqebbs; in mlx5e_xsk_alloc_rx_mpwqe() 129 icosq->doorbell_cseg = &umr_wqe->ctrl; in mlx5e_xsk_alloc_rx_mpwqe()
|
D | setup.c | 60 rq->icosq = &c->icosq; in mlx5e_init_xsk_rq()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_txrx.c | 179 mlx5e_poll_ico_cq(&c->icosq.cq); in mlx5e_napi_poll() 235 mlx5e_cq_arm(&c->icosq.cq); in mlx5e_napi_poll() 246 mlx5e_trigger_irq(&c->icosq); in mlx5e_napi_poll()
|
D | en.h | 732 struct mlx5e_icosq *icosq; member 782 struct mlx5e_icosq icosq; /* internal control operations */ member 1100 void mlx5e_activate_icosq(struct mlx5e_icosq *icosq); 1101 void mlx5e_deactivate_icosq(struct mlx5e_icosq *icosq);
|
D | en_main.c | 290 mlx5e_build_umr_wqe(rq, rq->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info() 590 rq->icosq = &c->icosq; in mlx5e_init_rxq_rq() 1768 void mlx5e_activate_icosq(struct mlx5e_icosq *icosq) in mlx5e_activate_icosq() argument 1770 set_bit(MLX5E_SQ_STATE_ENABLED, &icosq->state); in mlx5e_activate_icosq() 1773 void mlx5e_deactivate_icosq(struct mlx5e_icosq *icosq) in mlx5e_deactivate_icosq() argument 1775 clear_bit(MLX5E_SQ_STATE_ENABLED, &icosq->state); in mlx5e_deactivate_icosq() 2231 err = mlx5e_open_cq(c->priv, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues() 2232 &c->icosq.cq); in mlx5e_open_queues() 2264 err = mlx5e_open_icosq(c, params, &cparam->icosq, &c->icosq, in mlx5e_open_queues() 2301 mlx5e_close_icosq(&c->icosq); in mlx5e_open_queues() [all …]
|
D | en_rx.c | 610 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_hd_mpwqe() 649 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_alloc_rx_mpwqe() 838 struct mlx5e_channel *c = container_of(sq, struct mlx5e_channel, icosq); in mlx5e_handle_shampo_hd_umr() 945 struct mlx5e_icosq *sq = rq->icosq; in mlx5e_post_rx_mpwqes()
|