diff options
author | Mohamad Haj Yahia <mohamad@mellanox.com> | 2017-05-25 15:46:14 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-06-11 12:10:36 +0200 |
commit | 57f35c93a2072c1f66ab1728a77a9ee4bc33bf42 (patch) | |
tree | c149b918614fe82dd558f452a60b05eeb4ff3bba /drivers | |
parent | Merge branch 'mvpp2-fixes' (diff) | |
download | linux-57f35c93a2072c1f66ab1728a77a9ee4bc33bf42.tar.xz linux-57f35c93a2072c1f66ab1728a77a9ee4bc33bf42.zip |
net/mlx5: Fix create vport flow table flow
Send vport number to the create flow table inner method instead of
ignoring the vport argument and sending always 0.
Fixes: b3ba51498bdd ('net/mlx5: Refactor create flow table method to accept underlay QP')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c index 0e487e8ca634..8f5125ccd8d4 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c @@ -862,7 +862,7 @@ struct mlx5_flow_table *mlx5_create_vport_flow_table(struct mlx5_flow_namespace ft_attr.level = level; ft_attr.prio = prio; - return __mlx5_create_flow_table(ns, &ft_attr, FS_FT_OP_MOD_NORMAL, 0); + return __mlx5_create_flow_table(ns, &ft_attr, FS_FT_OP_MOD_NORMAL, vport); } struct mlx5_flow_table* |