virtio_ring: fix typos in vring_desc_extra
We're actually tracking descriptor address and length instead of the buffer. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20211019070152.8236-7-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
080cd7c3ac
commit
ef5c366fea
@ -79,8 +79,8 @@ struct vring_desc_state_packed {
|
||||
};
|
||||
|
||||
struct vring_desc_extra {
|
||||
dma_addr_t addr; /* Buffer DMA addr. */
|
||||
u32 len; /* Buffer length. */
|
||||
dma_addr_t addr; /* Descriptor DMA addr. */
|
||||
u32 len; /* Descriptor length. */
|
||||
u16 flags; /* Descriptor flags. */
|
||||
u16 next; /* The next desc state in a list. */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user