From: Andrew Melnychenko <andrew@daynix.com> To: netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, jasowang@redhat.com, mst@redhat.com Cc: yan@daynix.com, yuri.benditovich@daynix.com Subject: [PATCH 0/4] RSS support for VirtioNet. Date: Sun, 9 Jan 2022 23:06:55 +0200 [thread overview] Message-ID: <20220109210659.2866740-1-andrew@daynix.com> (raw) Virtio-net supports "hardware" RSS with toeplitz key. Also, it allows receiving calculated hash in vheader that may be used with RPS. Added ethtools callbacks to manipulate RSS. Technically hash calculation may be set only for SRC+DST and SRC+DST+PORTSRC+PORTDST hashflows. The completely disabling hash calculation for TCP or UDP would disable hash calculation for IP. RSS/RXHASH is disabled by default. Changes since rfc: * code refactored * patches reformatted * added feature validation Andrew Melnychenko (4): drivers/net/virtio_net: Fixed padded vheader to use v1 with hash. drivers/net/virtio_net: Added basic RSS support. drivers/net/virtio_net: Added RSS hash report. drivers/net/virtio_net: Added RSS hash report control. drivers/net/virtio_net.c | 404 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 390 insertions(+), 14 deletions(-) -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Melnychenko <andrew@daynix.com> To: netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, jasowang@redhat.com, mst@redhat.com Cc: yan@daynix.com, yuri.benditovich@daynix.com Subject: [PATCH 0/4] RSS support for VirtioNet. Date: Sun, 9 Jan 2022 23:06:55 +0200 [thread overview] Message-ID: <20220109210659.2866740-1-andrew@daynix.com> (raw) Virtio-net supports "hardware" RSS with toeplitz key. Also, it allows receiving calculated hash in vheader that may be used with RPS. Added ethtools callbacks to manipulate RSS. Technically hash calculation may be set only for SRC+DST and SRC+DST+PORTSRC+PORTDST hashflows. The completely disabling hash calculation for TCP or UDP would disable hash calculation for IP. RSS/RXHASH is disabled by default. Changes since rfc: * code refactored * patches reformatted * added feature validation Andrew Melnychenko (4): drivers/net/virtio_net: Fixed padded vheader to use v1 with hash. drivers/net/virtio_net: Added basic RSS support. drivers/net/virtio_net: Added RSS hash report. drivers/net/virtio_net: Added RSS hash report control. drivers/net/virtio_net.c | 404 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 390 insertions(+), 14 deletions(-) -- 2.34.1 _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization
next reply other threads:[~2022-01-09 21:07 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-09 21:06 Andrew Melnychenko [this message] 2022-01-09 21:06 ` [PATCH 0/4] RSS support for VirtioNet Andrew Melnychenko 2022-01-09 21:06 ` [PATCH 1/4] drivers/net/virtio_net: Fixed padded vheader to use v1 with hash Andrew Melnychenko 2022-01-09 21:06 ` Andrew Melnychenko 2022-01-09 22:21 ` Jakub Kicinski 2022-01-09 21:06 ` [PATCH 2/4] drivers/net/virtio_net: Added basic RSS support Andrew Melnychenko 2022-01-09 21:06 ` Andrew Melnychenko 2022-01-11 3:44 ` Jason Wang 2022-01-11 3:44 ` Jason Wang 2022-01-11 12:00 ` Michael S. Tsirkin 2022-01-11 12:00 ` Michael S. Tsirkin 2022-01-17 7:49 ` Andrew Melnichenko 2022-01-17 7:49 ` Andrew Melnichenko 2022-01-09 21:06 ` [PATCH 3/4] drivers/net/virtio_net: Added RSS hash report Andrew Melnychenko 2022-01-09 21:06 ` Andrew Melnychenko 2022-01-11 4:05 ` Jason Wang 2022-01-11 4:05 ` Jason Wang 2022-01-17 7:57 ` Andrew Melnichenko 2022-01-17 7:57 ` Andrew Melnichenko 2022-01-09 21:06 ` [PATCH 4/4] drivers/net/virtio_net: Added RSS hash report control Andrew Melnychenko 2022-01-09 21:06 ` Andrew Melnychenko 2022-01-11 4:32 ` Jason Wang 2022-01-11 4:32 ` Jason Wang 2022-01-17 7:58 ` Andrew Melnichenko 2022-01-17 7:58 ` Andrew Melnichenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220109210659.2866740-1-andrew@daynix.com \ --to=andrew@daynix.com \ --cc=davem@davemloft.net \ --cc=jasowang@redhat.com \ --cc=kuba@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mst@redhat.com \ --cc=netdev@vger.kernel.org \ --cc=virtualization@lists.linux-foundation.org \ --cc=yan@daynix.com \ --cc=yuri.benditovich@daynix.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.