Lines Matching refs:dest
102 struct mlx5_flow_destination dest = {}; in mlx5_esw_indir_table_rule_get() local
140 dest.type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; in mlx5_esw_indir_table_rule_get()
141 dest.ft = mlx5_chains_get_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
142 if (IS_ERR(dest.ft)) { in mlx5_esw_indir_table_rule_get()
143 err = PTR_ERR(dest.ft); in mlx5_esw_indir_table_rule_get()
146 handle = mlx5_add_flow_rules(e->ft, NULL, &flow_act, &dest, 1); in mlx5_esw_indir_table_rule_get()
213 struct mlx5_flow_destination dest = {}; in mlx5_create_indir_fwd_group() local
232 dest.type = MLX5_FLOW_DESTINATION_TYPE_VPORT; in mlx5_create_indir_fwd_group()
233 dest.vport.num = e->vport; in mlx5_create_indir_fwd_group()
234 dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_create_indir_fwd_group()
235 dest.vport.flags = MLX5_FLOW_DEST_VPORT_VHCA_ID; in mlx5_create_indir_fwd_group()
236 e->fwd_rule = mlx5_add_flow_rules(e->ft, NULL, &flow_act, &dest, 1); in mlx5_create_indir_fwd_group()