diff options
author | Yuri Benditovich | 2020-05-08 14:59:31 +0200 |
---|---|---|
committer | Jason Wang | 2020-06-18 15:05:50 +0200 |
commit | e22f0603fb2fc274920a9e3a1d1306260b9a4cc4 (patch) | |
tree | 32287a99a110e01988a9fad3ba6ad31424d5ba41 /include/migration | |
parent | tap: allow extended virtio header with hash info (diff) | |
download | qemu-e22f0603fb2fc274920a9e3a1d1306260b9a4cc4.tar.gz qemu-e22f0603fb2fc274920a9e3a1d1306260b9a4cc4.tar.xz qemu-e22f0603fb2fc274920a9e3a1d1306260b9a4cc4.zip |
virtio-net: reference implementation of hash report
Suggest VIRTIO_NET_F_HASH_REPORT if specified in device
parameters.
If the VIRTIO_NET_F_HASH_REPORT is set,
the device extends configuration space. If the feature
is negotiated, the packet layout is extended to
accomodate the hash information. In this case deliver
packet's hash value and report type in virtio header
extension.
Use for configuration the same procedure as already
used for RSS. We add two fields in rss_data that
controls what the device does with the calculated hash
if rss_data.enabled is set. If field 'populate' is set
the hash is set in the packet, if field 'redirect' is
set the hash is used to decide the queue to place the
packet to.
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/migration')
0 files changed, 0 insertions, 0 deletions