From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [RFC 7/11] virtio_pci: new, capability-aware driver. Date: Thu, 12 Jan 2012 09:19:09 +1100 Message-ID: <1326320349.23910.159.camel@pasglop> References: <20111218101831.GB30374@redhat.com> <87bor5nlht.fsf@rustcorp.com.au> <20111219091324.GA19535@redhat.com> <871us0om2t.fsf@rustcorp.com.au> <20111220113718.GF3913@redhat.com> <878vm6daqy.fsf@rustcorp.com.au> <20120110170334.GA18404@redhat.com> <8762gj6q5r.fsf@rustcorp.com.au> <20120111102129.GC20988@redhat.com> <1326316422.23910.154.camel@pasglop> <20120111221349.GD27292@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120111221349.GD27292@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: Christian Borntraeger , Sasha Levin , Pawel Moll , virtualization List-Id: virtualization@lists.linuxfoundation.org On Thu, 2012-01-12 at 00:13 +0200, Michael S. Tsirkin wrote: > > We typically pre-populate the data rings with skb's for 1500 and 9000 > > bytes packets. Small packets come in immediately in the completion ring, > > and large packets via the data ring. > > Won't real workloads suffer from packet reordering? No, they aren't re-ordered. The completion ring has an entry for each packet, in order. Those entries eventually reference the entry index in the data rings if the data was put there instead of being immediate. Cheers, Ben.