net/mlx5: fix device flow reference
authorYongseok Koh <yskoh@mellanox.com>
Tue, 6 Nov 2018 07:42:49 +0000 (07:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:52 +0000 (00:35 +0100)
commit636a71dedc7eb4493661a20e13ec98bb8152a1cb
treeb987ac365dd7b6914b120a4a6c6460cfb023ecb4
parente0a10f4691c2fa74d228a1c21772456afef1e060
net/mlx5: fix device flow reference

dev_flow->verbs is mistakenly used instead of dev_flow->dv. A sanity
check is added for debugging purpose.

Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c