[virtio-dev] Re: [PATCH v12] virtio-net: support inner header hash

2023-04-12 Thread Jason Wang
在 2023/4/3 12:58, Heng Qi 写道: 1. Currently, a received encapsulated packet has an outer and an inner header, but the virtio device is unable to calculate the hash for the inner header. The same flow can traverse through different tunnels, resulting in the encapsulated packets being spread acro

[virtio-dev] Re: [PATCH v12] virtio-net: support inner header hash

2023-04-11 Thread Parav Pandit
On 4/11/2023 11:05 PM, Heng Qi wrote: NOTE: We only have two modes now. The mode is not equal to the command. We can add VIRTIO_NET_CTRL_MQ_TUNNEL_CONFIG for commands, but there are still only two modes: " This specification defines the following modes that a device MAY implement for operat

[virtio-dev] Re: [PATCH v12] virtio-net: support inner header hash

2023-04-11 Thread Heng Qi
在 2023/4/12 上午5:03, Parav Pandit 写道: On 4/3/2023 12:58 AM, Heng Qi wrote: To achieve this, the device can calculate a suitable hash based on the inner headers of this flow, for example using the Toeplitz combined with a symmetric hash key. I am not sure you need symmetric hash key. Toep

[virtio-dev] Re: [PATCH v12] virtio-net: support inner header hash

2023-04-11 Thread Parav Pandit
On 4/3/2023 12:58 AM, Heng Qi wrote: To achieve this, the device can calculate a suitable hash based on the inner headers of this flow, for example using the Toeplitz combined with a symmetric hash key. I am not sure you need symmetric hash key. Toeplitz with symmetric hashing without the