diff options
author | Laszlo Ersek <lersek@redhat.com> | 2020-12-16 22:10:42 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-21 17:16:23 +0000 |
commit | 6578cacb4654b0673194c4771f3ed793e7c09f31 (patch) | |
tree | 7c95c37dd5914f25b82d97d55dc60bd556cb634e /.gitignore | |
parent | eaa7115d60e9a2f56ead85275870700edf852ed2 (diff) | |
download | edk2-6578cacb4654b0673194c4771f3ed793e7c09f31.zip edk2-6578cacb4654b0673194c4771f3ed793e7c09f31.tar.gz edk2-6578cacb4654b0673194c4771f3ed793e7c09f31.tar.bz2 |
OvmfPkg/VirtioFsDxe: add a scatter-gather list data type
In preparation for the variously structured FUSE request/response
exchanges that virtio-fs uses, introduce a scatter-gather list data type.
This will let us express FUSE request-response pairs flexibly.
Add a function for validating whether a (request buffer list, response
buffer list) pair is well-formed, and supported by the Virtio Filesystem
device's queue depth.
Add another function for mapping and submitting a validated pair of
scatter-gather lists to the Virtio Filesystem device.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3097
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20201216211125.19496-6-lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
[lersek@redhat.com: suppress useless VS2019 warning about signed/unsigned
comparison in VirtioFsSgListsValidate()]
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions