Home
last modified time | relevance | path

Searched refs:max_actions (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c167 if (mod_hdr_acts->num_actions < mod_hdr_acts->max_actions) in mlx5e_mod_hdr_alloc()
173 mod_hdr_acts->max_actions * 2 : 1); in mlx5e_mod_hdr_alloc()
174 if (mod_hdr_acts->max_actions == new_num_actions) in mlx5e_mod_hdr_alloc()
178 old_sz = mod_hdr_acts->max_actions * MLX5_MH_ACT_SZ; in mlx5e_mod_hdr_alloc()
195 mod_hdr_acts->max_actions = new_num_actions; in mlx5e_mod_hdr_alloc()
209 mod_hdr_acts->max_actions = 0; in mlx5e_mod_hdr_dealloc()
Dmod_hdr.h16 int max_actions; member
26 .max_actions = ARRAY_SIZE(acts_arr), \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c952 int max_actions, actions_size, inlen, err; in mlx5_cmd_modify_header_alloc() local
961 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
967 max_actions = MLX5_CAP_FLOWTABLE_NIC_RX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
973 max_actions = MLX5_CAP_FLOWTABLE_NIC_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
977 max_actions = MLX5_CAP_ESW_INGRESS_ACL(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
982 max_actions = MLX5_CAP_FLOWTABLE_RDMA_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
989 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc()
991 num_actions, max_actions); in mlx5_cmd_modify_header_alloc()