git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40b734
)
net/mlx5: fix ConnectX-6 VF type recognition
author
Viacheslav Ovsiienko
<viacheslavo@mellanox.com>
Wed, 25 Sep 2019 07:31:53 +0000
(07:31 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000
(15:00 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5.c
b/drivers/net/mlx5/mlx5.c
index
0545ebc
..
4599cd9
100644
(file)
--- a/
drivers/net/mlx5/mlx5.c
+++ b/
drivers/net/mlx5/mlx5.c
@@
-2425,6
+2425,7
@@
mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
case PCI_DEVICE_ID_MELLANOX_CONNECTX5VF:
case PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF:
case PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF:
+ case PCI_DEVICE_ID_MELLANOX_CONNECTX6VF:
dev_config.vf = 1;
break;
default: