On Fri, Feb 25, 2022 at 10:28:54PM +0800, Tianyu Lan wrote: > One more perspective is that one device may have multiple queues and > each queues should have independent swiotlb bounce buffer to avoid spin > lock overhead. The number of queues is only available in the device > driver. This means new API needs to be called in the device driver > according to queue number. Well, given how hell bent people are on bounce buffering we might need some scalability work there anyway.