Home
last modified time | relevance | path

Searched refs:ste (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c64 struct mlx5dr_ste *ste; in dr_rule_create_collision_htbl() local
77 ste = new_htbl->chunk->ste_arr; in dr_rule_create_collision_htbl()
81 return ste; in dr_rule_create_collision_htbl()
90 struct mlx5dr_ste *ste; in dr_rule_create_collision_entry() local
92 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
93 if (!ste) { in dr_rule_create_collision_entry()
98 ste->ste_chain_location = orig_ste->ste_chain_location; in dr_rule_create_collision_entry()
99 ste->htbl->pointing_ste = orig_ste->htbl->pointing_ste; in dr_rule_create_collision_entry()
102 ste->htbl->chunk->miss_list = mlx5dr_ste_get_miss_list(orig_ste); in dr_rule_create_collision_entry()
105 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
[all …]
Ddr_ste.c124 u64 mlx5dr_ste_get_icm_addr(struct mlx5dr_ste *ste) in mlx5dr_ste_get_icm_addr() argument
126 u64 base_icm_addr = mlx5dr_icm_pool_get_chunk_icm_addr(ste->htbl->chunk); in mlx5dr_ste_get_icm_addr()
127 u32 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_icm_addr()
132 u64 mlx5dr_ste_get_mr_addr(struct mlx5dr_ste *ste) in mlx5dr_ste_get_mr_addr() argument
134 u32 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_mr_addr()
136 return mlx5dr_icm_pool_get_chunk_mr_addr(ste->htbl->chunk) + DR_STE_SIZE * index; in mlx5dr_ste_get_mr_addr()
139 u8 *mlx5dr_ste_get_hw_ste(struct mlx5dr_ste *ste) in mlx5dr_ste_get_hw_ste() argument
141 u64 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_hw_ste()
143 return ste->htbl->chunk->hw_ste_arr + DR_STE_SIZE_REDUCED * index; in mlx5dr_ste_get_hw_ste()
146 struct list_head *mlx5dr_ste_get_miss_list(struct mlx5dr_ste *ste) in mlx5dr_ste_get_miss_list() argument
[all …]
Ddr_types.h200 struct mlx5dr_ste *ste; member
208 void mlx5dr_send_fill_and_append_ste_send_info(struct mlx5dr_ste *ste, u16 size,
260 u64 mlx5dr_ste_get_icm_addr(struct mlx5dr_ste *ste);
261 u64 mlx5dr_ste_get_mr_addr(struct mlx5dr_ste *ste);
262 struct list_head *mlx5dr_ste_get_miss_list(struct mlx5dr_ste *ste);
352 void mlx5dr_ste_free(struct mlx5dr_ste *ste,
355 static inline void mlx5dr_ste_put(struct mlx5dr_ste *ste, in mlx5dr_ste_put() argument
359 ste->refcount--; in mlx5dr_ste_put()
360 if (!ste->refcount) in mlx5dr_ste_put()
361 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
[all …]
Ddr_send.c513 void mlx5dr_send_fill_and_append_ste_send_info(struct mlx5dr_ste *ste, u16 size, in mlx5dr_send_fill_and_append_ste_send_info() argument
520 ste_info->ste = ste; in mlx5dr_send_fill_and_append_ste_send_info()
696 int mlx5dr_send_postsend_ste(struct mlx5dr_domain *dmn, struct mlx5dr_ste *ste, in mlx5dr_send_postsend_ste() argument
706 send_info.remote_addr = mlx5dr_ste_get_mr_addr(ste) + offset; in mlx5dr_send_postsend_ste()
707 send_info.rkey = mlx5dr_icm_pool_get_chunk_rkey(ste->htbl->chunk); in mlx5dr_send_postsend_ste()
740 struct mlx5dr_ste *ste = &htbl->chunk->ste_arr[ste_index + j]; in mlx5dr_send_postsend_htbl() local
743 if (mlx5dr_ste_is_not_used(ste)) { in mlx5dr_send_postsend_htbl()
Ddr_dbg.c263 dr_dump_rule_mem(struct seq_file *file, struct mlx5dr_ste *ste, in dr_dump_rule_mem() argument
277 dr_dump_hex_print(hw_ste_dump, (char *)mlx5dr_ste_get_hw_ste(ste), in dr_dump_rule_mem()
281 dr_dump_icm_to_idx(mlx5dr_ste_get_icm_addr(ste)), rule_id, in dr_dump_rule_mem()
/drivers/iommu/
Ds390-iommu.c352 unsigned long ste, pte, rte; in s390_iommu_iova_to_phys() local
368 ste = READ_ONCE(sto[sx]); in s390_iommu_iova_to_phys()
369 if (reg_entry_isvalid(ste)) { in s390_iommu_iova_to_phys()
370 pto = get_st_pto(ste); in s390_iommu_iova_to_phys()
/drivers/pmdomain/st/
DMakefile2 obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o
/drivers/iommu/arm/arm-smmu-v3/pkvm/
Darm-smmu-v3.c814 u64 *ste; in smmu_domain_config_s1() local
822 ste = smmu_get_ste_ptr(smmu, sid); in smmu_domain_config_s1()
823 val = le64_to_cpu(ste[0]); in smmu_domain_config_s1()
/drivers/scsi/
Dipr.c2660 const struct ipr_ses_table_entry *ste = ipr_ses_table; in ipr_find_ses_entry() local
2662 for (i = 0; i < ARRAY_SIZE(ipr_ses_table); i++, ste++) { in ipr_find_ses_entry()
2664 if (ste->compare_product_id_byte[j] == 'X') { in ipr_find_ses_entry()
2666 if (vpids->product_id[j] == ste->product_id[j]) in ipr_find_ses_entry()
2675 return ste; in ipr_find_ses_entry()
2696 const struct ipr_ses_table_entry *ste; in ipr_get_max_scsi_speed() local
2707 if (!(ste = ipr_find_ses_entry(res))) in ipr_get_max_scsi_speed()
2710 max_xfer_rate = (ste->max_bus_speed_limit * 10) / (bus_width / 8); in ipr_get_max_scsi_speed()