]> git.proxmox.com Git - mirror_qemu.git/commit - net/vhost-vdpa.c
vdpa: Add vhost_vdpa_net_load_offloads()
authorHawkins Jiawei <yin31149@gmail.com>
Fri, 2 Jun 2023 11:52:17 +0000 (19:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Jun 2023 13:50:00 +0000 (09:50 -0400)
commit0b58d3686a07f505d02edc28cfaf272a4768481c
treebd98368be1686a19766c4bd2bcb169da6df83218
parent0b545b1e42fc61f64071c7dd6f3ce1650f328007
vdpa: Add vhost_vdpa_net_load_offloads()

This patch introduces vhost_vdpa_net_load_offloads() to
restore offloads state at device's startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <7e2b5cad9c48c917df53d80dec27dbfeb513e1a3.1685704856.git.yin31149@gmail.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Tested-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c