On Tue, Oct 27, 2026 at 01:07:36PM +0100, Christian König wrote:
On 10/26/26 06:36, Alistair Popple wrote:
From: Jason Gunthorpe jgg@nvidia.com
This attach function always creates a SGT mapping type importer.
Yeah that is a clear NO-GO. The attachment should be the same for the new interface as well.
Not sure I understand this comment...
This was intended as a helper so that existing drivers can run through the sgt based mapping type flow without having to open code it. It is hardwired to only do sgt like this. If you want to use more than sgt as your mapping type don't use this function
The point was to create a clear distinction in the API names when things were in a SGT-only flow vs using the newer negotiable flow.
Signed-off-by: Jason Gunthorpe jgg@nvidia.com
Alistair since you rebased it you should put your SOB on every patch...
Regards, Jason