doc: fix a typo in EAL guide
authorRami Rosen <rami.rosen@intel.com>
Sat, 28 Oct 2017 03:36:53 +0000 (06:36 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 13 Nov 2017 05:36:27 +0000 (06:36 +0100)
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>
doc/guides/prog_guide/env_abstraction_layer.rst

index 9e834fc..34d871c 100644 (file)
@@ -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*: