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 B702FC83F33 for ; Mon, 4 Sep 2023 11:11:24 +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 18D4A2357E for ; Mon, 4 Sep 2023 11:11:24 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 0F4E99864B2 for ; Mon, 4 Sep 2023 11:11:24 +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 0284C9863C1; Mon, 4 Sep 2023 11:11:24 +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 E69E39863B7; Mon, 4 Sep 2023 11:11:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R581e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=hengqi@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VrJdO86_1693825875; Message-ID: <526c4582-3521-45ad-afae-8d7e281b5f38@linux.alibaba.com> Date: Mon, 4 Sep 2023 19:11:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Parav Pandit Cc: "jasowang@redhat.com" , "Michael S. Tsirkin" , David Edmondson , "virtio-comment@lists.oasis-open.org" , "virtio-dev@lists.oasis-open.org" , Xuan Zhuo References: <20230830055239.10680-1-xuanzhuo@linux.alibaba.com> <1693812824.959417-1-xuanzhuo@linux.alibaba.com> <1693814534.4663684-3-xuanzhuo@linux.alibaba.com> <1693817561.0941262-4-xuanzhuo@linux.alibaba.com> From: Heng Qi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [virtio-dev] RE: RE: RE: RE: [PATCH v16] virtio-net: support device stats 在 2023/9/4 下午6:26, Parav Pandit 写道: >> From: Xuan Zhuo >> Sent: Monday, September 4, 2023 2:23 PM > >>> "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). > Any supporting citation to spec for above comment? I think it can be referred here: "The converse features are also available: a driver can save the virtual device some work by negotiating these features. Note: For example, a network packet transported between two guests on the same system might not need checksumming at all, nor segmentation, if both guests are amenable." > > Each packet must be 1500 for the mtu normative above. > gso_size to <= mtu (ingoring the hdr math for simplicity for now). > whole GSO completion can be for 64K to be reported in used_elem.len. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org