On 10/28/25 15:05, Jason Gunthorpe wrote: > On Tue, Oct 28, 2025 at 02:58:57PM +0100, Christian König wrote: > >> Some kind of iterator like interface would be preferred where you >> have first and next callbacks. > > That's what I thought you were asking for.. > > Are you sure that is what you want? It will make mapping of fragments > alot slower..
Well the first function should have a start parameter and both return offset and length. Alternatively we could come up with some container, but yeah then we would need to convert into the container format again. > >> Additional to that I'm not sure if the "interconnect" is a good >> naming, essentially we want to use the new mapping functions to >> replace the sg_table as well. > > 'mapping type' ? +1 Christian.> > Jason
