Home
last modified time | relevance | path

Searched refs:num_actions (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmod_hdr.c10 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()
A Dmod_hdr.h13 int num_actions; member
A Dtc_ct.c627 mod_acts->num_actions * action_size; in mlx5_tc_ct_entry_create_nat()
633 mod_acts->num_actions++; in mlx5_tc_ct_entry_create_nat()
689 mod_acts.num_actions, in mlx5_tc_ct_entry_create_mod_hdr()
1420 pre_mod_acts.num_actions, in tc_ct_pre_ct_add_rules()
1847 pre_mod_acts.num_actions, in __mlx5_tc_ct_flow_offload()
1917 mod_acts->num_actions, in __mlx5_tc_ct_flow_offload_clear()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Dfs_dr.c243 int num_actions = 0; in mlx5_cmd_dr_create_fte() local
303 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte()
311 actions[num_actions++] = in mlx5_cmd_dr_create_fte()
325 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte()
336 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte()
340 actions[num_actions++] = in mlx5_cmd_dr_create_fte()
350 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte()
364 actions[num_actions++] = in mlx5_cmd_dr_create_fte()
510 num_actions, in mlx5_cmd_dr_create_fte()
599 u8 namespace, u8 num_actions, in mlx5_cmd_dr_modify_header_alloc() argument
[all …]
A Ddr_rule.c562 size_t num_actions, in dr_rule_add_action_members() argument
1065 size_t num_actions, in dr_rule_create_rule_nic() argument
1108 num_actions, hw_ste_arr, in dr_rule_create_rule_nic()
1180 size_t num_actions, in dr_rule_create_rule_fdb() argument
1192 num_actions, actions); in dr_rule_create_rule_fdb()
1197 num_actions, actions); in dr_rule_create_rule_fdb()
1211 size_t num_actions, in dr_rule_create_rule() argument
1239 num_actions, actions); in dr_rule_create_rule()
1244 num_actions, actions); in dr_rule_create_rule()
1250 num_actions, actions); in dr_rule_create_rule()
[all …]
A Dfs_dr.h25 int num_actions; member
A Dmlx5dr.h71 size_t num_actions,
/linux/net/netfilter/
A Dnf_tables_offload.c10 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
98 num_actions++; in nft_flow_rule_create()
103 if (num_actions == 0) in nft_flow_rule_create()
106 flow = nft_flow_rule_alloc(num_actions); in nft_flow_rule_create()
A Dnf_dup_netdev.c67 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_fwd_dup_netdev_offload()
A Dnft_immediate.c185 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_immediate_offload_verdict()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_u32.c94 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()
/linux/net/core/
A Dflow_offload.c9 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()
/linux/drivers/counter/
A Dftm-quaddec.c231 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
236 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
A Dmicrochip-tcb-capture.c61 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions),
66 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions),
A Dti-eqep.c329 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
334 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
A Dstm32-lptimer-cnt.c377 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
382 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
A Dstm32-timer-cnt.c294 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
299 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
A Dinterrupt-cnt.c191 priv->synapses.num_actions = ARRAY_SIZE(interrupt_cnt_synapse_actions); in interrupt_cnt_probe()
A D104-quad-8.c1016 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \
1021 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \
1026 .num_actions = ARRAY_SIZE(quad8_index_actions_list), \
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c127 u8 namespace, u8 num_actions, in mlx5_cmd_stub_modify_header_alloc() argument
850 u8 namespace, u8 num_actions, in mlx5_cmd_modify_header_alloc() argument
890 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc()
892 num_actions, max_actions); in mlx5_cmd_modify_header_alloc()
896 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc()
906 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
A Dfs_cmd.h88 u8 namespace, u8 num_actions,
/linux/include/net/netfilter/
A Dnf_tables_offload.h33 unsigned int num_actions; member
/linux/include/linux/mlx5/
A Dfs.h264 u8 ns_type, u8 num_actions,
/linux/drivers/infiniband/hw/mlx5/
A Dfs.c2342 u8 num_actions, void *in) in mlx5_ib_create_modify_header() argument
2357 mlx5_modify_header_alloc(dev->mdev, namespace, num_actions, in); in mlx5_ib_create_modify_header()
2389 int num_actions; in UVERBS_HANDLER() local
2399 num_actions = uverbs_attr_ptr_get_array_size( in UVERBS_HANDLER()
2402 if (num_actions < 0) in UVERBS_HANDLER()
2403 return num_actions; in UVERBS_HANDLER()
2409 action = mlx5_ib_create_modify_header(mdev, ft_type, num_actions, in); in UVERBS_HANDLER()
/linux/include/linux/
A Dcounter.h177 size_t num_actions; member

Completed in 50 milliseconds

12