Re: [PATCH net-next v9 1/6] virtio_net: Add functions for hashing

2025-03-09 Thread Akihiko Odaki
On 2025/03/10 12:55, Jason Wang wrote: On Fri, Mar 7, 2025 at 7:01 PM Akihiko Odaki wrote: They are useful to implement VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Signed-off-by: Akihiko Odaki Tested-by: Lei Yang --- include/linux/virtio_net.h | 188

Re: [PATCH net-next v9 6/6] vhost/net: Support VIRTIO_NET_F_HASH_REPORT

2025-03-09 Thread Jason Wang
On Fri, Mar 7, 2025 at 7:02 PM Akihiko Odaki wrote: > > VIRTIO_NET_F_HASH_REPORT allows to report hash values calculated on the > host. When VHOST_NET_F_VIRTIO_NET_HDR is employed, it will report no > hash values (i.e., the hash_report member is always set to > VIRTIO_NET_HASH_REPORT_NONE). Otherw

Re: [PATCH net-next v9 5/6] selftest: tun: Add tests for virtio-net hashing

2025-03-09 Thread Jason Wang
On Fri, Mar 7, 2025 at 7:02 PM Akihiko Odaki wrote: > > The added tests confirm tun can perform RSS and hash reporting, and > reject invalid configurations for them. Let's be more verbose here. E.g what's the network topology used here. > > Signed-off-by: Akihiko Odaki > Tested-by: Lei Yang >

Re: [PATCH net-next v9 3/6] tun: Introduce virtio-net hash feature

2025-03-09 Thread Jason Wang
On Mon, Mar 10, 2025 at 11:55 AM Jason Wang wrote: > > On Fri, Mar 7, 2025 at 7:01 PM Akihiko Odaki wrote: > > > > Hash reporting > > == > > > > Allow the guest to reuse the hash value to make receive steering > > consistent between the host and guest, and to save hash computation. >

Re: [PATCH net-next v9 1/6] virtio_net: Add functions for hashing

2025-03-09 Thread Jason Wang
On Fri, Mar 7, 2025 at 7:01 PM Akihiko Odaki wrote: > > They are useful to implement VIRTIO_NET_F_RSS and > VIRTIO_NET_F_HASH_REPORT. > > Signed-off-by: Akihiko Odaki > Tested-by: Lei Yang > --- > include/linux/virtio_net.h | 188 > + > 1 file change

Re: [PATCH net-next v9 3/6] tun: Introduce virtio-net hash feature

2025-03-09 Thread Jason Wang
On Fri, Mar 7, 2025 at 7:01 PM Akihiko Odaki wrote: > > Hash reporting > == > > Allow the guest to reuse the hash value to make receive steering > consistent between the host and guest, and to save hash computation. > > RSS > === > > RSS is a receive steering algorithm that can be nego

Re: [PATCH v5 1/3] printf: convert self-test to KUnit

2025-03-09 Thread Tamir Duberstein
On Thu, Mar 6, 2025 at 7:25 AM Petr Mladek wrote: > > On Fri 2025-02-21 15:34:30, Tamir Duberstein wrote: > > Convert the printf() self-test to a KUnit test. > > > > In the interest of keeping the patch reasonably-sized this doesn't > > refactor the tests into proper parameterized tests - it's all