Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c1673 u32 max_hw_actions, in dr_actions_convert_modify_header() argument
1743 if ((num_sw_actions + hw_idx - i) >= max_hw_actions) { in dr_actions_convert_modify_header()
1765 u32 max_hw_actions; in dr_action_create_modify_action() local
1773 max_hw_actions = mlx5dr_icm_pool_chunk_size_to_entries(DR_CHUNK_SIZE_16); in dr_action_create_modify_action()
1775 if (num_sw_actions > max_hw_actions) { in dr_action_create_modify_action()
1777 num_sw_actions, max_hw_actions); in dr_action_create_modify_action()
1785 hw_actions = kcalloc(1, max_hw_actions * DR_MODIFY_ACTION_SIZE, GFP_KERNEL); in dr_action_create_modify_action()
1792 max_hw_actions, in dr_action_create_modify_action()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c3004 int action_size, new_num_actions, max_hw_actions; in alloc_mod_hdr_actions() local
3013 max_hw_actions = mlx5e_flow_namespace_max_modify_action(mdev, in alloc_mod_hdr_actions()
3015 new_num_actions = min(max_hw_actions, in alloc_mod_hdr_actions()