[PATCH v2] virtio: add support for SIZE_MAX & SEG_MAX features

Tom Rini trini at konsulko.com
Mon Apr 27 21:42:28 CEST 2026


On Fri, 17 Apr 2026 14:03:19 +0200, Christian Pötzsch wrote:

> 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.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] virtio: add support for SIZE_MAX & SEG_MAX features
      commit: bb4142af7ed8c94b3df3e75ca9ab3ef450e80885
-- 
Tom




More information about the U-Boot mailing list