Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c38 u8 *hw_ste) in dr_rule_create_collision_htbl() argument
59 mlx5dr_ste_set_miss_addr(ste_ctx, hw_ste, icm_addr); in dr_rule_create_collision_htbl()
68 u8 *hw_ste, in dr_rule_create_collision_entry() argument
73 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
86 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
156 dr_rule_find_ste_in_miss_list(struct list_head *miss_list, u8 *hw_ste) in dr_rule_find_ste_in_miss_list() argument
165 if (mlx5dr_ste_equal_tag(mlx5dr_ste_get_hw_ste(ste), hw_ste)) in dr_rule_find_ste_in_miss_list()
177 u8 *hw_ste) in dr_rule_rehash_handle_collision() argument
183 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
239 u8 hw_ste[DR_STE_SIZE] = {}; in dr_rule_rehash_copy_ste() local
[all …]
Ddr_ste.c29 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in mlx5dr_ste_calc_hash_index() local
43 masked[i] = hw_ste->tag[i]; in mlx5dr_ste_calc_hash_index()
69 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in dr_ste_get_tag() local
71 return hw_ste->tag; in dr_ste_get_tag()
76 struct dr_hw_ste_format *hw_ste = (struct dr_hw_ste_format *)hw_ste_p; in mlx5dr_ste_set_bit_mask() local
78 memcpy(hw_ste->mask, bit_mask, DR_STE_SIZE_MASK); in mlx5dr_ste_set_bit_mask()
81 static void dr_ste_set_always_hit(struct dr_hw_ste_format *hw_ste) in dr_ste_set_always_hit() argument
83 memset(&hw_ste->tag, 0, sizeof(hw_ste->tag)); in dr_ste_set_always_hit()
84 memset(&hw_ste->mask, 0, sizeof(hw_ste->mask)); in dr_ste_set_always_hit()
87 static void dr_ste_set_always_miss(struct dr_hw_ste_format *hw_ste) in dr_ste_set_always_miss() argument
[all …]
Ddr_types.h239 u8 *hw_ste, u64 miss_addr);
241 u8 *hw_ste, u64 icm_addr, u32 ht_size);
243 u8 *hw_ste,