From ab12e4bedabac94df97f8be36acdc909b27f056a Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Sun, 3 May 2009 10:13:09 +0300 Subject: [PATCH] Make MSI-X table size match the spec MSI-X table size is 11 bits, not 10. See also PCI_MSIX_FLAGS_QSIZE in linux/pci_regs.h. Make PCI_MSIX_TABSIZE match that. Signed-off-by: Michael S. Tsirkin --- lib/header.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/header.h b/lib/header.h index ad8bce6..ec34f44 100644 --- a/lib/header.h +++ b/lib/header.h @@ -862,7 +862,7 @@ /* MSI-X */ #define PCI_MSIX_ENABLE 0x8000 #define PCI_MSIX_MASK 0x4000 -#define PCI_MSIX_TABSIZE 0x03ff +#define PCI_MSIX_TABSIZE 0x07ff #define PCI_MSIX_TABLE 4 #define PCI_MSIX_PBA 8 #define PCI_MSIX_BIR 0x7 -- 2.39.2