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 82A31C77B60 for ; Thu, 27 Apr 2023 02:20:34 +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 A62862B070 for ; Thu, 27 Apr 2023 02:20:33 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 8664498664F for ; Thu, 27 Apr 2023 02:20:33 +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 73527986288; Thu, 27 Apr 2023 02:20:33 +0000 (UTC) Mailing-List: contact virtio-comment-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 B0A74986641; Thu, 27 Apr 2023 02:19:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=hengqi@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0Vh5U1-k_1682561983; Message-ID: <7f486f29-10a6-7625-fef8-3d543f529e4c@linux.alibaba.com> Date: Thu, 27 Apr 2023 10:19:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: Parav Pandit , "virtio-dev@lists.oasis-open.org" , "virtio-comment@lists.oasis-open.org" Cc: "Michael S . Tsirkin" , Jason Wang , Yuri Benditovich , Xuan Zhuo References: <20230423073532.105636-1-hengqi@linux.alibaba.com> <1d0adb7d-fcc8-404d-8105-bc1f818bc3a3@linux.alibaba.com> From: Heng Qi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [virtio-comment] Re: [virtio-dev] RE: [virtio-comment] RE: [PATCH v13] virtio-net: support inner header hash 在 2023/4/26 下午10:24, Parav Pandit 写道: > >> From: Heng Qi >> Sent: Wednesday, April 26, 2023 10:04 AM >> Yes, but that seems like a tiny cost, and the cvq command-related structure is >> much simpler. > Current structure size is 24 bytes. > This size becomes multiplier with device count scale to be always available and rarely changes. > > As we add new features such device capabilities grow making the multiplier bigger. > For example > a. flow steering capabilities (how many flows, what mask, supported protocols, generic options) > b. hds capabilities > c. counter capabilities (histogram based, which error counters supported, etc) > d. which new type of tx vq improvements supported. > e. hw gro context count supported > > May be more.. > > Depending on the container/VM size certain capabilities may change from device to device. > Hence it is hard to deduplicate them at device level. This makes sense. In general, we should be careful about adding things to the device space unless the benefit is non-trivial. Thanks. > > Therefore, ability to query them over a non_always_available transport is preferred choice from the device. > > A driver may choose to cache it if its being frequently accessed or ask device when needed. > Even when it's cached by driver, it is coming from the component that doesn’t have transport level timeouts associated with it. This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/