summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2016-11-07 15:14:44 +0200
committerDavid S. Miller <davem@davemloft.net>2016-11-09 13:41:56 -0500
commitc9f1b073d0d750ccf8b30b272d1d76479f4cccbc (patch)
tree459a294de042444ac8103e9ea6ed8efaea1ac4a2 /drivers/infiniband
parent43f93839e359c8044200ec3f6fa455b47ba3aa2c (diff)
downloadlinux-stable-c9f1b073d0d750ccf8b30b272d1d76479f4cccbc.tar.gz
linux-stable-c9f1b073d0d750ccf8b30b272d1d76479f4cccbc.tar.bz2
linux-stable-c9f1b073d0d750ccf8b30b272d1d76479f4cccbc.zip
net/mlx5: Add creation flags when adding new flow table
When creating flow tables, allow the caller to specify creation flags. Currently no flags are used and as such this patch doesn't add any new functionality. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mlx5/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 292ae8bbeae2..9b16431e1de8 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -1857,7 +1857,7 @@ static struct mlx5_ib_flow_prio *get_flow_table(struct mlx5_ib_dev *dev,
ft = mlx5_create_auto_grouped_flow_table(ns, priority,
num_entries,
num_groups,
- 0);
+ 0, 0);
if (!IS_ERR(ft)) {
prio->refcount = 0;