| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | fs_dr.c | 226 int num_actions = 0; in mlx5_cmd_dr_create_fte() local 260 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 270 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 285 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 293 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 307 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 318 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 322 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 326 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 349 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() [all …]
|
| D | dr_rule.c | 543 size_t num_actions, in dr_rule_add_action_members() argument 549 for (i = 0; i < num_actions; i++) { in dr_rule_add_action_members() 1015 size_t num_actions, in dr_rule_create_rule_nic() argument 1058 num_actions, hw_ste_arr, in dr_rule_create_rule_nic() 1136 size_t num_actions, in dr_rule_create_rule_fdb() argument 1148 num_actions, actions); in dr_rule_create_rule_fdb() 1153 num_actions, actions); in dr_rule_create_rule_fdb() 1167 size_t num_actions, in dr_rule_create_rule() argument 1185 ret = dr_rule_add_action_members(rule, num_actions, actions); in dr_rule_create_rule() 1193 num_actions, actions); in dr_rule_create_rule() [all …]
|
| D | mlx5dr.h | 66 size_t num_actions, 154 size_t num_actions, in mlx5dr_rule_create() argument
|
| D | fs_dr.h | 25 int num_actions; member
|
| D | dr_action.c | 638 u32 num_actions, in mlx5dr_actions_build_ste_arr() argument 659 for (i = 0; i < num_actions; i++) { in mlx5dr_actions_build_ste_arr()
|
| D | dr_types.h | 344 u32 num_actions,
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | flow.c | 350 u8 num_actions, void *in) in mlx5_ib_create_modify_header() argument 365 mlx5_modify_header_alloc(dev->mdev, namespace, num_actions, in); in mlx5_ib_create_modify_header() 394 int num_actions; in UVERBS_HANDLER() local 404 num_actions = uverbs_attr_ptr_get_array_size( in UVERBS_HANDLER() 407 if (num_actions < 0) in UVERBS_HANDLER() 408 return num_actions; in UVERBS_HANDLER() 414 action = mlx5_ib_create_modify_header(mdev, ft_type, num_actions, in); in UVERBS_HANDLER()
|
| /Linux-v5.4/net/netfilter/ |
| D | nf_tables_offload.c | 10 static struct nft_flow_rule *nft_flow_rule_alloc(int num_actions) in nft_flow_rule_alloc() argument 18 flow->rule = flow_rule_alloc(num_actions); in nft_flow_rule_alloc() 36 int num_actions = 0, err; in nft_flow_rule_create() local 42 num_actions++; in nft_flow_rule_create() 47 flow = nft_flow_rule_alloc(num_actions); in nft_flow_rule_create()
|
| D | nf_dup_netdev.c | 66 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_fwd_dup_netdev_offload()
|
| D | nft_immediate.c | 135 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_immediate_offload_verdict()
|
| /Linux-v5.4/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-v5.4/net/core/ |
| D | flow_offload.c | 8 struct flow_rule *flow_rule_alloc(unsigned int num_actions) in flow_rule_alloc() argument 12 rule = kzalloc(struct_size(rule, action.entries, num_actions), in flow_rule_alloc() 17 rule->action.num_entries = num_actions; in flow_rule_alloc()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_cmd.c | 126 u8 namespace, u8 num_actions, in mlx5_cmd_stub_modify_header_alloc() argument 767 u8 namespace, u8 num_actions, in mlx5_cmd_modify_header_alloc() argument 800 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc() 802 num_actions, max_actions); in mlx5_cmd_modify_header_alloc() 806 actions_size = MLX5_UN_SZ_BYTES(set_action_in_add_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc() 816 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
|
| D | fs_cmd.h | 90 u8 namespace, u8 num_actions,
|
| D | en_tc.c | 189 int num_actions; member 287 key->num_actions * MLX5_MH_ACT_SZ, 0); in hash_mod_hdr_info() 293 if (a->num_actions != b->num_actions) in cmp_mod_hdr_info() 296 return memcmp(a->actions, b->actions, a->num_actions * MLX5_MH_ACT_SZ); in cmp_mod_hdr_info() 351 int num_actions, actions_size, namespace, err; in mlx5e_attach_mod_hdr() local 357 num_actions = parse_attr->num_mod_hdr_actions; in mlx5e_attach_mod_hdr() 358 actions_size = MLX5_MH_ACT_SZ * num_actions; in mlx5e_attach_mod_hdr() 361 key.num_actions = num_actions; in mlx5e_attach_mod_hdr() 389 mh->key.num_actions = num_actions; in mlx5e_attach_mod_hdr() 399 mh->key.num_actions, in mlx5e_attach_mod_hdr()
|
| D | fs_core.c | 2912 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 2928 err = root->cmds->modify_header_alloc(root, ns_type, num_actions, in mlx5_modify_header_alloc()
|
| /Linux-v5.4/drivers/counter/ |
| D | counter.c | 649 const size_t num_actions = synapse->num_actions; in counter_action_store() local 656 for (action_index = 0; action_index < num_actions; action_index++) { in counter_action_store() 662 if (action_index >= num_actions) in counter_action_store() 676 size_t num_actions; member 688 for (i = 0; i < component->num_actions; i++) { in counter_synapse_action_available_show() 751 avail_comp->num_actions = synapse->num_actions; in counter_synapses_register()
|
| D | ftm-quaddec.c | 255 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions), 260 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
|
| D | stm32-timer-cnt.c | 321 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 326 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
|
| D | stm32-lptimer-cnt.c | 596 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions), 601 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
|
| D | 104-quad-8.c | 1205 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 1210 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 1215 .num_actions = ARRAY_SIZE(quad8_index_actions_list), \
|
| /Linux-v5.4/include/net/netfilter/ |
| D | nf_tables_offload.h | 28 unsigned int num_actions; member
|
| /Linux-v5.4/include/linux/mlx5/ |
| D | fs.h | 240 u8 ns_type, u8 num_actions,
|
| /Linux-v5.4/include/linux/ |
| D | counter.h | 141 size_t num_actions; member
|
| /Linux-v5.4/include/net/ |
| D | flow_offload.h | 248 struct flow_rule *flow_rule_alloc(unsigned int num_actions);
|