/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.c | 10 int num_actions; member 30 key->num_actions * MLX5_MH_ACT_SZ, 0); in hash_mod_hdr_info() 35 if (a->num_actions != b->num_actions) in cmp_mod_hdr_info() 39 a->num_actions * MLX5_MH_ACT_SZ); in cmp_mod_hdr_info() 76 int num_actions, actions_size, err; in mlx5e_mod_hdr_attach() local 81 num_actions = mod_hdr_acts->num_actions; in mlx5e_mod_hdr_attach() 82 actions_size = MLX5_MH_ACT_SZ * num_actions; in mlx5e_mod_hdr_attach() 85 key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 110 mh->key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 118 mh->key.num_actions, in mlx5e_mod_hdr_attach()
|
D | mod_hdr.h | 13 int num_actions; member
|
D | tc_ct.c | 626 mod_acts->num_actions * action_size; in mlx5_tc_ct_entry_create_nat() 632 mod_acts->num_actions++; in mlx5_tc_ct_entry_create_nat() 1359 pre_mod_acts.num_actions, in tc_ct_pre_ct_add_rules() 1794 pre_mod_acts.num_actions, in __mlx5_tc_ct_flow_offload() 1900 mod_acts->num_actions, in __mlx5_tc_ct_flow_offload_clear()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 237 int num_actions = 0; in mlx5_cmd_dr_create_fte() local 296 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 304 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 318 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 329 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 333 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 343 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 353 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 357 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 380 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() 1017 size_t num_actions, in dr_rule_create_rule_nic() argument 1062 num_actions, hw_ste_arr, in dr_rule_create_rule_nic() 1142 size_t num_actions, in dr_rule_create_rule_fdb() argument 1154 num_actions, actions); in dr_rule_create_rule_fdb() 1159 num_actions, actions); in dr_rule_create_rule_fdb() 1173 size_t num_actions, in dr_rule_create_rule() argument 1193 ret = dr_rule_add_action_members(rule, num_actions, actions); in dr_rule_create_rule() 1201 num_actions, actions); in dr_rule_create_rule() [all …]
|
D | fs_dr.h | 25 int num_actions; member
|
D | mlx5dr.h | 69 size_t num_actions,
|
/kernel/linux/linux-5.10/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() 92 int num_actions = 0, err; in nft_flow_rule_create() local 99 num_actions++; in nft_flow_rule_create() 104 if (num_actions == 0) in nft_flow_rule_create() 107 flow = nft_flow_rule_alloc(num_actions); in nft_flow_rule_create()
|
D | nf_dup_netdev.c | 67 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_fwd_dup_netdev_offload()
|
D | nft_immediate.c | 201 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_immediate_offload_verdict()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 94 unsigned int num_actions = 0; in fill_action_fields() local 105 if (num_actions) in fill_action_fields() 111 num_actions++; in fill_action_fields() 138 num_actions++; in fill_action_fields()
|
/kernel/linux/linux-5.10/net/core/ |
D | flow_offload.c | 9 struct flow_rule *flow_rule_alloc(unsigned int num_actions) in flow_rule_alloc() argument 14 rule = kzalloc(struct_size(rule, action.entries, num_actions), in flow_rule_alloc() 19 rule->action.num_entries = num_actions; in flow_rule_alloc() 23 for (i = 0; i < num_actions; i++) in flow_rule_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 126 u8 namespace, u8 num_actions, in mlx5_cmd_stub_modify_header_alloc() argument 757 u8 namespace, u8 num_actions, in mlx5_cmd_modify_header_alloc() argument 797 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc() 799 num_actions, max_actions); in mlx5_cmd_modify_header_alloc() 803 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc() 813 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,
|
/kernel/linux/linux-5.10/drivers/counter/ |
D | counter.c | 574 const size_t num_actions = synapse->num_actions; in counter_action_store() local 581 for (action_index = 0; action_index < num_actions; action_index++) { in counter_action_store() 587 if (action_index >= num_actions) in counter_action_store() 601 size_t num_actions; member 613 for (i = 0; i < component->num_actions; i++) { in counter_synapse_action_available_show() 676 avail_comp->num_actions = synapse->num_actions; in counter_synapses_register()
|
D | ftm-quaddec.c | 249 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions), 254 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
|
D | microchip-tcb-capture.c | 72 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions), 77 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions),
|
D | ti-eqep.c | 308 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions), 313 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
|
D | stm32-lptimer-cnt.c | 387 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions), 392 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
|
D | stm32-timer-cnt.c | 337 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 342 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
|
D | 104-quad-8.c | 1454 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 1459 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 1464 .num_actions = ARRAY_SIZE(quad8_index_actions_list), \
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_tables_offload.h | 33 unsigned int num_actions; member
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | fs.h | 252 u8 ns_type, u8 num_actions,
|
/kernel/linux/linux-5.10/include/linux/ |
D | counter.h | 141 size_t num_actions; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | fs.c | 2157 u8 num_actions, void *in) in mlx5_ib_create_modify_header() argument 2172 mlx5_modify_header_alloc(dev->mdev, namespace, num_actions, in); in mlx5_ib_create_modify_header() 2204 int num_actions; in UVERBS_HANDLER() local 2214 num_actions = uverbs_attr_ptr_get_array_size( in UVERBS_HANDLER() 2217 if (num_actions < 0) in UVERBS_HANDLER() 2218 return num_actions; in UVERBS_HANDLER() 2224 action = mlx5_ib_create_modify_header(mdev, ft_type, num_actions, in); in UVERBS_HANDLER()
|