linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] RSS support for VirtioNet.
@ 2022-01-17  8:00 Andrew Melnychenko
  2022-01-17  8:00 ` [PATCH v2 1/4] drivers/net/virtio_net: Fixed padded vheader to use v1 with hash Andrew Melnychenko
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andrew Melnychenko @ 2022-01-17  8:00 UTC (permalink / raw)
  To: netdev, virtualization, linux-kernel, davem, kuba, jasowang, mst
  Cc: yan, yuri.benditovich

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 v1:
* refactored virtnet_set_hashflow
* refactored virtio_net_ctrl_rss
* moved hunks between patches a bit

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 | 383 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 370 insertions(+), 13 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-27  8:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17  8:00 [PATCH v2 0/4] RSS support for VirtioNet Andrew Melnychenko
2022-01-17  8:00 ` [PATCH v2 1/4] drivers/net/virtio_net: Fixed padded vheader to use v1 with hash Andrew Melnychenko
2022-01-27  7:47   ` Jason Wang
2022-01-17  8:00 ` [PATCH v2 2/4] drivers/net/virtio_net: Added basic RSS support Andrew Melnychenko
2022-01-27  7:57   ` Jason Wang
2022-01-17  8:00 ` [PATCH v2 3/4] drivers/net/virtio_net: Added RSS hash report Andrew Melnychenko
2022-01-27  8:11   ` Jason Wang
2022-01-17  8:00 ` [PATCH v2 4/4] drivers/net/virtio_net: Added RSS hash report control Andrew Melnychenko
2022-01-27  8:26   ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).