Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c84 struct mlx5hws_cmd_stc_modify_attr stc_attr = {0}; in hws_action_get_shared_stc_nic() local
102 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_HEADER_REMOVE; in hws_action_get_shared_stc_nic()
103 stc_attr.action_offset = MLX5HWS_ACTION_OFFSET_DW5; in hws_action_get_shared_stc_nic()
104 stc_attr.reparse_mode = MLX5_IFC_STC_REPARSE_IGNORE; in hws_action_get_shared_stc_nic()
105 stc_attr.remove_header.decap = 0; in hws_action_get_shared_stc_nic()
106 stc_attr.remove_header.start_anchor = MLX5_HEADER_ANCHOR_PACKET_START; in hws_action_get_shared_stc_nic()
107 stc_attr.remove_header.end_anchor = MLX5_HEADER_ANCHOR_IPV6_IPV4; in hws_action_get_shared_stc_nic()
110 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_REMOVE_WORDS; in hws_action_get_shared_stc_nic()
111 stc_attr.action_offset = MLX5HWS_ACTION_OFFSET_DW5; in hws_action_get_shared_stc_nic()
112 stc_attr.reparse_mode = MLX5_IFC_STC_REPARSE_ALWAYS; in hws_action_get_shared_stc_nic()
[all …]
H 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()
H A Dcmd.h268 struct mlx5hws_cmd_stc_create_attr *stc_attr,
273 struct mlx5hws_cmd_stc_modify_attr *stc_attr);