Home
last modified time | relevance | path

Searched refs:hw_actions (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ !
Ddr_ptrn.c27 __be64 hw_actions[]) in dr_ptrn_compare_modify_hdr() argument
36 MLX5_GET(ste_double_action_set_v1, &hw_actions[i], action_id); in dr_ptrn_compare_modify_hdr()
39 if (hw_actions[i] != cur_hw_actions[i]) in dr_ptrn_compare_modify_hdr()
42 if ((__force __be32)hw_actions[i] != in dr_ptrn_compare_modify_hdr()
54 __be64 hw_actions[]) in dr_ptrn_find_cached_pattern() argument
63 hw_actions)) { in dr_ptrn_find_cached_pattern()
138 u64 *hw_actions; in mlx5dr_ptrn_cache_get_pattern() local
152 hw_actions = (u64 *)pattern->data; in mlx5dr_ptrn_cache_get_pattern()
157 action_id = MLX5_GET(ste_double_action_set_v1, &hw_actions[i], action_id); in mlx5dr_ptrn_cache_get_pattern()
162 MLX5_SET(ste_double_action_set_v1, &hw_actions[i], inline_data, 0); in mlx5dr_ptrn_cache_get_pattern()
Ddr_action.c1459 u8 *hw_actions; in dr_action_create_reformat_action() local
1461 hw_actions = kzalloc(DR_ACTION_CACHE_LINE_SIZE, GFP_KERNEL); in dr_action_create_reformat_action()
1462 if (!hw_actions) in dr_action_create_reformat_action()
1467 hw_actions, in dr_action_create_reformat_action()
1472 kfree(hw_actions); in dr_action_create_reformat_action()
1476 action->rewrite->data = hw_actions; in dr_action_create_reformat_action()
1482 kfree(hw_actions); in dr_action_create_reformat_action()
1910 __be64 hw_actions[], in dr_actions_convert_modify_header() argument
1995 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()
2016 __be64 *hw_actions; in dr_action_create_modify_action() local
[all …]