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 628739 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, v2) xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
rhel5.patch (text/plain), 1.21 KB, created by
Laszlo Ersek
on 2012-10-17 12:00:09 UTC
(
hide
)
Description:
(proposed dom0 patch, v2) xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
Filename:
MIME Type:
Creator:
Laszlo Ersek
Created:
2012-10-17 12:00:09 UTC
Size:
1.21 KB
patch
obsolete
>From d7b17e0d3fd423bea4a5ddb67e207821dd050445 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 | 12 +++++++++--- > 1 files changed, 9 insertions(+), 3 deletions(-) > >diff --git a/drivers/xen/pciback/vpci.c b/drivers/xen/pciback/vpci.c >index 84bc4b9..13c4387 100644 >--- a/drivers/xen/pciback/vpci.c >+++ b/drivers/xen/pciback/vpci.c >@@ -88,9 +88,15 @@ 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])) { >+ /* >+ * 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])) >+ continue; >+ > t = list_entry(list_first(&vpci_dev->dev_list[slot]), > struct pci_dev_entry, list); > >-- >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