Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c162 int new_num_actions, max_hw_actions; in mlx5e_mod_hdr_alloc() local
169 max_hw_actions = mlx5e_mod_hdr_max_actions(mdev, namespace); in mlx5e_mod_hdr_alloc()
170 new_num_actions = min(max_hw_actions, in mlx5e_mod_hdr_alloc()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1589 u32 max_hw_actions, in dr_actions_convert_modify_header() argument
1670 if (hw_idx >= max_hw_actions) { in dr_actions_convert_modify_header()
1696 u32 max_hw_actions; in dr_action_create_modify_action() local
1704 max_hw_actions = mlx5dr_icm_pool_chunk_size_to_entries(DR_CHUNK_SIZE_16); in dr_action_create_modify_action()
1706 if (num_sw_actions > max_hw_actions) { in dr_action_create_modify_action()
1708 num_sw_actions, max_hw_actions); in dr_action_create_modify_action()
1716 hw_actions = kcalloc(1, max_hw_actions * DR_MODIFY_ACTION_SIZE, GFP_KERNEL); in dr_action_create_modify_action()
1723 max_hw_actions, in dr_action_create_modify_action()