projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
628eb9b
)
KVM: Downsize max support MSI-X entry to 256
author
Sheng Yang
<sheng@linux.intel.com>
Thu, 21 May 2009 05:50:13 +0000
(13:50 +0800)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:32:43 +0000
(08:32 +0300)
We only trap one page for MSI-X entry now, so it's 4k/(128/8) = 256 entries at
most.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kvm.h
b/include/linux/kvm.h
index 65df6f5e2b984595c7a111453b45497c7d4ac222..632a8560dbcfc36cc17b97783b0f000c7e5edff6 100644
(file)
--- a/
include/linux/kvm.h
+++ b/
include/linux/kvm.h
@@
-676,7
+676,7
@@
struct kvm_assigned_msix_nr {
__u16 padding;
};
-#define KVM_MAX_MSIX_PER_DEV
512
+#define KVM_MAX_MSIX_PER_DEV
256
struct kvm_assigned_msix_entry {
__u32 assigned_dev_id;
__u32 gsi;