Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c855 int max_actions, actions_size, inlen, err; in mlx5_cmd_modify_header_alloc() local
863 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
868 max_actions = MLX5_CAP_FLOWTABLE_NIC_RX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
875 max_actions = MLX5_CAP_FLOWTABLE_NIC_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
879 max_actions = MLX5_CAP_ESW_INGRESS_ACL(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
883 max_actions = MLX5_CAP_FLOWTABLE_RDMA_TX(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
890 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc()
892 num_actions, max_actions); in mlx5_cmd_modify_header_alloc()
A Den_tc.c2916 if (mod_hdr_acts->num_actions < mod_hdr_acts->max_actions) in alloc_mod_hdr_actions()
2925 mod_hdr_acts->max_actions * 2 : 1); in alloc_mod_hdr_actions()
2926 if (mod_hdr_acts->max_actions == new_num_actions) in alloc_mod_hdr_actions()
2930 old_sz = mod_hdr_acts->max_actions * action_size; in alloc_mod_hdr_actions()
2937 mod_hdr_acts->max_actions = new_num_actions; in alloc_mod_hdr_actions()
2947 mod_hdr_acts->max_actions = 0; in dealloc_mod_hdr_actions()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmod_hdr.h14 int max_actions; member

Completed in 16 milliseconds