net/mlx5: fix initialization for flow group
authorOri Kam <orika@mellanox.com>
Sun, 14 Apr 2019 20:18:55 +0000 (20:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:22 +0000 (18:45 +0200)
commitaf4a86d4464f13d85a81f6c90067dfede005e315
tree0358582028a52e76331d23a5e5333f50c87328eb
parent35a6bc3d9ec0203f89dcefd49a33a81587202043
net/mlx5: fix initialization for flow group

The flow group should be initialized.
For example selecting if the encapsulation is for root or private tables
is based on the flow->group value.

Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c