public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Sheng Yang <sheng@linux.intel.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: Downsize max support MSI-X entry to 256
Date: Tue, 26 May 2009 14:41:41 +0300	[thread overview]
Message-ID: <4A1BD575.3000904@redhat.com> (raw)
In-Reply-To: <1242885013-32735-1-git-send-email-sheng@linux.intel.com>

Sheng Yang wrote:
> We only trap one page for MSI-X entry now, so it's 4k/(128/8) = 256 entries at
> most.
>
>   

Applied, thanks.

>  
> -#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;
>   

It's really unfortunate that this is a compile-time constant instead of 
run-time discoverable.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-05-26 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  5:50 [PATCH] KVM: Downsize max support MSI-X entry to 256 Sheng Yang
2009-05-26 11:41 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1BD575.3000904@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox