From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH 10/10] Introduce MSI message sending interface that bypass IRQ routing. Date: Sun, 9 Aug 2009 17:52:45 +0300 Message-ID: <20090809145245.GA4932@redhat.com> References: <1249821671-32356-1-git-send-email-gleb@redhat.com> <1249821671-32356-11-git-send-email-gleb@redhat.com> <4A7EE39E.40809@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48191 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbZHIOwq (ORCPT ); Sun, 9 Aug 2009 10:52:46 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n79EqlrT029599 for ; Sun, 9 Aug 2009 10:52:47 -0400 Content-Disposition: inline In-Reply-To: <4A7EE39E.40809@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Aug 09, 2009 at 05:56:30PM +0300, Avi Kivity wrote: > On 08/09/2009 03:41 PM, Gleb Natapov wrote: > >Sending of MSI using IRQ routing is an artificial concept and potentially > >big number of MSIs (2048 per device) make it also inefficient. This > >patch adds an interface to inject MSI messages from userspace to lapic > >logic directly. The patch also reduces the maximum number of IRQ routing > >entries to 128 since MSIs will no longer go there and 128 entries cover > >5 ioapics and this ought to be enough for anybody. > > In the future many MSIs will be triggered via irqfds, and those > require irq routing. > Why? My plan is to change irqfd to use the MSI functions. -- Gleb.