Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
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()
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);
Drx_res.c535 u32 rqn; in mlx5e_rx_res_channels_activate() local
537 mlx5e_channels_get_regular_rqn(chs, ix, &rqn); in mlx5e_rx_res_channels_activate()
538 err = mlx5e_rqt_redirect_direct(&res->channels[ix].direct_rqt, rqn); in mlx5e_rx_res_channels_activate()
542 rqn, ix, err); in mlx5e_rx_res_channels_activate()
547 if (!mlx5e_channels_get_xsk_rqn(chs, ix, &rqn)) in mlx5e_rx_res_channels_activate()
548 rqn = res->drop_rqn; in mlx5e_rx_res_channels_activate()
549 err = mlx5e_rqt_redirect_direct(&res->channels[ix].xsk_rqt, rqn); in mlx5e_rx_res_channels_activate()
553 rqn, ix, err); in mlx5e_rx_res_channels_activate()
573 u32 rqn; in mlx5e_rx_res_channels_activate() local
575 if (!mlx5e_channels_get_ptp_rqn(chs, &rqn)) in mlx5e_rx_res_channels_activate()
[all …]
Dreporter_rx.c10 static int mlx5e_query_rq_state(struct mlx5_core_dev *dev, u32 rqn, u8 *state) in mlx5e_query_rq_state() argument
21 err = mlx5_core_query_rq(dev, rqn, out); in mlx5e_query_rq_state()
116 netdev_err(dev, "Failed to move rq 0x%x to reset\n", rq->rqn); in mlx5e_rq_to_ready()
121 netdev_err(dev, "Failed to move rq 0x%x to ready\n", rq->rqn); in mlx5e_rq_to_ready()
244 err = mlx5e_query_rq_state(rq->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
252 err = devlink_fmsg_u32_pair_put(fmsg, "rqn", rq->rqn); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
566 key.index1 = rq->rqn; in mlx5e_rx_reporter_dump_rq()
625 err = mlx5e_health_queue_dump(priv, fmsg, rq->rqn, "RQ"); in mlx5e_rx_reporter_dump_all_rqs()
631 err = mlx5e_health_queue_dump(priv, fmsg, ptp_ch->rq.rqn, "PTP RQ"); in mlx5e_rx_reporter_dump_all_rqs()
673 rq->ix, icosq_str, rq->rqn, rq->cq.mcq.cqn); in mlx5e_reporter_rx_timeout()
[all …]
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()
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()
Drqt.h38 int mlx5e_rqt_redirect_direct(struct mlx5e_rqt *rqt, u32 rqn);
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()
Dtir.h27 void mlx5e_tir_builder_build_inline(struct mlx5e_tir_builder *builder, u32 tdn, u32 rqn);
Dptp.h75 int mlx5e_ptp_get_rqn(struct mlx5e_ptp *c, u32 *rqn);
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c66 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq() argument
74 *rqn = MLX5_GET(create_rq_out, out, rqn); in mlx5_core_create_rq()
80 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in) in mlx5_core_modify_rq() argument
82 MLX5_SET(modify_rq_in, in, rqn, rqn); in mlx5_core_modify_rq()
89 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq() argument
94 MLX5_SET(destroy_rq_in, in, rqn, rqn); in mlx5_core_destroy_rq()
99 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq() argument
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
290 return mlx5_core_create_rq(mdev, in, MLX5_ST_SZ_BYTES(create_rq_in), rqn); in mlx5_hairpin_create_rq()
[all …]
Den_main.c668 err = mlx5_core_create_rq(mdev, in, inlen, &rq->rqn); in mlx5e_create_rq()
697 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_state()
726 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_scatter_fcs()
754 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_vsd()
763 mlx5_core_destroy_rq(rq->mdev, rq->rqn); in mlx5e_destroy_rq()
780 rq->ix, rq->rqn, mlx5e_rqwq_get_cur_sz(rq), min_wqes); in mlx5e_wait_for_min_rx_wqes()
4631 priv->max_nch, priv->drop_rq.rqn, &lro_param, in mlx5e_init_nic_rx()
Den.h666 u32 rqn; member
Den_rep.c813 priv->max_nch, priv->drop_rq.rqn, &lro_param, in mlx5e_init_rep_rx()
Den_tc.c493 mlx5e_tir_builder_build_inline(builder, hp->tdn, hp->pair->rqn[0]); in mlx5e_hairpin_create_transport()
526 err = mlx5e_rqt_init_indir(&hp->indir_rqt, mdev, hp->pair->rqn, hp->num_channels, in mlx5e_hairpin_create_indirect_rqt()
883 mlx5e_tir_get_tirn(&hp->direct_tir), hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
Den_rx.c1217 mlx5e_dump_error_cqe(&rq->cq, rq->rqn, err_cqe); in trigger_report()
/Linux-v5.15/include/linux/mlx5/
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
Dmlx5_ifc.h4971 u8 rqn[0x18]; member
6528 u8 rqn[0x18]; member
7213 u8 rqn[0x18]; member
7888 u8 rqn[0x18]; member
/Linux-v5.15/drivers/infiniband/hw/mlx5/
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()
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()
Dqp.c1540 resp->rqn = rq->base.mqp.qpn; in create_raw_packet_qp()
/Linux-v5.15/include/uapi/rdma/
Dmlx5-abi.h397 __u32 rqn; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c373 priv->max_nch, priv->drop_rq.rqn, &lro_param, in mlx5i_init_rx()