Re: Enabling peer to peer device transactions for PCIe devices

From: Serguei Sagalovitch
Date: Thu Jan 05 2017 - 19:41:54 EST


On 2017-01-05 07:30 PM, Jason Gunthorpe wrote:
........ but I am opposed to
the idea we need two API paths that the *driver* has to figure out.
That is fundamentally not what I want as a driver developer.

Give me a common API to convert '__user *' to a scatter list and pin
the pages.
Completely agreed. IMHO there is no sense to duplicate the same logic
everywhere as well as trying to find places where it is missing.

Sincerely yours,
Serguei Sagalovitch