[dpdk-dev] [PATCH v4 3/6] bus: introduce device level DMA memory mapping
Burakov, Anatoly
anatoly.burakov at intel.com
Wed Mar 13 12:47:29 CET 2019
On 13-Mar-19 11:19 AM, Thomas Monjalon wrote:
> 13/03/2019 12:12, Shahaf Shuler:
>> From: Thomas Monjalon <thomas at monjalon.net>
>>>> +/**
>>>> + * Device level DMA map function.
>>>> + * After a successful call, the memory segment will be mapped to the
>>>> + * given device.
>>>> + *
>>>> + * @note: Memory must be registered in advance using rte_extmem_*
>>> APIs.
>>>
>>> Could we make more explicit that this function is part of the "external
>>> memory API"?
>>
>> How do you suggest?
>
> There could be an explicit comment.
>
>> This function belongs to rte_dev therefore the rte_dev prefix. better rte_dev_extmem_dma_map ?
>
> Not sure about the prefix. Anatoly?
>
IMO this is a dev API. The fact that its purpose is to use it with
extmem is coincidental.
--
Thanks,
Anatoly
More information about the dev
mailing list