Home
last modified time | relevance | path

Searched refs:fte_attr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c179 struct mlx5hws_cmd_set_fte_attr *fte_attr) in mlx5hws_cmd_set_fte() argument
192 dest_entry_sz = fte_attr->extended_dest ? in mlx5hws_cmd_set_fte()
195 total_dest_sz = dest_entry_sz * fte_attr->dests_num; in mlx5hws_cmd_set_fte()
207 MLX5_SET(flow_context, in_flow_context, flow_source, fte_attr->flow_source); in mlx5hws_cmd_set_fte()
208 MLX5_SET(flow_context, in_flow_context, extended_destination, fte_attr->extended_dest); in mlx5hws_cmd_set_fte()
209 MLX5_SET(set_fte_in, in, ignore_flow_level, fte_attr->ignore_flow_level); in mlx5hws_cmd_set_fte()
211 action_flags = fte_attr->action_flags; in mlx5hws_cmd_set_fte()
216 packet_reformat_id, fte_attr->packet_reformat_id); in mlx5hws_cmd_set_fte()
221 encrypt_decrypt_type, fte_attr->encrypt_decrypt_type); in mlx5hws_cmd_set_fte()
223 encrypt_decrypt_obj_id, fte_attr->encrypt_decrypt_obj_id); in mlx5hws_cmd_set_fte()
[all …]
H A Dtable.c46 struct mlx5hws_cmd_set_fte_attr fte_attr = {0}; in hws_table_up_default_fdb_miss_tbl() local
67 fte_attr.action_flags = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in hws_table_up_default_fdb_miss_tbl()
68 fte_attr.dests_num = 1; in hws_table_up_default_fdb_miss_tbl()
69 fte_attr.dests = &dest; in hws_table_up_default_fdb_miss_tbl()
71 default_miss = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); in hws_table_up_default_fdb_miss_tbl()
H A Daction.c1367 struct mlx5hws_cmd_set_fte_attr fte_attr = {0}; in mlx5hws_action_create_dest_array() local
1399 fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5hws_action_create_dest_array()
1400 fte_attr.ignore_flow_level = 1; in mlx5hws_action_create_dest_array()
1407 fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5hws_action_create_dest_array()
1429 fte_attr.dests_num = num_dest; in mlx5hws_action_create_dest_array()
1430 fte_attr.dests = dest_list; in mlx5hws_action_create_dest_array()
1432 fw_island = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); in mlx5hws_action_create_dest_array()
1875 struct mlx5hws_cmd_set_fte_attr fte_attr = {0}; in mlx5hws_action_create_flow_sampler() local
1892 fte_attr.dests_num = 1; in mlx5hws_action_create_flow_sampler()
1893 fte_attr.dests = &dest; in mlx5hws_action_create_flow_sampler()
[all …]
H A Dcmd.h321 struct mlx5hws_cmd_set_fte_attr *fte_attr);
329 struct mlx5hws_cmd_set_fte_attr *fte_attr);