Home
last modified time | relevance | path

Searched refs:hw_ste (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c45 u8 *hw_ste) in dr_rule_set_last_ste_miss_addr() argument
50 if (mlx5dr_ste_is_miss_addr_set(ste_ctx, hw_ste)) in dr_rule_set_last_ste_miss_addr()
54 mlx5dr_ste_set_miss_addr(ste_ctx, hw_ste, icm_addr); in dr_rule_set_last_ste_miss_addr()
60 u8 *hw_ste) in dr_rule_create_collision_htbl() argument
78 dr_rule_set_last_ste_miss_addr(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_htbl()
87 u8 *hw_ste, in dr_rule_create_collision_entry() argument
92 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_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()
175 dr_rule_find_ste_in_miss_list(struct list_head *miss_list, u8 *hw_ste) in dr_rule_find_ste_in_miss_list() argument
184 if (mlx5dr_ste_equal_tag(mlx5dr_ste_get_hw_ste(ste), hw_ste)) in dr_rule_find_ste_in_miss_list()
[all …]
Ddr_ste.c30 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in mlx5dr_ste_calc_hash_index() local
44 masked[i] = hw_ste->tag[i]; in mlx5dr_ste_calc_hash_index()
70 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in dr_ste_get_tag() local
72 return hw_ste->tag; in dr_ste_get_tag()
77 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in mlx5dr_ste_set_bit_mask() local
79 memcpy(hw_ste->mask, bit_mask, DR_STE_SIZE_MASK); in mlx5dr_ste_set_bit_mask()
82 static void dr_ste_set_always_hit(struct dr_hw_ste_format *hw_ste) in dr_ste_set_always_hit() argument
84 memset(&hw_ste->tag, 0, sizeof(hw_ste->tag)); in dr_ste_set_always_hit()
85 memset(&hw_ste->mask, 0, sizeof(hw_ste->mask)); in dr_ste_set_always_hit()
88 static void dr_ste_set_always_miss(struct dr_hw_ste_format *hw_ste) in dr_ste_set_always_miss() argument
[all …]
Ddr_types.h251 u8 *hw_ste, u64 miss_addr);
253 u8 *hw_ste, u64 icm_addr, u32 ht_size);
255 u8 *hw_ste,