summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoly Burakov <anatoly.burakov@intel.com>2019-11-21 12:39:23 +0000
committerDavid Marchand <david.marchand@redhat.com>2019-11-26 17:44:09 +0100
commitebf9c7b1db2fbc09f87eed4cf8486239786fcad1 (patch)
treef9eb740fcc06e8a43d963fdbdad06db042e45568
parentf433878a4fa53011a5027da76989a601717daee1 (diff)
downloaddpdk-ebf9c7b1db2fbc09f87eed4cf8486239786fcad1.zip
dpdk-ebf9c7b1db2fbc09f87eed4cf8486239786fcad1.tar.gz
dpdk-ebf9c7b1db2fbc09f87eed4cf8486239786fcad1.tar.xz
doc: fix a typo in EAL guide
The correct name for virt2memseg API is `rte_mem_virt2memseg`, not `rte_virt2memseg`. Fixes: 950e8fb4e194 ("mem: allow registering external memory areas") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
-rw-r--r--doc/guides/prog_guide/env_abstraction_layer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst b/doc/guides/prog_guide/env_abstraction_layer.rst
index 6e7c208..48a2fec 100644
--- a/doc/guides/prog_guide/env_abstraction_layer.rst
+++ b/doc/guides/prog_guide/env_abstraction_layer.rst
@@ -297,7 +297,7 @@ set of API's under the ``rte_extmem_*`` namespace.
These API's are (as their name implies) intended to allow registering or
unregistering externally allocated memory to/from DPDK's internal page table, to
-allow API's like ``rte_virt2memseg`` etc. to work with externally allocated
+allow API's like ``rte_mem_virt2memseg`` etc. to work with externally allocated
memory. Memory added this way will not be available for any regular DPDK
allocators; DPDK will leave this memory for the user application to manage.