Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d745098c authored by Maor Gottlieb's avatar Maor Gottlieb Committed by David S. Miller
Browse files

net/mlx5: Introduce modify flow rule destination



This API is used for modifying the flow rule destination.
This is needed for modifying the pointed flow table by the
traffic type classifier rules to point on the aRFS tables.

Signed-off-by: default avatarMaor Gottlieb <maorg@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1da36696
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -615,7 +615,7 @@ static int update_root_ft_create(struct mlx5_flow_table *ft, struct fs_prio
	return err;
}

static int mlx5_modify_rule_destination(struct mlx5_flow_rule *rule,
int mlx5_modify_rule_destination(struct mlx5_flow_rule *rule,
				 struct mlx5_flow_destination *dest)
{
	struct mlx5_flow_table *ft;
+3 −0
Original line number Diff line number Diff line
@@ -113,4 +113,7 @@ mlx5_add_flow_rule(struct mlx5_flow_table *ft,
		   struct mlx5_flow_destination *dest);
void mlx5_del_flow_rule(struct mlx5_flow_rule *fr);

int mlx5_modify_rule_destination(struct mlx5_flow_rule *rule,
				 struct mlx5_flow_destination *dest);

#endif