From: Heng Qi <hengqi@linux.alibaba.com>
To: Parav Pandit <parav@nvidia.com>,
"virtio-dev@lists.oasis-open.org"
<virtio-dev@lists.oasis-open.org>,
"virtio-comment@lists.oasis-open.org"
<virtio-comment@lists.oasis-open.org>
Cc: "Michael S . Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
Yuri Benditovich <yuri.benditovich@daynix.com>,
Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Subject: [virtio-dev] Re: [virtio-comment] RE: [PATCH v13] virtio-net: support inner header hash
Date: Wed, 26 Apr 2023 22:03:30 +0800 [thread overview]
Message-ID: <1d0adb7d-fcc8-404d-8105-bc1f818bc3a3@linux.alibaba.com> (raw)
In-Reply-To: <PH0PR12MB5481EA937633233A9A9E5E30DC659@PH0PR12MB5481.namprd12.prod.outlook.com>
在 2023/4/26 下午9:47, Parav Pandit 写道:
>
>> From: Heng Qi <hengqi@linux.alibaba.com>
>> Sent: Wednesday, April 26, 2023 9:43 AM
>>> "With that no need to define two fields at two different places in
>>> config area and also in cvq."
>> I'm not sure if this is sufficiently motivated, RSS also has supports_hash_types
>> in config space.
>>
> There are many fields grown to MMIO config space because 0.9.5 has config space there.
> These are usually one time read or rarely used; hence it doesn’t need to come from this area of the device to be _always_ available.
Yes.
supported_tunnel_hash_types If in cvq, each GET command needs to return
supported_tunnel_hash_types and hash_tunnel_types,
but users may only need the hash_tunnel_types "SET" by themselves.
>
>> We don't actually need cvq and config to sync on
>> supported_tunnel_hash_types, since it doesn't need to change (meaning
>> supported_tunnel_hash_types doesn't send configuration change
>> notifications).
>>
> It doesn’t but device is expected to publish the value at two places.
Yes, but that seems like a tiny cost, and the cvq command-related
structure is much simpler.
>
>>>> +For scenarios with sufficient external entropy or no internal
>>>> hashing requirements, inner header hash may not be needed:
>>>> +A tunnel is often expected to isolate the external network from the
>>>> internal one. By completely ignoring entropy
>>>> +in the external header and replacing it with entropy from the
>>>> internal header, for hash calculations, this expectation
>>> You wanted to say inner here like rest of the places.
>>>
>>> s/internal header/inner header
>> I want to make the 'external' and 'internal' correspond, but avoid the internal
>> header, and use a unified 'inner header' is also reasonable.:)
>>
> Since in rest of other description, we refer to it as "outer", it is better to keep it consistent as outer instead of external here.
Totally agree.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next prev parent reply other threads:[~2023-04-26 14:03 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-23 7:35 [virtio-dev] [PATCH v13] virtio-net: support inner header hash Heng Qi
2023-04-25 20:28 ` [virtio-dev] " Parav Pandit
2023-04-25 21:06 ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-04-25 21:39 ` [virtio-dev] " Parav Pandit
2023-04-26 4:12 ` [virtio-dev] " Michael S. Tsirkin
2023-04-26 4:27 ` [virtio-dev] " Parav Pandit
2023-04-26 5:02 ` [virtio-dev] " Michael S. Tsirkin
2023-04-26 13:42 ` [virtio-dev] " Heng Qi
2023-04-26 13:47 ` [virtio-dev] " Parav Pandit
2023-04-26 14:03 ` Heng Qi [this message]
2023-04-26 14:24 ` [virtio-dev] RE: [virtio-comment] " Parav Pandit
2023-04-26 14:57 ` [virtio-dev] " Michael S. Tsirkin
2023-04-26 15:20 ` [virtio-dev] " Parav Pandit
2023-04-27 2:19 ` Heng Qi
2023-04-25 21:03 ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-04-26 14:14 ` Heng Qi
2023-04-26 14:48 ` Michael S. Tsirkin
2023-04-27 2:28 ` Heng Qi
2023-04-27 17:13 ` Michael S. Tsirkin
2023-05-05 13:51 ` [virtio-dev] Re: [virtio-comment] " Heng Qi
2023-05-05 14:56 ` Michael S. Tsirkin
2023-05-09 14:22 ` Heng Qi
2023-05-09 15:15 ` Michael S. Tsirkin
2023-05-10 9:15 ` [virtio-dev] Re: [virtio-comment] " Heng Qi
2023-05-11 6:22 ` Michael S. Tsirkin
2023-05-12 6:00 ` Heng Qi
2023-05-12 6:54 ` Michael S. Tsirkin
2023-05-12 7:23 ` Heng Qi
2023-05-12 11:27 ` Michael S. Tsirkin
2023-05-15 6:51 ` Heng Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d0adb7d-fcc8-404d-8105-bc1f818bc3a3@linux.alibaba.com \
--to=hengqi@linux.alibaba.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=parav@nvidia.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
--cc=xuanzhuo@linux.alibaba.com \
--cc=yuri.benditovich@daynix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox