RE: [PATCH v5 2/2] virtio-net: use mtu size as buffer length for big packets
From: Parav Pandit <hidden>
Date: 2022-09-07 14:34:23
Also in:
virtualization
From: Parav Pandit <hidden>
Date: 2022-09-07 14:34:23
Also in:
virtualization
From: Michael S. Tsirkin <mst@redhat.com> Sent: Wednesday, September 7, 2022 10:30 AM
[..]
quoted
quoted
actually how does this waste space? Is this because your device does not have INDIRECT?VQ is 256 entries deep. Driver posted total of 256 descriptors. Each descriptor points to a page of 4K. These descriptors are chained as 4K * 16.So without indirect then? with indirect each descriptor can point to 16 entries.
With indirect, can it post 256 * 16 size buffers even though vq depth is 256 entries? I recall that total number of descriptors with direct/indirect descriptors is limited to vq depth. Was there some recent clarification occurred in the spec to clarify this?