Home
last modified time | relevance | path

Searched refs:hw_objs (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_common.c79 struct mlx5e_hw_objs *res = &mdev->mlx5e_res.hw_objs; in mlx5e_create_mdev_resources()
129 struct mlx5e_hw_objs *res = &mdev->mlx5e_res.hw_objs; in mlx5e_destroy_mdev_resources()
167 mutex_lock(&mdev->mlx5e_res.hw_objs.td.list_lock); in mlx5e_refresh_tirs()
168 list_for_each_entry(tir, &mdev->mlx5e_res.hw_objs.td.tirs_list, list) { in mlx5e_refresh_tirs()
174 mutex_unlock(&mdev->mlx5e_res.hw_objs.td.list_lock); in mlx5e_refresh_tirs()
H A Den_main.c378 MLX5_SET(mkc, mkc, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_create_umr_mkey()
400 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey), in mlx5e_create_umr_mkey()
405 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey), in mlx5e_create_umr_mkey()
413 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey), in mlx5e_create_umr_mkey()
428 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey), in mlx5e_create_umr_mkey()
465 MLX5_SET(mkc, mkc, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_create_umr_klm_mkey()
755 rq->mkey_be = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey); in mlx5e_alloc_rq()
1355 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_xdpsq()
1440 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_icosq()
1525 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_txqsq()
[all …]
H A Den_rx.c644 u32 lkey = rq->mdev->mlx5e_res.hw_objs.mkey; in mlx5e_build_shampo_hd_umr()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtir.c173 struct mlx5e_hw_objs *res = &tir->mdev->mlx5e_res.hw_objs; in mlx5e_tir_init()
187 struct mlx5e_hw_objs *res = &tir->mdev->mlx5e_res.hw_objs; in mlx5e_tir_destroy()
H A Dtrap.c108 mlx5e_tir_builder_build_inline(builder, mdev->mlx5e_res.hw_objs.td.tdn, rqn); in mlx5e_create_trap_direct_rq_tir()
146 t->mkey_be = cpu_to_be32(priv->mdev->mlx5e_res.hw_objs.mkey); in mlx5e_open_trap()
H A Drx_res.c320 mlx5e_tir_builder_build_rqt(builder, res->mdev->mlx5e_res.hw_objs.td.tdn, in mlx5e_rx_res_channels_init()
370 mlx5e_tir_builder_build_rqt(builder, res->mdev->mlx5e_res.hw_objs.td.tdn, in mlx5e_rx_res_ptp_init()
643 mlx5e_tir_builder_build_rqt(builder, res->mdev->mlx5e_res.hw_objs.td.tdn, rqtn, in mlx5e_rx_res_tls_tir_create()
H A Dptp.c335 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_ptp_alloc_txqsq()
877 c->mkey_be = cpu_to_be32(priv->mdev->mlx5e_res.hw_objs.mkey); in mlx5e_ptp_open()
H A Drss.c162 mlx5e_tir_builder_build_rqt(builder, rss->mdev->mlx5e_res.hw_objs.td.tdn, in mlx5e_rss_create_tir()
H A Dparams.c1007 MLX5_SET(wq, wq, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_build_rq_param()
1052 MLX5_SET(wq, wq, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_build_sq_param_common()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c174 res = &mdev->mlx5e_res.hw_objs; in mlx5_create_ipsec_obj()
523 res = &mdev->mlx5e_res.hw_objs; in mlx5e_ipsec_aso_init()
602 res = &mdev->mlx5e_res.hw_objs; in mlx5e_ipsec_aso_query()
H A Dktls_tx.c47 MLX5_SET(tisc, tisc, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_ktls_set_tisc()
48 MLX5_SET(tisc, tisc, transport_domain, mdev->mlx5e_res.hw_objs.td.tdn); in mlx5e_ktls_set_tisc()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c166 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5_aso_alloc_sq()
206 MLX5_SET(wq, wq, uar_page, mdev->mlx5e_res.hw_objs.bfreg.index); in create_aso_sq()
H A Dcrypto.c175 MLX5_SET(encryption_key_obj, obj, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5_crypto_create_dek_bulk()
209 MLX5_SET(encryption_key_obj, obj, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5_crypto_modify_dek_key()
245 MLX5_SET(encryption_key_obj, obj, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5_crypto_create_dek_key()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c749 return mdev->mlx5e_res.hw_objs.pdn != 0; in mlx5_is_sub_interface()
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h677 } hw_objs; member