summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRami Rosen <rami.rosen@intel.com>2017-10-28 06:36:53 +0300
committerThomas Monjalon <thomas@monjalon.net>2017-11-13 06:36:27 +0100
commitf88bf5a9c267bd9a327c75eac5a861e9285da803 (patch)
tree2ce9628b2fd4ca6c75265920a1520b67f328c49f
parenteae494e7b60fd9ad97ce5e05eed52a971d8247bd (diff)
downloaddpdk-draft-cli-f88bf5a9c267bd9a327c75eac5a861e9285da803.zip
dpdk-draft-cli-f88bf5a9c267bd9a327c75eac5a861e9285da803.tar.gz
dpdk-draft-cli-f88bf5a9c267bd9a327c75eac5a861e9285da803.tar.xz
doc: fix a typo in EAL guide
Fix an error in DPDK programmer's guide (EAL section): it should be rte_thread_get_affinity() instead of rte_pthread_get_affinity(). Signed-off-by: Rami Rosen <rami.rosen@intel.com> Acked-by: John McNamara <john.mcnamara@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 9e834fc..34d871c 100644
--- a/doc/guides/prog_guide/env_abstraction_layer.rst
+++ b/doc/guides/prog_guide/env_abstraction_layer.rst
@@ -309,7 +309,7 @@ All these impacts are mentioned in :ref:`known_issue_label` section.
Public Thread API
~~~~~~~~~~~~~~~~~
-There are two public APIs ``rte_thread_set_affinity()`` and ``rte_pthread_get_affinity()`` introduced for threads.
+There are two public APIs ``rte_thread_set_affinity()`` and ``rte_thread_get_affinity()`` introduced for threads.
When they're used in any pthread context, the Thread Local Storage(TLS) will be set/get.
Those TLS include *_cpuset* and *_socket_id*: