[PATCH 2/3] qemu_capabilities: Added capabilites for qemu's "rss" and "hash".

2021-12-29 Thread Andrew Melnychenko
Added qemu's property check for virtio-net. And added capability QEMU_CAPS_VIRTIO_RSS. With "rss" and "rss_hash_report" from domain config, qemu should enable "rss" and "hash" for virtio-net. If domain config contains "rss" and/or "rss_hash_report" options for driver. Libvirt will create an NIC dev

[PATCH 0/3] VirtioNet RSS support

2021-12-29 Thread Andrew Melnychenko
This series of patches add RSS property support for virtio-net-pci. Virtio RSS effectively works with TAP devices, it requires additional vectors for VirtioNet, queues for TAP device, and vCPU cores. Example of device configuration: ``` ``` Capability "rss" enables RSS, "rss_hash

[PATCH 1/3] domain_conf: Added configs for RSS and Hash report.

2021-12-29 Thread Andrew Melnychenko
Added "rss" and "rss_hash_report" configuration that should be used with qemu virtio RSS. Both options are triswitches. Used as "driver" options and affects only NIC with model type "virtio". In other patches - options should turn on virtio-net RSS and hash properties. Signed-off-by: Andrew Melnyc

[PATCH 3/3] test: Added caps, xml2argv and xml2xml tests.

2021-12-29 Thread Andrew Melnychenko
Added caps tests for qemu 5.2+. Added rss, hash and rss+hash xml2argv tests. virtio-options tests was used for xml2xml test. Signed-off-by: Andrew Melnychenko --- .../caps_5.1.0.x86_64.xml | 1 + .../caps_5.2.0.aarch64.xml| 1 + .../qemucapabilitiesdata/