Home
last modified time | relevance | path

Searched refs:rqn (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dchannels.c13 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn) in mlx5e_channels_get_regular_rqn() argument
20 *rqn = c->rq.rqn; in mlx5e_channels_get_regular_rqn()
23 bool mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn) in mlx5e_channels_get_xsk_rqn() argument
33 *rqn = c->xskrq.rqn; in mlx5e_channels_get_xsk_rqn()
37 bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn) in mlx5e_channels_get_ptp_rqn() argument
44 *rqn = c->rq.rqn; in mlx5e_channels_get_ptp_rqn()
A Drx_res.c542 u32 rqn; in mlx5e_rx_res_channels_activate() local
544 mlx5e_channels_get_regular_rqn(chs, ix, &rqn); in mlx5e_rx_res_channels_activate()
549 rqn, ix, err); in mlx5e_rx_res_channels_activate()
555 rqn = res->drop_rqn; in mlx5e_rx_res_channels_activate()
560 rqn, ix, err); in mlx5e_rx_res_channels_activate()
580 u32 rqn; in mlx5e_rx_res_channels_activate() local
582 if (!mlx5e_channels_get_ptp_rqn(chs, &rqn)) in mlx5e_rx_res_channels_activate()
583 rqn = res->drop_rqn; in mlx5e_rx_res_channels_activate()
589 rqn, err); in mlx5e_rx_res_channels_activate()
629 u32 rqn; in mlx5e_rx_res_xsk_activate() local
[all …]
A Dchannels.h12 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn);
13 bool mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn);
14 bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn);
A Dreporter_rx.c11 static int mlx5e_query_rq_state(struct mlx5_core_dev *dev, u32 rqn, u8 *state) in mlx5e_query_rq_state() argument
22 err = mlx5_core_query_rq(dev, rqn, out); in mlx5e_query_rq_state()
142 netdev_err(dev, "Failed to move rq 0x%x to reset\n", rq->rqn); in mlx5e_rq_to_ready()
147 netdev_err(dev, "Failed to move rq 0x%x to ready\n", rq->rqn); in mlx5e_rq_to_ready()
270 err = mlx5e_query_rq_state(rq->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
278 err = devlink_fmsg_u32_pair_put(fmsg, "rqn", rq->rqn); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
592 key.index1 = rq->rqn; in mlx5e_rx_reporter_dump_rq()
651 err = mlx5e_health_queue_dump(priv, fmsg, rq->rqn, "RQ"); in mlx5e_rx_reporter_dump_all_rqs()
657 err = mlx5e_health_queue_dump(priv, fmsg, ptp_ch->rq.rqn, "PTP RQ"); in mlx5e_rx_reporter_dump_all_rqs()
699 rq->ix, icosq_str, rq->rqn, rq->cq.mcq.cqn); in mlx5e_reporter_rx_timeout()
[all …]
A Dtrap.c93 u32 rqn) in mlx5e_create_trap_direct_rq_tir() argument
102 mlx5e_tir_builder_build_inline(builder, mdev->mlx5e_res.hw_objs.td.tdn, rqn); in mlx5e_create_trap_direct_rq_tir()
149 err = mlx5e_create_trap_direct_rq_tir(t->mdev, &t->tir, t->rq.rqn); in mlx5e_open_trap()
A Drqt.c143 int mlx5e_rqt_redirect_direct(struct mlx5e_rqt *rqt, u32 rqn) in mlx5e_rqt_redirect_direct() argument
145 return mlx5e_rqt_redirect(rqt, &rqn, 1); in mlx5e_rqt_redirect_direct()
A Dtir.c48 void mlx5e_tir_builder_build_inline(struct mlx5e_tir_builder *builder, u32 tdn, u32 rqn) in mlx5e_tir_builder_build_inline() argument
57 MLX5_SET(tirc, tirc, inline_rqn, rqn); in mlx5e_tir_builder_build_inline()
A Drqt.h38 int mlx5e_rqt_redirect_direct(struct mlx5e_rqt *rqt, u32 rqn);
A Dtir.h27 void mlx5e_tir_builder_build_inline(struct mlx5e_tir_builder *builder, u32 tdn, u32 rqn);
A Dptp.h75 int mlx5e_ptp_get_rqn(struct mlx5e_ptp *c, u32 *rqn);
A Dptp.c758 int mlx5e_ptp_get_rqn(struct mlx5e_ptp *c, u32 *rqn) in mlx5e_ptp_get_rqn() argument
763 *rqn = c->rq.rqn; in mlx5e_ptp_get_rqn()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dtransobj.c74 *rqn = MLX5_GET(create_rq_out, out, rqn); in mlx5_core_create_rq()
82 MLX5_SET(modify_rq_in, in, rqn, rqn); in mlx5_core_modify_rq()
94 MLX5_SET(destroy_rq_in, in, rqn, rqn); in mlx5_core_destroy_rq()
104 MLX5_SET(query_rq_in, in, rqn, rqn); in mlx5_core_query_rq()
275 struct mlx5_hairpin_params *params, u32 *rqn) in mlx5_hairpin_create_rq() argument
336 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[j]); in mlx5_hairpin_create_queues()
345 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[i]); in mlx5_hairpin_destroy_queues()
368 return mlx5_core_modify_rq(func_mdev, rqn, in); in mlx5_hairpin_modify_rq()
406 err = mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[i], in mlx5_hairpin_pair_queues()
466 hp->rqn = (void *)hp + sizeof(*hp); in mlx5_core_hairpin_create()
[all …]
A Den_main.c828 err = mlx5_core_create_rq(mdev, in, inlen, &rq->rqn); in mlx5e_create_rq()
857 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_state()
886 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_scatter_fcs()
914 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_vsd()
923 mlx5_core_destroy_rq(rq->mdev, rq->rqn); in mlx5e_destroy_rq()
940 rq->ix, rq->rqn, mlx5e_rqwq_get_cur_sz(rq), min_wqes); in mlx5e_wait_for_min_rx_wqes()
4957 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_nic_rx()
A Den.h732 u32 rqn; member
A Den_rep.c812 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_rep_rx()
A Den_tc.c508 mlx5e_tir_builder_build_inline(builder, hp->tdn, hp->pair->rqn[0]); in mlx5e_hairpin_create_transport()
541 err = mlx5e_rqt_init_indir(&hp->indir_rqt, mdev, hp->pair->rqn, hp->num_channels, in mlx5e_hairpin_create_indirect_rqt()
898 mlx5e_tir_get_tirn(&hp->direct_tir), hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
A Den_rx.c1600 mlx5e_dump_error_cqe(&rq->cq, rq->rqn, err_cqe); in trigger_report()
/linux/include/linux/mlx5/
A Dtransobj.h41 u32 *rqn);
42 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in);
43 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn);
44 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out);
76 u32 *rqn; member
A Dmlx5_ifc.h5095 u8 rqn[0x18]; member
6882 u8 rqn[0x18]; member
7567 u8 rqn[0x18]; member
8242 u8 rqn[0x18]; member
/linux/drivers/infiniband/hw/mlx5/
A Dqpc.c551 static void destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid) in destroy_rq_tracked() argument
556 MLX5_SET(destroy_rq_in, in, rqn, rqn); in destroy_rq_tracked()
565 u32 rqn; in mlx5_core_create_rq_tracked() local
567 err = mlx5_core_create_rq(dev->mdev, in, inlen, &rqn); in mlx5_core_create_rq_tracked()
572 rq->qpn = rqn; in mlx5_core_create_rq_tracked()
A Ddevx.c312 return MLX5_GET(create_rq_out, out, rqn); in devx_get_created_obj_id()
402 MLX5_GET(query_rq_in, in, rqn)); in devx_get_obj_id()
406 MLX5_GET(modify_rq_in, in, rqn)); in devx_get_obj_id()
1142 MLX5_SET(destroy_rq_in, din, rqn, *obj_id); in devx_obj_build_destroy_cmd()
A Dqp.c1540 resp->rqn = rq->base.mqp.qpn; in create_raw_packet_qp()
/linux/include/uapi/rdma/
A Dmlx5-abi.h397 __u32 rqn; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
A Dipoib.c374 priv->max_nch, priv->drop_rq.rqn, in mlx5i_init_rx()

Completed in 145 milliseconds