Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Willem de Bruijn
On Mon, Dec 28, 2020 at 4:36 PM Michael S. Tsirkin wrote: > > On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Virtio-net supports sharing the flow hash from host to guest on rx. > > Do the same on transmit, to allow the host to infer connection

Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Willem de Bruijn
On Mon, Dec 28, 2020 at 12:28 PM Michael S. Tsirkin wrote: > > On Mon, Dec 28, 2020 at 11:47:45AM -0500, Willem de Bruijn wrote: > > On Mon, Dec 28, 2020 at 11:28 AM Michael S. Tsirkin wrote: > > > > > > On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > > > > From: Willem de Bru

Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Michael S. Tsirkin
On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > Virtio-net supports sharing the flow hash from host to guest on rx. > Do the same on transmit, to allow the host to infer connection state > for more robust routing and telemetry. > > Linux derives ipv

Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Michael S. Tsirkin
On Mon, Dec 28, 2020 at 11:47:45AM -0500, Willem de Bruijn wrote: > On Mon, Dec 28, 2020 at 11:28 AM Michael S. Tsirkin wrote: > > > > On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > > > From: Willem de Bruijn > > > > > > Virtio-net supports sharing the flow hash from host to

Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Willem de Bruijn
On Mon, Dec 28, 2020 at 11:28 AM Michael S. Tsirkin wrote: > > On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Virtio-net supports sharing the flow hash from host to guest on rx. > > Do the same on transmit, to allow the host to infer connectio

Re: [PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Michael S. Tsirkin
On Mon, Dec 28, 2020 at 11:22:31AM -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > Virtio-net supports sharing the flow hash from host to guest on rx. > Do the same on transmit, to allow the host to infer connection state > for more robust routing and telemetry. > > Linux derives ipv

[PATCH rfc 1/3] virtio-net: support transmit hash report

2020-12-28 Thread Willem de Bruijn
From: Willem de Bruijn Virtio-net supports sharing the flow hash from host to guest on rx. Do the same on transmit, to allow the host to infer connection state for more robust routing and telemetry. Linux derives ipv6 flowlabel and ECMP multipath from sk->sk_txhash, and updates these fields on e