Home
last modified time | relevance | path

Searched refs:in_flow_context (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c408 void *in_flow_context, *vlan; in mlx5_cmd_set_fte() local
440 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
441 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
443 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
445 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
448 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
455 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
457 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte()
460 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte()
464 MLX5_SET(flow_context, in_flow_context, modify_header_id, in mlx5_cmd_set_fte()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c177 void *in_flow_context; in mlx5dr_cmd_set_fte_modify_and_vport() local
194 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
195 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
196 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
197 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
198 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
202 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()