Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_cmd.c303 void *in_flow_context; in mlx5dr_cmd_set_fte_modify_and_vport() local
320 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
321 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
322 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
323 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
324 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
328 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
778 void *in_flow_context, *vlan; in mlx5dr_cmd_set_fte() local
813 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
814 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c521 mlx5_cmd_set_fte_flow_meter(struct fs_fte *fte, void *in_flow_context) in mlx5_cmd_set_fte_flow_meter() argument
526 execute_aso = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte_flow_meter()
552 void *in_flow_context, *vlan; in mlx5_cmd_set_fte() local
590 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
591 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
593 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
595 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
597 MLX5_SET(flow_context, in_flow_context, uplink_hairpin_en, in mlx5_cmd_set_fte()
600 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
607 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c182 void *in_flow_context; in mlx5hws_cmd_set_fte() local
205 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5hws_cmd_set_fte()
206 MLX5_SET(flow_context, in_flow_context, group_id, group_id); 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()
212 MLX5_SET(flow_context, in_flow_context, action, action_flags); in mlx5hws_cmd_set_fte()
215 MLX5_SET(flow_context, in_flow_context, in mlx5hws_cmd_set_fte()
220 MLX5_SET(flow_context, in_flow_context, in mlx5hws_cmd_set_fte()
222 MLX5_SET(flow_context, in_flow_context, in mlx5hws_cmd_set_fte()
227 in_dests = (u8 *)MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5hws_cmd_set_fte()
[all …]