aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/fs.h
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-04-29 01:36:33 +0300
committerDavid S. Miller <davem@davemloft.net>2016-04-29 16:29:08 -0400
commitd745098cedb3f5c6a554796d4a3a505abd4ebaa6 (patch)
treec3ce6883c3163e39f5664f255ce1a6a36feaf7ed /include/linux/mlx5/fs.h
parentnet/mlx5e: Direct TIR per RQ (diff)
downloadlinux-dev-d745098cedb3f5c6a554796d4a3a505abd4ebaa6.tar.xz
linux-dev-d745098cedb3f5c6a554796d4a3a505abd4ebaa6.zip
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: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/fs.h')
-rw-r--r--include/linux/mlx5/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index 8dec5508d93d..28a5b662ab6a 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -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