diff options
| author | Christian Pötzsch <[email protected]> | 2026-04-17 14:03:19 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-27 11:11:54 -0600 |
| commit | bb4142af7ed8c94b3df3e75ca9ab3ef450e80885 (patch) | |
| tree | 60677a5b7a0c5a4dd6284fa8a936b31c981eac93 /scripts/basic/fixdep.c | |
| parent | 6ab5b5d2804b00d3253d09c6d8f829d918d2ed1c (diff) | |
virtio: add support for SIZE_MAX & SEG_MAX features
Some virtio implementations may forward the virtio requests directly to
the underlying hw. The hw may have some restrictions in how many and how
big the requests can be. Therefore, the corresponding virtio device will
announce this limitations with the SIZE_MAX & SEG_MAX feature.
Add support for those features. Split an io request into multiple virtio
requests if more than seg_max segments would be used. Also split a
single buffer request into multiple segments if the buffer is bigger
then size_max.
Signed-off-by: Christian Pötzsch <[email protected]>
Signed-off-by: Adam Lackorzynski <[email protected]>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions
