Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
H A Dmod_hdr.h16 int max_actions; member
26 .max_actions = ARRAY_SIZE(acts_arr), \
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c951 int max_actions, actions_size, inlen, err; in mlx5_cmd_modify_header_alloc() local
960 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
966 max_actions = MLX5_CAP_FLOWTABLE_NIC_RX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
972 max_actions = MLX5_CAP_FLOWTABLE_NIC_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
976 max_actions = MLX5_CAP_ESW_INGRESS_ACL(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
981 max_actions = MLX5_CAP_FLOWTABLE_RDMA_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
988 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc()
990 num_actions, max_actions); in mlx5_cmd_modify_header_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpat_arg.c526 size_t max_actions, size_t *new_size, in mlx5hws_pat_calc_nop() argument
542 if (j >= max_actions) in mlx5hws_pat_calc_nop()
570 if (j >= max_actions) in mlx5hws_pat_calc_nop()
H A Dpat_arg.h100 size_t max_actions, size_t *new_size,
H A Daction.c2222 u8 max_actions; in hws_action_setter_modify_header() local
2254 max_actions = action->modify_header.max_num_of_actions; in hws_action_setter_modify_header()
2255 arg_sz = mlx5hws_arg_get_arg_size(max_actions); in hws_action_setter_modify_header()