RFC Lift restriction about VDUSE net devices with CVQ
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 47 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio_net: timeout control virtqueue commandsdrivers/ | +10 | 43 replies | |
| 2/2 | vduse: lift restriction about net devices with CVQdrivers/ | +0 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] Lift restriction about VDUSE net devices with CVQ
An userland device implemented through VDUSE could take rtnl forever if the virtio-net driver is running on top of virtio_vdpa. Let's break the device if it does not return the buffer in a longer-than-assumible timeout.
A less agressive path can be taken to recover the device, like only resetting the control virtqueue. However, the state of the device after this action is taken races, as the vq could be reset after the device writes the OK. Leaving TODO anyway.
Eugenio Pérez (2):
virtio_net: timeout control virtqueue commands
vduse: lift restriction about net devices with CVQ
drivers/net/virtio_net.c | 10 ++++++++++ drivers/vdpa/vdpa_user/vduse_dev.c | 3 --- 2 files changed, 10 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0