From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b57mY-0004hX-HW for qemu-devel@nongnu.org; Tue, 24 May 2016 04:33:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b57mS-0002vM-Jo for qemu-devel@nongnu.org; Tue, 24 May 2016 04:33:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b57mS-0002v9-Ep for qemu-devel@nongnu.org; Tue, 24 May 2016 04:33:36 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D96C580B20 for ; Tue, 24 May 2016 08:33:35 +0000 (UTC) Date: Tue, 24 May 2016 11:33:31 +0300 From: "Michael S. Tsirkin" Message-ID: <20160524112654-mutt-send-email-mst@redhat.com> References: <1464034485-30543-1-git-send-email-wexu@redhat.com> <1464034485-30543-2-git-send-email-wexu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464034485-30543-2-git-send-email-wexu@redhat.com> Subject: Re: [Qemu-devel] [ RFC Patch v5 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic/ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: wexu@redhat.com Cc: qemu-devel@nongnu.org, jasowang@redhat.com, marcel@redhat.com, victork@redhat.com, dfleytma@redhat.com, yvugenfi@redhat.com On Tue, May 24, 2016 at 04:14:44AM +0800, wexu@redhat.com wrote: > diff --git a/include/standard-headers/linux/virtio_net.h b/include/standard-headers/linux/virtio_net.h > index 5b95762..23f28aa 100644 > --- a/include/standard-headers/linux/virtio_net.h > +++ b/include/standard-headers/linux/virtio_net.h > @@ -114,6 +114,8 @@ struct virtio_net_hdr { > __virtio16 gso_size; /* Bytes to append to hdr_len per frame */ > __virtio16 csum_start; /* Position to start checksumming from */ > __virtio16 csum_offset; /* Offset after that to place checksum */ > + __virtio16 coalesced; > + __virtio16 dup_ack; > }; > > /* This is the version of the header to use when the MRG_RXBUF OK so please post a proposal documenting feature bit and new fields to virtio TC mailing list. No need to wait to get it upstream. > -- > 2.7.1