Home
last modified time | relevance | path

Searched refs:stc_attr (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dcmd.c469 switch (stc_attr->action_type) { in hws_cmd_stc_modify_set_stc_param()
489 stc_attr->remove_header.decap); in hws_cmd_stc_modify_set_stc_param()
499 stc_attr->insert_header.encap); in hws_cmd_stc_modify_set_stc_param()
521 stc_attr->vport.vport_num); in hws_cmd_stc_modify_set_stc_param()
534 stc_attr->aso.devx_obj_id); in hws_cmd_stc_modify_set_stc_param()
536 stc_attr->aso.return_reg_id); in hws_cmd_stc_modify_set_stc_param()
538 stc_attr->aso.aso_type); in hws_cmd_stc_modify_set_stc_param()
558 stc_attr->id); in hws_cmd_stc_modify_set_stc_param()
562 stc_attr->id); in hws_cmd_stc_modify_set_stc_param()
566 stc_attr->reformat_trailer.op); in hws_cmd_stc_modify_set_stc_param()
[all …]
A Daction.c84 struct mlx5hws_cmd_stc_modify_attr stc_attr = {0}; in hws_action_get_shared_stc_nic() local
105 stc_attr.remove_header.decap = 0; in hws_action_get_shared_stc_nic()
253 switch (stc_attr->action_type) { in hws_action_fixup_stc_attr()
262 pool = stc_attr->ste_table.ste_pool; in hws_action_fixup_stc_attr()
268 *fixup_stc_attr = *stc_attr; in hws_action_fixup_stc_attr()
307 stc_attr->vport.eswitch_owner_vhca_id_valid; in hws_action_fixup_stc_attr()
338 stc_attr->stc_offset = stc->offset; in mlx5hws_action_alloc_single_stc()
349 use_fixup ? &fixup_stc_attr : stc_attr); in mlx5hws_action_alloc_single_stc()
352 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
370 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
[all …]
A Daction_ste_pool.c116 struct mlx5hws_cmd_stc_modify_attr stc_attr = { 0 }; in hws_action_ste_table_create_stc() local
118 stc_attr.action_offset = MLX5HWS_ACTION_OFFSET_HIT; in hws_action_ste_table_create_stc()
119 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_STE_TABLE; in hws_action_ste_table_create_stc()
120 stc_attr.reparse_mode = MLX5_IFC_STC_REPARSE_IGNORE; in hws_action_ste_table_create_stc()
121 stc_attr.ste_table.ste_pool = action_tbl->pool; in hws_action_ste_table_create_stc()
122 stc_attr.ste_table.match_definer_id = ctx->caps->trivial_match_definer; in hws_action_ste_table_create_stc()
124 return mlx5hws_action_alloc_single_stc(ctx, &stc_attr, in hws_action_ste_table_create_stc()
A Dpool.c39 struct mlx5hws_cmd_stc_create_attr stc_attr; in hws_pool_create_one_resource() local
55 stc_attr.log_obj_range = log_range; in hws_pool_create_one_resource()
56 stc_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
57 ret = mlx5hws_cmd_stc_create(pool->ctx->mdev, &stc_attr, &obj_id); in hws_pool_create_one_resource()
A Dcmd.h267 struct mlx5hws_cmd_stc_create_attr *stc_attr,
272 struct mlx5hws_cmd_stc_modify_attr *stc_attr);
A Daction.h226 struct mlx5hws_cmd_stc_modify_attr *stc_attr,

Completed in 23 milliseconds