Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 628292 Details for
Bug 865736
Only 2 VF can be seen in RHEL5.9 PV guest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
(proposed dom0 patch) xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
0001-xen-PV-passthru-assign-SR-IOV-virtual-functions-to-s.patch (text/plain), 1.87 KB, created by
Laszlo Ersek
on 2012-10-16 17:15:57 UTC
(
hide
)
Description:
(proposed dom0 patch) xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
Filename:
MIME Type:
Creator:
Laszlo Ersek
Created:
2012-10-16 17:15:57 UTC
Size:
1.87 KB
patch
obsolete
>From 5b00aad14f32e1901cce4f74f970a17661c4b439 Mon Sep 17 00:00:00 2001 >From: Laszlo Ersek <lersek@redhat.com> >Date: Tue, 16 Oct 2012 18:44:16 +0200 >Subject: [RHEL5.9 Xen PATCH] xen PV passthru: assign SR-IOV virtual functions to separate virtual slots > > >Signed-off-by: Laszlo Ersek <lersek@redhat.com> >--- > drivers/xen/pciback/vpci.c | 33 +++++++++++++++++++-------------- > 1 files changed, 19 insertions(+), 14 deletions(-) > >diff --git a/drivers/xen/pciback/vpci.c b/drivers/xen/pciback/vpci.c >index 84bc4b9..106e7ae 100644 >--- a/drivers/xen/pciback/vpci.c >+++ b/drivers/xen/pciback/vpci.c >@@ -88,20 +88,25 @@ int pciback_add_pci_dev(struct pciback_device *pdev, struct pci_dev *dev) > > spin_lock_irqsave(&vpci_dev->lock, flags); > >- /* Keep multi-function devices together on the virtual PCI bus */ >- for (slot = 0; slot < PCI_SLOT_MAX; slot++) { >- if (!list_empty(&vpci_dev->dev_list[slot])) { >- t = list_entry(list_first(&vpci_dev->dev_list[slot]), >- struct pci_dev_entry, list); >- >- if (match_slot(dev, t->dev)) { >- pr_info("pciback: vpci: %s: " >- "assign to virtual slot %d func %d\n", >- pci_name(dev), slot, >- PCI_FUNC(dev->devfn)); >- list_add_tail(&dev_entry->list, >- &vpci_dev->dev_list[slot]); >- goto unlock; >+ /* >+ * Keep multi-function devices together on the virtual PCI bus, except >+ * virtual functions. >+ */ >+ if (!dev->is_virtfn) { >+ for (slot = 0; slot < PCI_SLOT_MAX; slot++) { >+ if (!list_empty(&vpci_dev->dev_list[slot])) { >+ t = list_entry(list_first(&vpci_dev->dev_list[slot]), >+ struct pci_dev_entry, list); >+ >+ if (match_slot(dev, t->dev)) { >+ pr_info("pciback: vpci: %s: " >+ "assign to virtual slot %d func %d\n", >+ pci_name(dev), slot, >+ PCI_FUNC(dev->devfn)); >+ list_add_tail(&dev_entry->list, >+ &vpci_dev->dev_list[slot]); >+ goto unlock; >+ } > } > } > } >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 865736
:
628089
|
628112
|
628292
|
628739