Re: [PATCH v5 21/21] doc: add external memory feature to programmer's guide
From: Burakov, Anatoly <hidden>
Date: 2018-09-26 16:01:12
On 26-Sep-18 4:19 PM, Kovacevic, Marko wrote:
quoted
Add a short chapter on usage of external memory in DPDK to the Programmer's Guide. Signed-off-by: Anatoly Burakov <redacted> --- .../prog_guide/env_abstraction_layer.rst | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+)quoted
+The expected workflow is as follows: + +* Get a pointer to memory area +* Create a named heap +* Add memory area(s) to the heap + * If IOVA table is not specified, IOVA addresses will be assumed to be + unavailable, and DMA mappings will not be performed + * Other processes must attach to the memory area before they can use +it +* Get socket ID used for the heap +* Use normal DPDK allocation procedures, using supplied socket ID +* If memory area is no longer needed, it can be removed from the heap + * Other processes must detach from this memory area before it can be +removed +* If heap is no longer needed, remove it + * Socket ID will become invalid and will not be reusedHi Anatoly, Im getting an error when doing make-doc-guides-html /dpdk/doc/guides/prog_guide/env_abstraction_layer.rst:241: WARNING: Unexpected indentation. /dpdk/doc/guides/prog_guide/env_abstraction_layer.rst:242: WARNING: Block quote ends without a blank line; unexpected unindent. This is due to the indentation of your inner bullet points instead of two spaces put 4 For all four that you have. Thanks, Marko K
Hi Marko, Those are supposed to be sub-bullet points, i.e. 2nd level. Does it have to be six? -- Thanks, Anatoly