| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A 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() 77 int num_actions, actions_size, err; in mlx5e_mod_hdr_attach() local 82 num_actions = mod_hdr_acts->num_actions; in mlx5e_mod_hdr_attach() 83 actions_size = MLX5_MH_ACT_SZ * num_actions; in mlx5e_mod_hdr_attach() 86 key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 111 mh->key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 119 mh->key.num_actions, in mlx5e_mod_hdr_attach() [all …]
|
| A D | mod_hdr.h | 15 int num_actions; member
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| A D | fs_dr.c | 270 int num_actions = 0; in mlx5_cmd_dr_create_fte() local 330 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 347 actions[num_actions++] = in mlx5_cmd_dr_create_fte() 361 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 372 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 388 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 398 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 424 actions[num_actions++] = tmp_action; in mlx5_cmd_dr_create_fte() 601 num_actions, in mlx5_cmd_dr_create_fte() 691 u8 namespace, u8 num_actions, in mlx5_cmd_dr_modify_header_alloc() argument [all …]
|
| A D | dr_rule.c | 589 size_t num_actions, in dr_rule_add_action_members() argument 1116 size_t num_actions, in dr_rule_create_rule_nic() argument 1174 num_actions, hw_ste_arr, in dr_rule_create_rule_nic() 1258 size_t num_actions, in dr_rule_create_rule_fdb() argument 1270 num_actions, actions); in dr_rule_create_rule_fdb() 1275 num_actions, actions); in dr_rule_create_rule_fdb() 1289 size_t num_actions, in dr_rule_create_rule() argument 1317 num_actions, actions); in dr_rule_create_rule() 1322 num_actions, actions); in dr_rule_create_rule() 1328 num_actions, actions); in dr_rule_create_rule() [all …]
|
| A D | fs_dr.h | 21 int num_actions; member
|
| A D | mlx5dr.h | 74 size_t num_actions,
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | fs_hws.c | 758 int num_actions = 0; in mlx5_fs_fte_get_hws_actions() local 811 (*ractions)[num_actions++].action = in mlx5_fs_fte_get_hws_actions() 814 (*ractions)[num_actions++].action = in mlx5_fs_fte_get_hws_actions() 843 (*ractions)[num_actions++].action = in mlx5_fs_fte_get_hws_actions() 853 (*ractions)[num_actions].push_vlan.vlan_hdr = in mlx5_fs_fte_get_hws_actions() 864 (*ractions)[num_actions].push_vlan.vlan_hdr = in mlx5_fs_fte_get_hws_actions() 873 (*ractions)[num_actions++].action = in mlx5_fs_fte_get_hws_actions() 897 (*ractions)[num_actions].counter.offset = in mlx5_fs_fte_get_hws_actions() 932 (*ractions)[num_actions].aso_meter.offset = in mlx5_fs_fte_get_hws_actions() 1049 (*ractions)[num_actions++].action = tmp_action; in mlx5_fs_fte_get_hws_actions() [all …]
|
| A D | pat_arg.c | 525 int mlx5hws_pat_calc_nop(__be64 *pattern, size_t num_actions, in mlx5hws_pat_calc_nop() argument 535 *new_size = num_actions; in mlx5hws_pat_calc_nop() 538 if (num_actions == 1) in mlx5hws_pat_calc_nop() 541 for (i = 0, j = 0; i < num_actions; i++, j++) { in mlx5hws_pat_calc_nop()
|
| A D | fs_hws_pools.c | 388 int num_actions, i; in mlx5_fs_hws_mh_pool_match() local 396 num_actions = pattern->sz / MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto); in mlx5_fs_hws_mh_pool_match() 397 for (i = 0; i < num_actions; i++) { in mlx5_fs_hws_mh_pool_match()
|
| A D | action.c | 1193 u16 num_actions, max_mh_actions = 0, hw_max_actions; in hws_action_create_modify_header_hws() local 1256 num_actions = pattern[i].sz / MLX5HWS_MODIFY_ACTION_SIZE; in hws_action_create_modify_header_hws() 1261 mlx5hws_pat_require_reparse(pattern[i].data, num_actions); in hws_action_create_modify_header_hws() 1263 if (num_actions == 1) { in hws_action_create_modify_header_hws() 2478 for (i = 0; i < at->num_actions; i++) { in mlx5hws_action_template_process() 2621 u8 num_actions = 0; in mlx5hws_action_template_create() local 2628 while (action_type[num_actions++] != MLX5HWS_ACTION_TYP_LAST) in mlx5hws_action_template_create() 2631 at->num_actions = num_actions - 1; in mlx5hws_action_template_create() 2632 at->action_type_arr = kcalloc(num_actions, sizeof(*action_type), GFP_KERNEL); in mlx5hws_action_template_create() 2636 for (i = 0; i < num_actions; i++) in mlx5hws_action_template_create()
|
| A D | pat_arg.h | 99 int mlx5hws_pat_calc_nop(__be64 *pattern, size_t num_actions,
|
| A D | debug.c | 84 at->num_actions); in hws_debug_dump_matcher_action_template() 86 for (j = 0; j < at->num_actions; j++) { in hws_debug_dump_matcher_action_template()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | ct_fs_smfs.c | 231 int num_actions = 0, err; in mlx5_ct_fs_smfs_ct_rule_add() local 247 actions[num_actions++] = smfs_rule->count_action; in mlx5_ct_fs_smfs_ct_rule_add() 248 actions[num_actions++] = attr->modify_hdr->fs_dr_action.dr_action; in mlx5_ct_fs_smfs_ct_rule_add() 249 actions[num_actions++] = fs_smfs->fwd_action; in mlx5_ct_fs_smfs_ct_rule_add() 264 rule = mlx5_smfs_rule_create(smfs_matcher->dr_matcher, spec, num_actions, actions, in mlx5_ct_fs_smfs_ct_rule_add()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | smfs.c | 52 size_t num_actions, struct mlx5dr_action *actions[], in mlx5_smfs_rule_create() argument 60 return mlx5dr_rule_create(matcher, &value, num_actions, actions, flow_source); in mlx5_smfs_rule_create()
|
| A D | smfs.h | 30 size_t num_actions, struct mlx5dr_action *actions[],
|
| /drivers/counter/ |
| A D | rz-mtu3-cnt.c | 720 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 725 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 733 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 738 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 743 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 748 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions),
|
| A D | stm32-timer-cnt.c | 581 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 586 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 591 .num_actions = ARRAY_SIZE(stm32_clock_synapse_actions), 596 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 601 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
|
| A D | ftm-quaddec.c | 230 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions), 235 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
|
| A D | i8254.c | 342 .num_actions = ARRAY_SIZE(i8254_clk_actions), \ 347 .num_actions = ARRAY_SIZE(i8254_gate_actions), \
|
| A D | stm32-lptimer-cnt.c | 382 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions), 387 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
|
| A D | ti-eqep.c | 434 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions), 439 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
|
| A D | ti-ecap-capture.c | 405 .num_actions = ARRAY_SIZE(ecap_cnt_clock_actions), 410 .num_actions = ARRAY_SIZE(ecap_cnt_input_actions),
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A 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/ |
| A D | fs_cmd.c | 129 u8 namespace, u8 num_actions, in mlx5_cmd_stub_modify_header_alloc() argument 946 u8 namespace, u8 num_actions, in mlx5_cmd_modify_header_alloc() argument 988 if (num_actions > max_actions) { in mlx5_cmd_modify_header_alloc() 990 num_actions, max_actions); in mlx5_cmd_modify_header_alloc() 994 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc() 1004 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
|
| A D | fs_cmd.h | 88 u8 namespace, u8 num_actions,
|