mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-22 05:16:38 +00:00
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>
This commit is contained in:
parent
b87fa0fafe
commit
57f35c93a2
@ -862,7 +862,7 @@ struct mlx5_flow_table *mlx5_create_vport_flow_table(struct mlx5_flow_namespace
|
|||||||
ft_attr.level = level;
|
ft_attr.level = level;
|
||||||
ft_attr.prio = prio;
|
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*
|
struct mlx5_flow_table*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user