Received: from eggs.gnu.org ([2001:4830:134:3::10]:40493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRHYd-00018W-03 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 04:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRHYX-0005vo-Vh for qemu-devel@nongnu.org; Fri, 27 Feb 2015 04:50:06 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:39159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRHYX-0005sA-MX for qemu-devel@nongnu.org; Fri, 27 Feb 2015 04:50:01 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Feb 2015 09:49:59 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 4566E219005F for ; Fri, 27 Feb 2015 09:49:49 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1R9nuI81769962 for ; Fri, 27 Feb 2015 09:49:56 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1R9nt6V016255 for ; Fri, 27 Feb 2015 02:49:55 -0700 Date: Fri, 27 Feb 2015 10:49:54 +0100 From: Cornelia Huck Message-ID: <20150227104954.09e513db.cornelia.huck@de.ibm.com> In-Reply-To: <1425018897.3834.6@smtp.corp.redhat.com> References: <1424934286-7099-1-git-send-email-jasowang@redhat.com> <1424934286-7099-7-git-send-email-jasowang@redhat.com> <20150226140506.5ae9a13d.cornelia.huck@de.ibm.com> <1425018897.3834.6@smtp.corp.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V2 06/11] virtio-s390: switch to bus specific queue limit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: qemu-devel@nongnu.org, Christian Borntraeger , mst@redhat.com, Alexander Graf , Richard Henderson On Fri, 27 Feb 2015 06:42:57 +0008 Jason Wang wrote: > On Thu, Feb 26, 2015 at 9:05 PM, Cornelia Huck > wrote: > > On Thu, 26 Feb 2015 15:04:41 +0800 > > Jason Wang wrote: > > > >> typedef struct AdapterRoutes { > >> AdapterInfo adapter; > >> int num_routes; > >> - int gsi[VIRTIO_PCI_QUEUE_MAX]; > >> + int gsi[VIRTIO_S390_QUEUE_MAX]; > > > > Adapter routes are only applicable for the ccw transport, not for the > > old s390 transport. > > Sure, will fix this. > > > > > > > (I'm also wondering whether this should be the generic limit instead.) > > As you pointed out in V1, there will be more issues if we just increase > the generic limit. So I switch to use per transport limit. Since the > limit was not changed for both s390 and ccw, it should be ok. I'm just wondering how many gsis we want to support for adapter routes. They were introduced for virtio-ccw, but recently s390 pci has started to use them as well, so a virtio limit seems silly here. I'll switch them to some kind of generic limit instead, I think. > > >> } AdapterRoutes; > >> > >> #define TYPE_S390_FLIC_COMMON "s390-flic" > > > > >