/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() [all …]
|
D | mod_hdr.h | 13 int num_actions; member
|
D | tc_ct.c | 626 mod_acts->num_actions++; in mlx5_tc_ct_entry_create_nat() 683 mod_acts.num_actions, in mlx5_tc_ct_entry_create_mod_hdr() 1416 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 242 int num_actions = 0; in mlx5_cmd_dr_create_fte() local 302 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 310 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 324 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 335 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 339 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 349 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 359 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 363 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 386 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() [all …]
|
D | dr_rule.c | 562 size_t num_actions, in dr_rule_add_action_members() argument 568 for (i = 0; i < num_actions; i++) { in dr_rule_add_action_members() 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 1231 ret = dr_rule_add_action_members(rule, num_actions, actions); in dr_rule_create_rule() 1239 num_actions, actions); in dr_rule_create_rule() [all …]
|
D | fs_dr.h | 25 int num_actions; member
|
D | mlx5dr.h | 71 size_t num_actions,
|
D | dr_action.c | 549 u32 num_actions, in mlx5dr_actions_build_ste_arr() argument 570 for (i = 0; i < num_actions; i++) { in mlx5dr_actions_build_ste_arr()
|
/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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 127 u8 namespace, u8 num_actions, in mlx5_cmd_stub_modify_header_alloc() argument 830 u8 namespace, u8 num_actions, in mlx5_cmd_modify_header_alloc() argument 870 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc() 872 num_actions, max_actions); in mlx5_cmd_modify_header_alloc() 876 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc() 886 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
|
D | fs_cmd.h | 88 u8 namespace, u8 num_actions,
|
D | en_tc.c | 224 err = mod_hdr_acts->num_actions; in mlx5e_tc_match_to_reg_set_and_get_id() 225 mod_hdr_acts->num_actions++; in mlx5e_tc_match_to_reg_set_and_get_id() 1351 mod_hdr_acts->num_actions, in mlx5e_tc_add_flow_mod_hdr() 2897 mod_acts->num_actions); in offload_pedit_fields() 2923 ++mod_acts->num_actions; in offload_pedit_fields() 3472 if (parse_attr->mod_hdr_acts.num_actions > 0) in actions_prepare_mod_hdr_actions()
|
/drivers/counter/ |
D | ftm-quaddec.c | 231 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions), 236 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
|
D | ti-eqep.c | 329 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions), 334 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
|
D | microchip-tcb-capture.c | 60 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions), 65 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions),
|
D | stm32-timer-cnt.c | 294 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 299 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
|
D | stm32-lptimer-cnt.c | 377 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions), 382 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
|
D | 104-quad-8.c | 884 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 889 .num_actions = ARRAY_SIZE(quad8_synapse_actions_list), \ 894 .num_actions = ARRAY_SIZE(quad8_index_actions_list), \
|
D | interrupt-cnt.c | 191 priv->synapses.num_actions = ARRAY_SIZE(interrupt_cnt_synapse_actions); in interrupt_cnt_probe()
|
D | counter-sysfs.c | 236 synapse->num_actions, buf, in counter_comp_u32_store() 377 synapse->num_actions, in counter_comp_available_show()
|
D | intel-qep.c | 166 .num_actions = ARRAY_SIZE(intel_qep_synapse_actions), \
|
/drivers/infiniband/hw/mlx5/ |
D | fs.c | 2153 u8 num_actions, void *in) in mlx5_ib_create_modify_header() argument 2168 mlx5_modify_header_alloc(dev->mdev, namespace, num_actions, in); in mlx5_ib_create_modify_header() 2200 int num_actions; in UVERBS_HANDLER() local 2210 num_actions = uverbs_attr_ptr_get_array_size( in UVERBS_HANDLER() 2213 if (num_actions < 0) in UVERBS_HANDLER() 2214 return num_actions; in UVERBS_HANDLER() 2220 action = mlx5_ib_create_modify_header(mdev, ft_type, num_actions, in); in UVERBS_HANDLER()
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | conntrack.c | 481 int i, j, num_actions, id; in nfp_fl_merge_actions_offload() local 485 num_actions = rules[CT_TYPE_PRE_CT]->action.num_entries + in nfp_fl_merge_actions_offload() 489 a_rule = flow_rule_alloc(num_actions); in nfp_fl_merge_actions_offload()
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | indir_table.c | 210 mod_acts.num_actions, mod_acts.actions); in mlx5_esw_indir_table_rule_get()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 252 mod_acts.num_actions, in sample_modify_hdr_get()
|