Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c29 mlx5dr_ste_set_miss_addr(ste_ctx, last_ste->hw_ste, in dr_rule_append_to_miss_list()
34 0, last_ste->hw_ste, in dr_rule_append_to_miss_list()
43 u8 *hw_ste) in dr_rule_create_collision_htbl() argument
62 mlx5dr_ste_set_miss_addr(ste_ctx, hw_ste, in dr_rule_create_collision_htbl()
72 u8 *hw_ste, in dr_rule_create_collision_entry() argument
77 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
90 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
115 memcpy(ste_info->ste->hw_ste, ste_info->data, DR_STE_SIZE_CTRL); in dr_rule_handle_one_ste_in_update_list()
117 memcpy(ste_info->ste->hw_ste, ste_info->data, DR_STE_SIZE_REDUCED); in dr_rule_handle_one_ste_in_update_list()
158 dr_rule_find_ste_in_miss_list(struct list_head *miss_list, u8 *hw_ste) in dr_rule_find_ste_in_miss_list() argument
[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.h147 u8 *hw_ste; member
243 u8 *hw_ste, u64 miss_addr);
245 u8 *hw_ste, u64 icm_addr, u32 ht_size);
247 u8 *hw_ste,
Ddr_send.c498 htbl->ste_arr[ste_index + j].hw_ste, in mlx5dr_send_postsend_htbl()