From: "Jan Beulich" Subject: [PATCH 6/6] pciif: add multi-vector-MSI command Date: Fri, 19 Apr 2013 12:00:29 +0100 Message-ID: <51713FEE02000078000CEF2B@nat28.tlf.novell.com> References: <51713D8F02000078000CEEE6@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartB6869BDD.2__=" Return-path: In-Reply-To: <51713D8F02000078000CEEE6@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Jacob Shin , xiantao.zhang@intel.com, suravee.suthikulpanit@amd.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartB6869BDD.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The requested vector count is to be passed in struct xen_pci_op's info field. Upon failure, if a smaller vector count might work, the backend will pass that smaller count in the value field (which so far is always being set to zero in the error path). Signed-off-by: Jan Beulich --- a/xen/include/public/io/pciif.h +++ b/xen/include/public/io/pciif.h @@ -46,6 +46,7 @@ #define XEN_PCI_OP_aer_resume (7) #define XEN_PCI_OP_aer_mmio (8) #define XEN_PCI_OP_aer_slotreset (9) +#define XEN_PCI_OP_enable_multi_msi (10) =20 /* xen_pci_op error numbers */ #define XEN_PCI_ERR_success (0) --=__PartB6869BDD.2__= Content-Type: text/plain; name="pciif-multi-vector-MSI.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pciif-multi-vector-MSI.patch" pciif: add multi-vector-MSI command=0A=0AThe requested vector count is to = be passed in struct xen_pci_op's info=0Afield. Upon failure, if a smaller = vector count might work, the backend=0Awill pass that smaller count in the = value field (which so far is always=0Abeing set to zero in the error = path).=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = a/xen/include/public/io/pciif.h=0A+++ b/xen/include/public/io/pciif.h=0A@@ = -46,6 +46,7 @@=0A #define XEN_PCI_OP_aer_resume (7)=0A #define = XEN_PCI_OP_aer_mmio (8)=0A #define XEN_PCI_OP_aer_slotreset = (9)=0A+#define XEN_PCI_OP_enable_multi_msi (10)=0A =0A /* xen_pci_op = error numbers */=0A #define XEN_PCI_ERR_success (0)=0A --=__PartB6869BDD.2__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartB6869BDD.2__=--