Home
last modified time | relevance | path

Searched refs:tirn (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_common.c43 err = mlx5_core_create_tir(mdev, in, &tir->tirn); in mlx5e_create_tir()
58 mlx5_core_destroy_tir(mdev, tir->tirn); in mlx5e_destroy_tir()
161 u32 tirn = 0; in mlx5e_refresh_tirs() local
185 tirn = tir->tirn; in mlx5e_refresh_tirs()
186 err = mlx5_core_modify_tir(mdev, tirn, in); in mlx5e_refresh_tirs()
194 netdev_err(priv->netdev, "refresh tir(0x%x) failed, %d\n", tirn, err); in mlx5e_refresh_tirs()
Dtransobj.c175 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, u32 *tirn) in mlx5_core_create_tir() argument
183 *tirn = MLX5_GET(create_tir_out, out, tirn); in mlx5_core_create_tir()
189 int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in) in mlx5_core_modify_tir() argument
191 MLX5_SET(modify_tir_in, in, tirn, tirn); in mlx5_core_modify_tir()
196 void mlx5_core_destroy_tir(struct mlx5_core_dev *dev, u32 tirn) in mlx5_core_destroy_tir() argument
201 MLX5_SET(destroy_tir_in, in, tirn, tirn); in mlx5_core_destroy_tir()
Den_arfs.c180 dest.tir_num = tir[tt].tirn; in arfs_add_default_rule()
517 dest.tir_num = priv->direct_tir[arfs_rule->rxq].tirn; in arfs_add_rule()
540 dst.tir_num = priv->direct_tir[rxq].tirn; in arfs_modify_rule_rq()
Den_fs.c1137 ttc_params->any_tt_tirn = priv->direct_tir[0].tirn; in mlx5e_set_ttc_basic_params()
1591 ttc_params.indir_tirn[tt] = priv->inner_indir_tir[tt].tirn; in mlx5e_create_flow_steering()
1602 ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn; in mlx5e_create_flow_steering()
Den_rep.c798 ttc_params.any_tt_tirn = priv->direct_tir[0].tirn; in mlx5e_create_rep_ttc_table()
806 ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn; in mlx5e_create_rep_ttc_table()
Den_main.c2779 mlx5_core_modify_tir(mdev, priv->indir_tir[tt].tirn, in); in mlx5e_modify_tirs_hash()
2783 if (!priv->inner_indir_tir[0].tirn) in mlx5e_modify_tirs_hash()
2791 mlx5_core_modify_tir(mdev, priv->inner_indir_tir[tt].tirn, in); in mlx5e_modify_tirs_hash()
2817 err = mlx5_core_modify_tir(mdev, priv->indir_tir[tt].tirn, in); in mlx5e_modify_tirs_lro()
2822 if (!priv->inner_indir_tir[0].tirn) in mlx5e_modify_tirs_lro()
2825 err = mlx5_core_modify_tir(mdev, priv->inner_indir_tir[tt].tirn, in); in mlx5e_modify_tirs_lro()
2831 err = mlx5_core_modify_tir(mdev, priv->direct_tir[ix].tirn, in); in mlx5e_modify_tirs_lro()
3536 if (!priv->inner_indir_tir[0].tirn) in mlx5e_destroy_indirect_tirs()
Den_tc.c329 u32 tirn; member
528 err = mlx5_core_create_tir(hp->func_mdev, in, &hp->tirn); in mlx5e_hairpin_create_transport()
542 mlx5_core_destroy_tir(hp->func_mdev, hp->tirn); in mlx5e_hairpin_destroy_transport()
642 ttc_params->any_tt_tirn = hp->tirn; in mlx5e_hairpin_set_ttc_params()
925 hp->tirn, hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
934 flow->attr->nic_attr->hairpin_tirn = hpe->hp->tirn; in mlx5e_hairpin_flow_add()
Den.h714 u32 tirn; member
Den_fs_ethtool.c437 dst->tir_num = tir[ix].tirn; in add_ethtool_flow_rule()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dtransobj.h51 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, u32 *tirn);
52 int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in);
53 void mlx5_core_destroy_tir(struct mlx5_core_dev *dev, u32 tirn);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.h13 struct sock *sk, u32 tirn,
20 struct sock *sk, u32 tirn, in mlx5e_accel_fs_add_sk() argument
Dktls_rx.c51 u32 tirn; member
74 static int mlx5e_ktls_create_tir(struct mlx5_core_dev *mdev, u32 *tirn, u32 rqtn) in mlx5e_ktls_create_tir() argument
96 err = mlx5_core_create_tir(mdev, in, tirn); in mlx5e_ktls_create_tir()
114 priv_rx->tirn, MLX5_FS_DEFAULT_FLOW_TAG); in accel_rule_handle_work()
150 priv_rx->tirn, priv_rx->key_id, in post_static_params()
180 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_rx->tirn, false, in post_progress_params()
305 psv->psv_index[0] = cpu_to_be32(priv_rx->tirn); in resync_post_get_progress_params()
617 err = mlx5e_ktls_create_tir(mdev, &priv_rx->tirn, rqtn); in mlx5e_ktls_add_rx()
638 mlx5_core_destroy_tir(mdev, priv_rx->tirn); in mlx5e_ktls_add_rx()
673 mlx5_core_destroy_tir(mdev, priv_rx->tirn); in mlx5e_ktls_del_rx()
Dfs_tcp.c75 struct sock *sk, u32 tirn, in mlx5e_accel_fs_add_sk() argument
134 dest.tir_num = tirn; in mlx5e_accel_fs_add_sk()
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/
Dresources.c135 int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) in mlx5_vdpa_create_tir() argument
143 *tirn = MLX5_GET(create_tir_out, out, tirn); in mlx5_vdpa_create_tir()
148 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn) in mlx5_vdpa_destroy_tir() argument
154 MLX5_SET(destroy_tir_in, in, tirn, tirn); in mlx5_vdpa_destroy_tir()
Dmlx5_vdpa.h70 int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn);
71 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcmd.c151 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid) in mlx5_cmd_destroy_tir() argument
156 MLX5_SET(destroy_tir_in, in, tirn, tirn); in mlx5_cmd_destroy_tir()
Dcmd.h48 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid);
Dqp.c1368 mlx5_cmd_destroy_tir(dev->mdev, rq->tirn, to_mpd(pd)->uid); in destroy_raw_packet_qp_tir()
1409 rq->tirn = MLX5_GET(create_tir_out, out, tirn); in create_raw_packet_qp_tir()
1478 resp->tirn = rq->tirn; in create_raw_packet_qp()
1549 mlx5_cmd_destroy_tir(dev->mdev, qp->rss_qp.tirn, in destroy_rss_raw_qp_tir()
1728 qp->rss_qp.tirn = MLX5_GET(create_tir_out, out, tirn); in create_rss_raw_qp_tir()
1733 mlx5_cmd_destroy_tir(dev->mdev, qp->rss_qp.tirn, in create_rss_raw_qp_tir()
1742 params->resp.tirn = qp->rss_qp.tirn; in create_rss_raw_qp_tir()
Ddevx.c355 MLX5_GET(query_tir_in, in, tirn)); in devx_get_obj_id()
359 MLX5_GET(modify_tir_in, in, tirn)); in devx_get_obj_id()
575 rq->tirn) == obj_id || in devx_is_valid_obj_id()
1067 *obj_id = MLX5_GET(create_tir_out, out, tirn); in devx_obj_build_destroy_cmd()
1069 MLX5_SET(destroy_tir_in, din, tirn, *obj_id); in devx_obj_build_destroy_cmd()
Dfs.c1239 dst->tir_num = mqp->rss_qp.tirn; in mlx5_ib_create_flow()
1241 dst->tir_num = mqp->raw_packet_qp.rq.tirn; in mlx5_ib_create_flow()
1884 *dest_id = mqp->rss_qp.tirn; in get_dests()
1886 *dest_id = mqp->raw_packet_qp.rq.tirn; in get_dests()
Dmlx5_ib.h348 u32 tirn; member
356 u32 tirn; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dmlx5-abi.h379 __u32 tirn; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dmlx5-abi.h281 __u32 tirn; member
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c41 u32 tirn; member
1260 err = mlx5_vdpa_create_tir(&ndev->mvdev, in, &ndev->res.tirn); in create_tir()
1267 mlx5_vdpa_destroy_tir(&ndev->mvdev, ndev->res.tirn); in destroy_tir()
1300 dest[0].tir_num = ndev->res.tirn; in add_fwd_to_tir()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c342 ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn; in mlx5i_create_flow_steering()

12