diff options
author | Yuri Benditovich <yuri.benditovich@daynix.com> | 2020-05-08 15:59:29 +0300 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2020-06-18 21:05:50 +0800 |
commit | 4474e37a5b3a616803f4570b542e8eede91e50d2 (patch) | |
tree | ee27122403e8b4e3f07b765af241c687fec84e15 /include/hw/virtio/virtio-net.h | |
parent | 590790297c0dd2c8e817c7b33daf66862b0ee8ef (diff) | |
download | qemu-4474e37a5b3a616803f4570b542e8eede91e50d2.zip qemu-4474e37a5b3a616803f4570b542e8eede91e50d2.tar.gz qemu-4474e37a5b3a616803f4570b542e8eede91e50d2.tar.bz2 |
virtio-net: implement RX RSS processing
If VIRTIO_NET_F_RSS negotiated and RSS is enabled, process
incoming packets, calculate packet's hash and place the
packet into respective RX virtqueue.
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
-rw-r--r-- | include/hw/virtio/virtio-net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index d3fad7c..5081f3c 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -212,6 +212,7 @@ struct VirtIONet { DeviceListener primary_listener; Notifier migration_state; VirtioNetRssData rss_data; + struct NetRxPkt *rx_pkt; }; void virtio_net_set_netclient_name(VirtIONet *n, const char *name, |