aboutsummaryrefslogtreecommitdiff
path: root/scripts/layoutrom.py
diff options
context:
space:
mode:
authorAlexander Graf <graf@amazon.com>2020-09-30 23:10:56 +0200
committerKevin O'Connor <kevin@koconnor.net>2020-10-28 15:18:29 -0400
commit94f0510dc75e910400aad6c169048d672c8c7193 (patch)
tree374a3cf84ce23655d10ac026df5bd520ac73742d /scripts/layoutrom.py
parent01f2736cc905df7abfe4a4160d986b49eb607e7a (diff)
downloadseabios-94f0510dc75e910400aad6c169048d672c8c7193.zip
seabios-94f0510dc75e910400aad6c169048d672c8c7193.tar.gz
seabios-94f0510dc75e910400aad6c169048d672c8c7193.tar.bz2
nvme: Split requests by maximum allowed size
Some NVMe controllers only support small maximum request sizes, such as the AWS EBS NVMe implementation which only supports NVMe requests of up to 32 pages (256kb) at once. BIOS callers can exceed those request sizes by defining sector counts above this threshold. Currently we fall back to the bounce buffer implementation for those. This is slow. This patch introduces splitting logic to the NVMe I/O request code so that every NVMe I/O request gets handled in a chunk size that is consumable by the NVMe adapter, while maintaining the fast path PRPL logic we just introduced. Signed-off-by: Alexander Graf <graf@amazon.com>
Diffstat (limited to 'scripts/layoutrom.py')
0 files changed, 0 insertions, 0 deletions