Return-Path: Message-ID: Date: Thu, 16 Feb 2023 22:19:05 +0800 MIME-Version: 1.0 Subject: Re: [virtio-comment] RE: [virtio-dev] RE: [virtio-comment] [PATCH v8] virtio-net: support inner header hash References: <20230208090836.74355-1-hengqi@linux.alibaba.com> <0f73e9c7-5080-d01c-0f63-dd23942fa71b@linux.alibaba.com> From: Heng Qi In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit To: Parav Pandit , "virtio-comment@lists.oasis-open.org" , "virtio-dev@lists.oasis-open.org" Cc: Jason Wang , "Michael S . Tsirkin" , Cornelia Huck , Yuri Benditovich , Xuan Zhuo List-ID: 在 2023/2/16 下午9:25, Parav Pandit 写道: > >> From: Heng Qi >> Sent: Thursday, February 16, 2023 1:58 AM >> >> I'm really okay with this, the tunnel type seems to help the software driver do >> more things in the future, for example, the driver may not want to use the >> outer hash value when forwarding packets. But if there is really no practical >> scenario for the driver at present, then let us hide the tunnel types in the >> \field{hash_report}? >> > Right. Lets omit hash_report in virtio_net_hdr. Ok. Will do. > >>> What is valuable is to have a VNI already identified and coming to the driver, >> like a hash value. >> >> This is too specific to a certain tunnel protocol, not every protocol has >> corresponding VNI information. >> > True. I was considering a hash of the generic outer header through which it can reach to generic tunnel. > But it is a very different feature of its own, so yes, better to split and proceed with this to improve inner hash. It's a good idea, but I think the current work needs to focus on the inner header hash, and the more general features we can continue in other work. Thanks.