net/mlx5: fix BlueField VF type recognition
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 25 Sep 2019 07:31:18 +0000 (07:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commita40b734b5efb106f832940a12ea43116a290cb42
tree58f1a6f0fdbdaae75477a3415147dd96ad1afed1
parenta06ce95464d75a5c721f03c540d583ab42232f0f
net/mlx5: fix BlueField VF type recognition

The PCI virtual function type was not recognized correctly
for BlueField VF.

Fixes: f38c54571d62 ("net/mlx5: split PCI from generic probing")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.c