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 3B18DC74A5B for ; Fri, 17 Mar 2023 08:38:57 +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 30DBB2AED2 for ; Fri, 17 Mar 2023 08:38:56 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 1BB9798643A for ; Fri, 17 Mar 2023 08:38:56 +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 084B9985FE5; Fri, 17 Mar 2023 08:38:56 +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 E693298642F; Fri, 17 Mar 2023 08:38:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R591e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=hengqi@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0Ve2Imz7_1679042329; Message-ID: <10394600-28fa-b25b-c82d-5a541609912c@linux.alibaba.com> Date: Fri, 17 Mar 2023 16:38:47 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Parav Pandit Cc: "Michael S . Tsirkin" , "virtio-dev@lists.oasis-open.org" , "virtio-comment@lists.oasis-open.org" , Jason Wang , Yuri Benditovich , Cornelia Huck , Xuan Zhuo References: <20230306154817.14115-1-hengqi@linux.alibaba.com> <9f6286ea-51b2-dcc0-86c9-66509d92d8c2@nvidia.com> <20230316133844.GB20524@h68b04307.sqa.eu95> 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 v10] virtio-net: support inner header hash 在 2023/3/17 上午3:55, Parav Pandit 写道: >> From: Heng Qi >> Sent: Thursday, March 16, 2023 9:39 AM >> A rough description of this scene is as follows: >> Client1 sends packets to client2, and client2 sends packets to client1 >> respectively. >> This is called two directions, and they are in the same flow. >> The packets in the two directions may reach the processing host through >> different tunnels. In this scenario, we need to hash these packets to the same >> queue for the same cpu to process, so inner symmetric hashing is required. >> >> >> client1 client2 >> | | >> | __________ | >> +----->| tunnels |<-------+ >> |---------| >> | | >> | | >> | | >> v v >> +-----------------+ >> | processing host | >> +-----------------+ >> > I understood now. The key piece is the processing host is different from clients 1 and 2, I was missing that. > The key is there are two tunnels and processing data on the inner header for the different tunnels is your primary requirement. > Hence inner hashing helps to serialize them. Yes, you are right. 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/