>From 867032964e63165019487112b6317c6e75437bee Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Thu, 24 Apr 2014 20:29:50 -0400 Subject: [PATCH 5/5] pci/assign-busses: Add Mellenox --- xen/drivers/passthrough/pci.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/xen/drivers/passthrough/pci.c b/xen/drivers/passthrough/pci.c index d7bdbd5..455aed5 100644 --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1217,7 +1217,20 @@ static __init struct early_pci_dev *early_alloc_pci_dev(struct early_pci_bus *bu break; dev->is_sriov = 1; dev->total_vfs = 8; + break; + } + break; + case 0x15b3: + switch ( dev->device ) + { + case 0x673c: /* InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE] */ + if ( dev->is_sriov ) + break; + dev->is_sriov = 1; + dev->total_vfs = 64; + break; } + break; default: break; } -- 2.5.5