Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-20 Thread Michael S. Tsirkin
On Fri, Feb 18, 2022 at 08:43:20AM -0700, Willem de Bruijn wrote: > On Thu, Feb 17, 2022 at 12:05 PM Andrew Melnichenko wrote: > > > > Hi all, > > > > On Mon, Feb 14, 2022 at 12:09 AM Willem de Bruijn > > wrote: > > > > > > > > > @@ -3113,13 +3270,14 @@ static int virtnet_probe(struct > > > > >

Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-18 Thread Willem de Bruijn
On Thu, Feb 17, 2022 at 12:05 PM Andrew Melnichenko wrote: > > Hi all, > > On Mon, Feb 14, 2022 at 12:09 AM Willem de Bruijn > wrote: > > > > > > > @@ -3113,13 +3270,14 @@ static int virtnet_probe(struct virtio_device > > > > > *vdev) > > > > > u16 max_queue_pairs; > > > > > int

Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-17 Thread Andrew Melnichenko
Hi all, On Mon, Feb 14, 2022 at 12:09 AM Willem de Bruijn wrote: > > > > > @@ -3113,13 +3270,14 @@ static int virtnet_probe(struct virtio_device > > > > *vdev) > > > > u16 max_queue_pairs; > > > > int mtu; > > > > > > > > - /* Find if host supports multiqueue virtio_net

Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-13 Thread Willem de Bruijn
> > > @@ -3113,13 +3270,14 @@ static int virtnet_probe(struct virtio_device > > > *vdev) > > > u16 max_queue_pairs; > > > int mtu; > > > > > > - /* Find if host supports multiqueue virtio_net device */ > > > - err = virtio_cread_feature(vdev, VIRTIO_NET_F_MQ, > > > -

Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-13 Thread Andrew Melnichenko
Hi all, On Tue, Feb 8, 2022 at 10:37 PM Willem de Bruijn wrote: > > On Tue, Feb 8, 2022 at 1:19 PM Andrew Melnychenko wrote: > > > > Added features for RSS. > > Added initialization, RXHASH feature and ethtool ops. > > By default RSS/RXHASH is disabled. > > Virtio RSS "IPv6 extensions" hashes

Re: [PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-08 Thread Willem de Bruijn
On Tue, Feb 8, 2022 at 1:19 PM Andrew Melnychenko wrote: > > Added features for RSS. > Added initialization, RXHASH feature and ethtool ops. > By default RSS/RXHASH is disabled. > Virtio RSS "IPv6 extensions" hashes disabled. > Added ethtools ops to set key and indirection table. > >

[PATCH v3 2/4] drivers/net/virtio_net: Added basic RSS support.

2022-02-08 Thread Andrew Melnychenko
Added features for RSS. Added initialization, RXHASH feature and ethtool ops. By default RSS/RXHASH is disabled. Virtio RSS "IPv6 extensions" hashes disabled. Added ethtools ops to set key and indirection table. Signed-off-by: Andrew Melnychenko --- drivers/net/virtio_net.c | 191