There's no reason to expose struct vring_packed in UAPI - if we do we won't be able to change or drop it, and it's not part of any interface. Let's move it to virtio_ring.c
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -213,14 +213,4 @@ struct vring_packed_desc { · 212 unmodified lines | ||
| 213 | 213 | __le16 flags; |
| 214 | 214 | }; |
| 215 | 215 | |
| 216 | −struct vring_packed { | |
| 217 | − unsigned int num; | |
| 218 | − | |
| 219 | − struct vring_packed_desc *desc; | |
| 220 | − | |
| 221 | − struct vring_packed_desc_event *driver; | |
| 222 | − | |
| 223 | − struct vring_packed_desc_event *device; | |
| 224 | −}; | |
| 225 | − | |
| 226 | 216 | #endif /* _UAPI_LINUX_VIRTIO_RING_H */ |