Re: [PATCH RFC v3 0/9] tun: Introduce virtio-net hashing feature

2024-09-23 Thread Akihiko Odaki
On 2024/09/15 21:48, Stephen Hemminger wrote: On Sun, 15 Sep 2024 10:17:39 +0900 Akihiko Odaki wrote: virtio-net have two usage of hashes: one is RSS and another is hash reporting. Conventionally the hash calculation was done by the VMM. However, computing the hash after the queue was chosen d

Re: [PATCH RFC v3 2/9] virtio_net: Add functions for hashing

2024-09-23 Thread Akihiko Odaki
On 2024/09/18 14:50, Willem de Bruijn wrote: Akihiko Odaki wrote: They are useful to implement VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Signed-off-by: Akihiko Odaki --- include/linux/virtio_net.h | 198 + 1 file changed, 198 insertions(+) d

Re: [PATCH RFC v3 6/9] tun: Introduce virtio-net hash reporting feature

2024-09-23 Thread Akihiko Odaki
On 2024/09/18 15:17, Willem de Bruijn wrote: Akihiko Odaki wrote: Allow the guest to reuse the hash value to make receive steering consistent between the host and guest, and to save hash computation. Signed-off-by: Akihiko Odaki --- Documentation/networking/tuntap.rst | 7 ++ drivers/net/