Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c100 stc_attr.remove_header.decap = 0; in hws_action_get_shared_stc_nic()
247 switch (stc_attr->action_type) { in hws_action_fixup_stc_attr()
258 &stc_attr->ste_table.ste); in hws_action_fixup_stc_attr()
262 &stc_attr->ste_table.ste); in hws_action_fixup_stc_attr()
264 *fixup_stc_attr = *stc_attr; in hws_action_fixup_stc_attr()
303 stc_attr->vport.eswitch_owner_vhca_id_valid; in hws_action_fixup_stc_attr()
334 stc_attr->stc_offset = stc->offset; in mlx5hws_action_alloc_single_stc()
348 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
366 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
395 stc_attr.stc_offset = stc->offset; in mlx5hws_action_free_single_stc()
[all …]
H A Dcmd.c470 switch (stc_attr->action_type) { in hws_cmd_stc_modify_set_stc_param()
490 stc_attr->remove_header.decap); in hws_cmd_stc_modify_set_stc_param()
500 stc_attr->insert_header.encap); in hws_cmd_stc_modify_set_stc_param()
522 stc_attr->vport.vport_num); in hws_cmd_stc_modify_set_stc_param()
535 stc_attr->aso.devx_obj_id); in hws_cmd_stc_modify_set_stc_param()
537 stc_attr->aso.return_reg_id); in hws_cmd_stc_modify_set_stc_param()
539 stc_attr->aso.aso_type); in hws_cmd_stc_modify_set_stc_param()
559 stc_attr->id); in hws_cmd_stc_modify_set_stc_param()
563 stc_attr->id); in hws_cmd_stc_modify_set_stc_param()
567 stc_attr->reformat_trailer.op); in hws_cmd_stc_modify_set_stc_param()
[all …]
H A Dmatcher.c524 struct mlx5hws_cmd_stc_modify_attr stc_attr = {0}; in hws_matcher_bind_at() local
582 stc_attr.action_offset = MLX5HWS_ACTION_OFFSET_HIT; in hws_matcher_bind_at()
583 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_STE_TABLE; in hws_matcher_bind_at()
584 stc_attr.reparse_mode = MLX5_IFC_STC_REPARSE_IGNORE; in hws_matcher_bind_at()
585 stc_attr.ste_table.ste = action_ste->ste; in hws_matcher_bind_at()
586 stc_attr.ste_table.ste_pool = action_ste->pool; in hws_matcher_bind_at()
587 stc_attr.ste_table.match_definer_id = ctx->caps->trivial_match_definer; in hws_matcher_bind_at()
589 ret = mlx5hws_action_alloc_single_stc(ctx, &stc_attr, tbl->type, in hws_matcher_bind_at()
H A Dpool.c40 struct mlx5hws_cmd_stc_create_attr stc_attr; in hws_pool_create_one_resource() local
56 stc_attr.log_obj_range = log_range; in hws_pool_create_one_resource()
57 stc_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
58 ret = mlx5hws_cmd_stc_create(pool->ctx->mdev, &stc_attr, &obj_id); in hws_pool_create_one_resource()
H A Dcmd.h268 struct mlx5hws_cmd_stc_create_attr *stc_attr,
273 struct mlx5hws_cmd_stc_modify_attr *stc_attr);
H A Daction.h220 struct mlx5hws_cmd_stc_modify_attr *stc_attr,