summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2018-04-29 17:17:34 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-08-13 22:50:17 +0300
commitcf916ffbe0c628bb072ea829f300cff1874162ce (patch)
tree83b5c10d30d421ffc902cd4ee734207507134a86 /include
parenta8274b854b5e7c78187d7b9eaf701e1f6e1ccfcb (diff)
downloadlinux-cf916ffbe0c628bb072ea829f300cff1874162ce.tar.xz
net/mlx5: Improve argument name for add flow API
The last argument to mlx5_add_flow_rules passes the number of destinations in the struct pointed to by the dest arg. Change the name to better reflect this fact. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index c40f2fc68655..71fb503b2b52 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -177,7 +177,7 @@ mlx5_add_flow_rules(struct mlx5_flow_table *ft,
struct mlx5_flow_spec *spec,
struct mlx5_flow_act *flow_act,
struct mlx5_flow_destination *dest,
- int dest_num);
+ int num_dest);
void mlx5_del_flow_rules(struct mlx5_flow_handle *fr);
int mlx5_modify_rule_destination(struct mlx5_flow_handle *handler,