Home
last modified time | relevance | path

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

/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.c685 err = mlx5_core_create_rq(mdev, in, inlen, &rq->rqn); in mlx5e_create_rq()
714 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_state()
745 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_scatter_fcs()
774 err = mlx5_core_modify_rq(mdev, rq->rqn, in); in mlx5e_modify_rq_vsd()
783 mlx5_core_destroy_rq(rq->mdev, rq->rqn); in mlx5e_destroy_rq()
801 c->ix, rq->rqn, mlx5e_rqwq_get_cur_sz(rq), min_wqes); in mlx5e_wait_for_min_rx_wqes()
2476 MLX5_SET(rqtc, rqtc, rq_num[i], priv->drop_rq.rqn); in mlx5e_create_rqt()
2556 u32 rqn; in mlx5e_fill_rqt_rqns() local
2565 rqn = rrp.rss.channels->c[ix]->rq.rqn; in mlx5e_fill_rqt_rqns()
2567 rqn = rrp.rqn; in mlx5e_fill_rqt_rqns()
[all …]
Den.h632 u32 rqn; member
892 u32 rqn; /* Direct RQN (Non-RSS) */ member
Den_tc.c525 MLX5_SET(tirc, tirc, inline_rqn, hp->pair->rqn[0]); in mlx5e_hairpin_create_transport()
548 u32 indirection_rqt[MLX5E_INDIR_RQT_SIZE], rqn; in mlx5e_hairpin_fill_rqt_rqns() local
560 rqn = hp->pair->rqn[ix]; in mlx5e_hairpin_fill_rqt_rqns()
561 MLX5_SET(rqtc, rqtc, rq_num[i], rqn); in mlx5e_hairpin_fill_rqt_rqns()
925 hp->tirn, hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
Den_rx.c1221 mlx5e_dump_error_cqe(&rq->cq, rq->rqn, err_cqe); in trigger_report()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c136 static int mlx5e_redirect_xsk_rqt(struct mlx5e_priv *priv, u16 ix, u32 rqn) in mlx5e_redirect_xsk_rqt() argument
141 .rqn = rqn, in mlx5e_redirect_xsk_rqt()
152 return mlx5e_redirect_xsk_rqt(priv, c->ix, c->xskrq.rqn); in mlx5e_xsk_redirect_rqt_to_channel()
157 return mlx5e_redirect_xsk_rqt(priv, ix, priv->drop_rq.rqn); in mlx5e_xsk_redirect_rqt_to_drop()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c8 static int mlx5e_query_rq_state(struct mlx5_core_dev *dev, u32 rqn, u8 *state) in mlx5e_query_rq_state() argument
19 err = mlx5_core_query_rq(dev, rqn, out); in mlx5e_query_rq_state()
114 netdev_err(dev, "Failed to move rq 0x%x to reset\n", rq->rqn); in mlx5e_rq_to_ready()
119 netdev_err(dev, "Failed to move rq 0x%x to ready\n", rq->rqn); in mlx5e_rq_to_ready()
246 err = mlx5e_query_rq_state(priv->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output()
266 err = devlink_fmsg_u32_pair_put(fmsg, "rqn", rq->rqn); in mlx5e_rx_reporter_build_diagnose_output()
474 key.index1 = rq->rqn; in mlx5e_rx_reporter_dump_rq()
532 err = mlx5e_health_queue_dump(priv, fmsg, rq->rqn, "RQ"); in mlx5e_rx_reporter_dump_all_rqs()
570 icosq->channel->ix, icosq->sqn, rq->rqn, rq->cq.mcq.cqn); in mlx5e_reporter_rx_timeout()
584 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
/drivers/infiniband/hw/mlx5/
Dqpc.c544 static int destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid) in destroy_rq_tracked() argument
549 MLX5_SET(destroy_rq_in, in, rqn, rqn); in destroy_rq_tracked()
558 u32 rqn; in mlx5_core_create_rq_tracked() local
560 err = mlx5_core_create_rq(dev->mdev, in, inlen, &rqn); in mlx5_core_create_rq_tracked()
565 rq->qpn = rqn; in mlx5_core_create_rq_tracked()
Ddevx.c331 MLX5_GET(query_rq_in, in, rqn)); in devx_get_obj_id()
335 MLX5_GET(modify_rq_in, in, rqn)); in devx_get_obj_id()
Dqp.c1476 resp->rqn = rq->base.mqp.qpn; in create_raw_packet_qp()