Searched refs:num_actions (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 93 unsigned int num_actions = 0; in fill_action_fields() local 104 if (num_actions) in fill_action_fields() 110 num_actions++; in fill_action_fields() 137 num_actions++; in fill_action_fields()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 655 u8 namespace, u8 num_actions, in mlx5_modify_header_alloc() argument 677 if (num_actions > max_actions) { in mlx5_modify_header_alloc() 679 num_actions, max_actions); in mlx5_modify_header_alloc() 683 actions_size = MLX5_UN_SZ_BYTES(set_action_in_add_action_in_auto) * num_actions; in mlx5_modify_header_alloc() 693 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_modify_header_alloc()
|
D | en_tc.c | 138 int num_actions; member 159 key->num_actions * MLX5_MH_ACT_SZ, 0); in hash_mod_hdr_info() 165 if (a->num_actions != b->num_actions) in cmp_mod_hdr_info() 168 return memcmp(a->actions, b->actions, a->num_actions * MLX5_MH_ACT_SZ); in cmp_mod_hdr_info() 176 int num_actions, actions_size, namespace, err; in mlx5e_attach_mod_hdr() local 182 num_actions = parse_attr->num_mod_hdr_actions; in mlx5e_attach_mod_hdr() 183 actions_size = MLX5_MH_ACT_SZ * num_actions; in mlx5e_attach_mod_hdr() 186 key.num_actions = num_actions; in mlx5e_attach_mod_hdr() 219 mh->key.num_actions = num_actions; in mlx5e_attach_mod_hdr() 223 mh->key.num_actions, in mlx5e_attach_mod_hdr()
|
D | mlx5_core.h | 180 u8 namespace, u8 num_actions,
|