| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | mod_hdr.c | 11 void *actions; member 29 return jhash(key->actions, in hash_mod_hdr_info() 38 return memcmp(a->actions, b->actions, in cmp_mod_hdr_info() 85 key.actions = mod_hdr_acts->actions; in mlx5e_mod_hdr_attach() 109 mh->key.actions = (void *)mh + sizeof(*mh); in mlx5e_mod_hdr_attach() 110 memcpy(mh->key.actions, key.actions, actions_size); in mlx5e_mod_hdr_attach() 120 mh->key.actions); in mlx5e_mod_hdr_attach() 172 mod_hdr_acts->actions ? in mlx5e_mod_hdr_alloc() 194 mod_hdr_acts->actions = ret; in mlx5e_mod_hdr_alloc() 205 kfree(mod_hdr_acts->actions); in mlx5e_mod_hdr_dealloc() [all …]
|
| A D | mod_hdr.h | 18 void *actions; member 28 .actions = acts_arr, \
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_tc.c | 79 actions->dst_dev = dev; in bnxt_tc_parse_redir() 114 actions->tun_encap_key = *tun_key; in bnxt_tc_parse_tunnel_set() 212 actions->nat.l3_is_ipv4 = true; in bnxt_tc_parse_pedit() 214 actions->nat.src_xlate = true; in bnxt_tc_parse_pedit() 227 actions->nat.src_xlate, &actions->nat.l3.ipv4.saddr, in bnxt_tc_parse_pedit() 239 actions->nat.src_xlate = true; in bnxt_tc_parse_pedit() 265 if (actions->nat.src_xlate) in bnxt_tc_parse_pedit() 358 actions->dst_fid = in bnxt_tc_parse_actions() 594 struct bnxt_tc_actions *actions = &flow->actions; in bnxt_hwrm_cfa_flow_alloc() local 619 if (actions->nat.l3_is_ipv4) { in bnxt_hwrm_cfa_flow_alloc() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | ct_fs_smfs.c | 229 struct mlx5dr_action *actions[5]; 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() 305 struct mlx5dr_action *actions[3]; /* We only need to create 3 actions, see below. */ in mlx5_ct_fs_smfs_ct_rule_update() local 308 actions[0] = smfs_rule->count_action; in mlx5_ct_fs_smfs_ct_rule_update() 309 actions[1] = attr->modify_hdr->fs_dr_action.dr_action; in mlx5_ct_fs_smfs_ct_rule_update() 310 actions[2] = fs_smfs->fwd_action; in mlx5_ct_fs_smfs_ct_rule_update() 313 ARRAY_SIZE(actions), actions, spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_update()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| A D | fs_dr.c | 264 struct mlx5dr_action **actions; in mlx5_cmd_dr_create_fte() local 278 actions = kcalloc(MLX5_FLOW_CONTEXT_ACTION_MAX, sizeof(*actions), in mlx5_cmd_dr_create_fte() 280 if (!actions) { in mlx5_cmd_dr_create_fte() 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() 602 actions, in mlx5_cmd_dr_create_fte() 610 kfree(actions); in mlx5_cmd_dr_create_fte() [all …]
|
| A D | dr_rule.c | 590 struct mlx5dr_action *actions[]) in dr_rule_add_action_members() argument 600 action_mem->action = actions[i]; in dr_rule_add_action_members() 1117 struct mlx5dr_action *actions[]) in dr_rule_create_rule_nic() argument 1259 struct mlx5dr_action *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() 1290 struct mlx5dr_action *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 | mlx5dr.h | 75 struct mlx5dr_action *actions[], 127 __be64 actions[]);
|
| A D | dr_action.c | 666 struct mlx5dr_action *actions[], in dr_action_print_sequence() argument 673 dr_action_id_to_str(actions[i]->action_type), in dr_action_print_sequence() 674 actions[i]->action_type); in dr_action_print_sequence() 758 struct mlx5dr_action *actions[], in mlx5dr_actions_build_ste_arr() argument 785 action = actions[i]; in mlx5dr_actions_build_ste_arr() 945 dr_action_print_sequence(dmn, actions, i); in mlx5dr_actions_build_ste_arr() 2010 __be64 actions[], in dr_action_create_modify_action() argument 2036 actions, in dr_action_create_modify_action() 2068 __be64 actions[]) in mlx5dr_action_create_modify_header() argument 2088 actions, in mlx5dr_action_create_modify_header()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | pat_arg.c | 45 action_id = MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_require_reparse() 54 field = MLX5_GET(set_action_in, &actions[i], field); in mlx5hws_pat_require_reparse() 59 field = MLX5_GET(copy_action_in, &actions[i], dst_field); in mlx5hws_pat_require_reparse() 102 __be64 actions[]) in mlx5hws_pat_compare_pattern() argument 111 MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_compare_pattern() 115 if (actions[i] != cur_actions[i]) in mlx5hws_pat_compare_pattern() 119 if ((__force __be32)actions[i] != in mlx5hws_pat_compare_pattern() 131 __be64 *actions) in mlx5hws_pat_find_cached_pattern() argument 139 actions)) in mlx5hws_pat_find_cached_pattern() 149 __be64 *actions) in mlx5hws_pat_get_existing_cached_pattern() argument [all …]
|
| /drivers/gpu/drm/i915/gt/uc/ |
| A D | intel_gsc_uc.c | 21 u32 actions; in gsc_work() local 27 actions = gsc->gsc_work_actions; in gsc_work() 31 if (actions & GSC_ACTION_FW_LOAD) { in gsc_work() 35 actions |= GSC_ACTION_SW_PROXY; in gsc_work() 58 if (actions & GSC_ACTION_SW_PROXY) { in gsc_work() 66 if (actions & GSC_ACTION_FW_LOAD) { in gsc_work() 78 if (actions & GSC_ACTION_FW_LOAD) { in gsc_work()
|
| /drivers/md/dm-vdo/ |
| A D | action-manager.c | 56 struct action actions[2]; member 124 manager->actions[0].next = &manager->actions[1]; in vdo_make_action_manager() 125 manager->current_action = manager->actions[1].next = in vdo_make_action_manager() 126 &manager->actions[0]; in vdo_make_action_manager()
|
| /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/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_dpipe.c | 936 struct devlink_dpipe_action *actions) in mlxsw_sp_dpipe_table_adj_match_action_prepare() argument 956 action = &actions[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_DST_MAC]; in mlxsw_sp_dpipe_table_adj_match_action_prepare() 961 action = &actions[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_ERIF_PORT]; in mlxsw_sp_dpipe_table_adj_match_action_prepare() 972 struct devlink_dpipe_action *actions) in mlxsw_sp_dpipe_table_adj_entry_prepare() argument 1011 action = &actions[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_DST_MAC]; in mlxsw_sp_dpipe_table_adj_entry_prepare() 1020 action = &actions[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_ERIF_PORT]; in mlxsw_sp_dpipe_table_adj_entry_prepare() 1150 struct devlink_dpipe_action actions[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_COUNT]; in mlxsw_sp_dpipe_table_adj_entries_dump() local 1160 memset(actions, 0, MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_COUNT * in mlxsw_sp_dpipe_table_adj_entries_dump() 1161 sizeof(actions[0])); in mlxsw_sp_dpipe_table_adj_entries_dump() 1165 mlxsw_sp_dpipe_table_adj_match_action_prepare(matches, actions); in mlxsw_sp_dpipe_table_adj_entries_dump() [all …]
|
| A D | core_acl_flex_actions.c | 258 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_goto_set() local 260 mlxsw_afa_set_type_set(actions, MLXSW_AFA_SET_TYPE_GOTO); in mlxsw_afa_set_goto_set() 261 mlxsw_afa_set_goto_g_set(actions, true); in mlxsw_afa_set_goto_set() 262 mlxsw_afa_set_goto_binding_cmd_set(actions, cmd); in mlxsw_afa_set_goto_set() 263 mlxsw_afa_set_goto_next_binding_set(actions, group_id); in mlxsw_afa_set_goto_set() 269 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_next_set() local 271 mlxsw_afa_set_type_set(actions, MLXSW_AFA_SET_TYPE_NEXT); in mlxsw_afa_set_next_set() 272 mlxsw_afa_set_next_action_set_ptr_set(actions, next_set_kvdl_index); in mlxsw_afa_set_next_set() 1028 char *actions; in mlxsw_afa_block_append_action_ext() local 1059 actions = block->cur_set->ht_key.enc_actions; in mlxsw_afa_block_append_action_ext() [all …]
|
| /drivers/accel/amdxdna/ |
| A D | aie2_solver.c | 47 struct xrs_action_ops *actions; member 142 return xrs->cfg.actions->set_dft_dpm_level(xrs->cfg.ddev, level); in set_dpm_level() 325 ret = xrs->cfg.actions->load(cb_arg, &load_act); in xrs_allocate_resource() 358 xrs->cfg.actions->unload(node->cb_arg); in xrs_release_resource()
|
| A D | aie2_solver.h | 114 struct xrs_action_ops *actions; member
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_tc_flower.h | 127 struct flow_action *actions, 130 struct flow_action *actions,
|
| A D | cxgb4_tc_matchall.c | 55 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate() local 64 if (!flow_action_has_entries(actions)) { in cxgb4_matchall_egress_validate() 68 } else if (!flow_offload_has_one_action(actions)) { in cxgb4_matchall_egress_validate() 88 flow_action_for_each(i, entry, actions) { in cxgb4_matchall_egress_validate() 91 ret = cxgb4_policer_validate(actions, entry, extack); in cxgb4_matchall_egress_validate()
|
| A D | cxgb4_tc_flower.c | 498 struct flow_action *actions, in cxgb4_process_flow_actions() argument 505 flow_action_for_each(i, act, actions) { in cxgb4_process_flow_actions() 684 struct flow_action *actions, in cxgb4_validate_flow_actions() argument 696 if (!flow_action_basic_hw_stats_check(actions, extack)) in cxgb4_validate_flow_actions() 699 flow_action_for_each(i, act, actions) { in cxgb4_validate_flow_actions()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_gsc.c | 356 u32 actions; in gsc_work() local 360 actions = gsc->work_actions; in gsc_work() 367 if (actions & GSC_ACTION_ER_COMPLETE) { in gsc_work() 373 if (actions & GSC_ACTION_FW_LOAD) { in gsc_work() 381 if (actions & GSC_ACTION_SW_PROXY) in gsc_work()
|
| A D | xe_rtp_types.h | 97 const struct xe_rtp_action *actions; member
|
| /drivers/net/ethernet/netronome/nfp/abm/ |
| A D | main.c | 485 abm->actions = kvcalloc(abm->num_thresholds, sizeof(*abm->actions), in nfp_abm_init() 487 if (!abm->actions) in nfp_abm_init() 511 kvfree(abm->actions); in nfp_abm_init() 530 kvfree(abm->actions); in nfp_abm_clean()
|
| /drivers/pmdomain/ |
| A D | Makefile | 2 obj-y += actions/
|
| A D | Kconfig | 4 source "drivers/pmdomain/actions/Kconfig"
|