RFC VIRTIO_NET_F_CTRL_GUEST_OFFLOADS vDPA Shadow VirtQueue implementation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | virtio_net: export virtio_net_guest_offloads_by_featureshw/ include/ | +2 | 0 replies | |
| 2/3 | vdpa: load guest offloads at device startnet/ | +29 | 0 replies | |
| 3/3 | vdpa: add VIRTIO_NET_F_CTRL_GUEST_OFFLOADS to SVQ featuresnet/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] VIRTIO_NET_F_CTRL_GUEST_OFFLOADS vDPA Shadow VirtQueue implementation
This feature allows the driver to send control commands for dynamic offloads state configuration.
When a guest is migrated the destination device needs to be restored with the same offloads. As other features configurable via CVQ, intercept the control messages, update the device model and load that configuration at device restore.
Only tested with modified vdpa_sim_net. Comments are welcome.
Eugenio Pérez (3):
virtio_net: export virtio_net_guest_offloads_by_features
vdpa: load guest offloads at device start
vdpa: add VIRTIO_NET_F_CTRL_GUEST_OFFLOADS to SVQ features
include/hw/virtio/virtio-net.h | 1 + hw/net/virtio-net.c | 2 +- net/vhost-vdpa.c | 32 ++++++++++++++++++++++++++++++-- 3 files changed, 32 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1