/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 67 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq() argument 75 *rqn = MLX5_GET(create_rq_out, out, rqn); in mlx5_core_create_rq() 81 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in mlx5_core_modify_rq() argument 85 MLX5_SET(modify_rq_in, in, rqn, rqn); in mlx5_core_modify_rq() 93 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq() argument 99 MLX5_SET(destroy_rq_in, in, rqn, rqn); in mlx5_core_destroy_rq() 104 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq() argument 110 MLX5_SET(query_rq_in, in, rqn, rqn); in mlx5_core_query_rq() 306 struct mlx5_hairpin_params *params, u32 *rqn) in mlx5_hairpin_create_rq() argument 321 return mlx5_core_create_rq(mdev, in, MLX5_ST_SZ_BYTES(create_rq_in), rqn); in mlx5_hairpin_create_rq() [all …]
|
D | qp.c | 595 static void destroy_rq_tracked(struct mlx5_core_dev *dev, u32 rqn, u16 uid) in destroy_rq_tracked() argument 601 MLX5_SET(destroy_rq_in, in, rqn, rqn); in destroy_rq_tracked() 610 u32 rqn; in mlx5_core_create_rq_tracked() local 612 err = mlx5_core_create_rq(dev, in, inlen, &rqn); in mlx5_core_create_rq_tracked() 617 rq->qpn = rqn; in mlx5_core_create_rq_tracked()
|
D | en_main.c | 705 err = mlx5_core_create_rq(mdev, in, inlen, &rq->rqn); in mlx5e_create_rq() 731 err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in mlx5e_modify_rq_state() 762 err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in mlx5e_modify_rq_scatter_fcs() 791 err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in mlx5e_modify_rq_vsd() 800 mlx5_core_destroy_rq(rq->mdev, rq->rqn); in mlx5e_destroy_rq() 818 c->ix, rq->rqn, mlx5e_rqwq_get_cur_sz(rq), min_wqes); in mlx5e_wait_for_min_rx_wqes() 2435 MLX5_SET(rqtc, rqtc, rq_num[i], priv->drop_rq.rqn); in mlx5e_create_rqt() 2515 u32 rqn; in mlx5e_fill_rqt_rqns() local 2524 rqn = rrp.rss.channels->c[ix]->rq.rqn; in mlx5e_fill_rqt_rqns() 2526 rqn = rrp.rqn; in mlx5e_fill_rqt_rqns() [all …]
|
D | en.h | 692 u32 rqn; member 990 u32 rqn; /* Direct RQN (Non-RSS) */ member
|
D | en_tc.c | 467 MLX5_SET(tirc, tirc, inline_rqn, hp->pair->rqn[0]); in mlx5e_hairpin_create_transport() 490 u32 indirection_rqt[MLX5E_INDIR_RQT_SIZE], rqn; in mlx5e_hairpin_fill_rqt_rqns() local 502 rqn = hp->pair->rqn[ix]; in mlx5e_hairpin_fill_rqt_rqns() 503 MLX5_SET(rqtc, rqtc, rq_num[i], rqn); in mlx5e_hairpin_fill_rqt_rqns() 858 hp->tirn, hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_rx.c | 7 static int mlx5e_query_rq_state(struct mlx5_core_dev *dev, u32 rqn, u8 *state) in mlx5e_query_rq_state() argument 18 err = mlx5_core_query_rq(dev, rqn, out); in mlx5e_query_rq_state() 125 netdev_err(dev, "Failed to move rq 0x%x to reset\n", rq->rqn); in mlx5e_rq_to_ready() 130 netdev_err(dev, "Failed to move rq 0x%x to ready\n", rq->rqn); in mlx5e_rq_to_ready() 148 err = mlx5e_query_rq_state(mdev, rq->rqn, &state); in mlx5e_rx_reporter_err_rq_cqe_recover() 151 rq->rqn, err); in mlx5e_rx_reporter_err_rq_cqe_recover() 182 sprintf(err_str, "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err() 214 icosq->channel->ix, icosq->sqn, rq->rqn, rq->cq.mcq.cqn); in mlx5e_reporter_rx_timeout() 248 err = mlx5e_query_rq_state(priv->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output() 268 err = devlink_fmsg_u32_pair_put(fmsg, "rqn", rq->rqn); in mlx5e_rx_reporter_build_diagnose_output()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | setup.c | 175 static int mlx5e_redirect_xsk_rqt(struct mlx5e_priv *priv, u16 ix, u32 rqn) in mlx5e_redirect_xsk_rqt() argument 180 .rqn = rqn, in mlx5e_redirect_xsk_rqt() 191 return mlx5e_redirect_xsk_rqt(priv, c->ix, c->xskrq.rqn); in mlx5e_xsk_redirect_rqt_to_channel() 196 return mlx5e_redirect_xsk_rqt(priv, ix, priv->drop_rq.rqn); in mlx5e_xsk_redirect_rqt_to_drop()
|
/drivers/infiniband/hw/mlx5/ |
D | devx.c | 382 MLX5_GET(query_rq_in, in, rqn)); in devx_get_obj_id() 386 MLX5_GET(modify_rq_in, in, rqn)); in devx_get_obj_id()
|
D | qp.c | 1504 resp->rqn = rq->base.mqp.qpn; in create_raw_packet_qp()
|