Home
last modified time | relevance | path

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

/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.c1431 u8 *hw_actions; in dr_action_create_reformat_action() local
1433 hw_actions = kzalloc(DR_ACTION_CACHE_LINE_SIZE, GFP_KERNEL); in dr_action_create_reformat_action()
1434 if (!hw_actions) in dr_action_create_reformat_action()
1439 hw_actions, in dr_action_create_reformat_action()
1444 kfree(hw_actions); in dr_action_create_reformat_action()
1448 action->rewrite->data = hw_actions; in dr_action_create_reformat_action()
1454 kfree(hw_actions); in dr_action_create_reformat_action()
1882 __be64 hw_actions[], in dr_actions_convert_modify_header() argument
1967 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()
1988 __be64 *hw_actions; in dr_action_create_modify_action() local
[all …]