net/mlx5: fix ConnectX-6 VF type recognition
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 25 Sep 2019 07:31:53 +0000 (07:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commitc930f02c743b150c5237522a6c5fa7ba58806281
tree3ebcf115986188cd5b6271fa001859c7642e6f88
parenta40b734b5efb106f832940a12ea43116a290cb42
net/mlx5: fix ConnectX-6 VF type recognition

The PCI virtual function type was not recognized correctly
for ConnectX-6 VF.

Fixes: f0354d842344 ("net/mlx5: add ConnectX-6 device IDs")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.c