From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from ws5-mx01.kavi.com (ws5-mx01.kavi.com [34.193.7.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80649C83F33 for ; Mon, 4 Sep 2023 08:54:26 +0000 (UTC) Received: from lists.oasis-open.org (oasis.ws5.connectedcommunity.org [10.110.1.242]) by ws5-mx01.kavi.com (Postfix) with ESMTP id B5225F3F4A for ; Mon, 4 Sep 2023 08:54:25 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id AE1B49864B2 for ; Mon, 4 Sep 2023 08:54:25 +0000 (UTC) Received: from host09.ws5.connectedcommunity.org (host09.ws5.connectedcommunity.org [10.110.1.97]) by lists.oasis-open.org (Postfix) with QMQP id A04829863C1; Mon, 4 Sep 2023 08:54:25 +0000 (UTC) Mailing-List: contact virtio-dev-help@lists.oasis-open.org; run by ezmlm List-ID: Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 9057E9863B7; Mon, 4 Sep 2023 08:54:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R251e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=xuanzhuo@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VrI6h3X_1693817659; Message-ID: <1693817561.0941262-4-xuanzhuo@linux.alibaba.com> Date: Mon, 4 Sep 2023 16:52:41 +0800 From: Xuan Zhuo To: Parav Pandit Cc: "jasowang@redhat.com" , "Michael S. Tsirkin" , David Edmondson , "virtio-comment@lists.oasis-open.org" , "virtio-dev@lists.oasis-open.org" References: <20230830055239.10680-1-xuanzhuo@linux.alibaba.com> <1693812824.959417-1-xuanzhuo@linux.alibaba.com> <1693814534.4663684-3-xuanzhuo@linux.alibaba.com> In-Reply-To: Subject: [virtio-dev] Re: RE: RE: RE: [PATCH v16] virtio-net: support device stats On Mon, 4 Sep 2023 08:08:57 +0000, Parav Pandit wrote: > > > From: Xuan Zhuo > > Sent: Monday, September 4, 2023 1:32 PM > > > If so, how will the receive device can receive such large packet when the > > posted buffer is not worth the 64KB size? > > > > The virtio-net merge mode. > > that is only fine when the mtu is 64K or when mtu is not negotiated. > Because in spec we have > > "The device MUST NOT pass received packets that exceed mtu (plus low level ethernet header length) size > with gso_type NONE or ECN after VIRTIO_NET_F_MTU has been successfully negotiated." NO. If the mtu is 1500, we can pass 64k packets to the driver with gso_type (not NONE). Thanks. > > We need to update the definition of those gso counter to indicate above two conditions. --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org