Re: Enabling peer to peer device transactions for PCIe devices

Serguei Sagalovitch
2017-01-06T00:41:26Z

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