Searched refs:rule_actions (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | ct_fs_hmfs.c | 170 struct mlx5hws_rule_action *rule_actions) in mlx5_ct_fs_hmfs_fill_rule_actions() argument 174 memset(rule_actions, 0, NUM_CT_HMFS_RULES * sizeof(*rule_actions)); in mlx5_ct_fs_hmfs_fill_rule_actions() 175 rule_actions[0].action = mlx5_fc_get_hws_action(fs_hmfs->ctx, attr->counter); in mlx5_ct_fs_hmfs_fill_rule_actions() 176 rule_actions[0].counter.offset = in mlx5_ct_fs_hmfs_fill_rule_actions() 180 rule_actions[1].modify_header.offset = mh_action->mh_data->offset; in mlx5_ct_fs_hmfs_fill_rule_actions() 181 rule_actions[1].modify_header.data = mh_action->mh_data->data; in mlx5_ct_fs_hmfs_fill_rule_actions() 183 rule_actions[1].action = mh_action->hws_action; in mlx5_ct_fs_hmfs_fill_rule_actions() 184 rule_actions[2].action = fs_hmfs->fwd_action; in mlx5_ct_fs_hmfs_fill_rule_actions() 185 rule_actions[3].action = fs_hmfs->last_action; in mlx5_ct_fs_hmfs_fill_rule_actions() 192 struct mlx5hws_rule_action rule_actions[NUM_CT_HMFS_RULES]; in mlx5_ct_fs_hmfs_ct_rule_add() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | bwc.c | 672 struct mlx5hws_rule_action rule_actions[], in hws_bwc_rule_create_async() argument 679 rule_actions, in hws_bwc_rule_create_async() 688 struct mlx5hws_rule_action rule_actions[], in hws_bwc_rule_create_sync() argument 697 at_idx, rule_actions, in hws_bwc_rule_create_sync() 709 struct mlx5hws_rule_action rule_actions[], in hws_bwc_rule_update_sync() argument 719 rule_actions, in hws_bwc_rule_update_sync() 760 hws_bwc_rule_actions_to_action_types(struct mlx5hws_rule_action rule_actions[], in hws_bwc_rule_actions_to_action_types() argument 766 rule_actions[i].action && (rule_actions[i].action->type != MLX5HWS_ACTION_TYP_LAST); in hws_bwc_rule_actions_to_action_types() 768 action_types[i] = (enum mlx5hws_action_type)rule_actions[i].action->type; in hws_bwc_rule_actions_to_action_types() 776 struct mlx5hws_rule_action rule_actions[]) in hws_bwc_matcher_extend_at() argument [all …]
|
| H A D | mlx5hws.h | 476 struct mlx5hws_rule_action rule_actions[], 503 struct mlx5hws_rule_action rule_actions[], 919 struct mlx5hws_rule_action rule_actions[]); 939 struct mlx5hws_rule_action rule_actions[]);
|
| H A D | rule.c | 290 struct mlx5hws_rule_action rule_actions[]) in hws_rule_create_hws() argument 329 apply.rule_action = rule_actions; in hws_rule_create_hws() 780 struct mlx5hws_rule_action rule_actions[], in mlx5hws_rule_create() argument 808 rule_actions); in mlx5hws_rule_create() 829 struct mlx5hws_rule_action rule_actions[], in mlx5hws_rule_action_update() argument 843 rule_actions); in mlx5hws_rule_action_update()
|