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 Dmlx5hws_table.c42 struct mlx5hws_cmd_set_fte_attr fte_attr = {0}; in hws_table_up_default_fdb_miss_tbl() local
63 fte_attr.action_flags = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in hws_table_up_default_fdb_miss_tbl()
64 fte_attr.dests_num = 1; in hws_table_up_default_fdb_miss_tbl()
65 fte_attr.dests = &dest; in hws_table_up_default_fdb_miss_tbl()
67 default_miss = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); in hws_table_up_default_fdb_miss_tbl()
H A Dmlx5hws_cmd.c184 struct mlx5hws_cmd_set_fte_attr *fte_attr) in mlx5hws_cmd_set_fte() argument
197 dest_entry_sz = fte_attr->extended_dest ? in mlx5hws_cmd_set_fte()
200 total_dest_sz = dest_entry_sz * fte_attr->dests_num; in mlx5hws_cmd_set_fte()
212 MLX5_SET(flow_context, in_flow_context, flow_source, fte_attr->flow_source); in mlx5hws_cmd_set_fte()
213 MLX5_SET(flow_context, in_flow_context, extended_destination, fte_attr->extended_dest); in mlx5hws_cmd_set_fte()
214 MLX5_SET(set_fte_in, in, ignore_flow_level, fte_attr->ignore_flow_level); in mlx5hws_cmd_set_fte()
216 action_flags = fte_attr->action_flags; in mlx5hws_cmd_set_fte()
221 packet_reformat_id, fte_attr->packet_reformat_id); in mlx5hws_cmd_set_fte()
226 encrypt_decrypt_type, fte_attr->encrypt_decrypt_type); in mlx5hws_cmd_set_fte()
228 encrypt_decrypt_obj_id, fte_attr->encrypt_decrypt_obj_id); in mlx5hws_cmd_set_fte()
[all …]
H A Dmlx5hws_cmd.h324 struct mlx5hws_cmd_set_fte_attr *fte_attr);
332 struct mlx5hws_cmd_set_fte_attr *fte_attr);
H A Dmlx5hws_action.c1362 struct mlx5hws_cmd_set_fte_attr fte_attr = {0}; in mlx5hws_action_create_dest_array() local
1394 fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5hws_action_create_dest_array()
1395 fte_attr.ignore_flow_level = ignore_flow_level; in mlx5hws_action_create_dest_array()
1405 fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5hws_action_create_dest_array()
1424 fte_attr.dests_num = num_dest; in mlx5hws_action_create_dest_array()
1425 fte_attr.dests = dest_list; in mlx5hws_action_create_dest_array()
1427 fw_island = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); in mlx5hws_action_create_dest_array()