From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 710E81BB0C for ; Sat, 28 Oct 2017 05:37:50 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Oct 2017 20:37:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,307,1505804400"; d="scan'208";a="168786609" Received: from imail001.iil.intel.com ([10.184.207.12]) by fmsmga006.fm.intel.com with ESMTP; 27 Oct 2017 20:37:49 -0700 Received: from cghost.iil.intel.com (cghost.iil.intel.com [143.185.141.164]) by imail001.iil.intel.com with ESMTP id v9S3cHRc013944; Sat, 28 Oct 2017 06:38:17 +0300 From: Rami Rosen To: dev@dpdk.org Cc: Rami Rosen Date: Sat, 28 Oct 2017 06:36:53 +0300 Message-Id: <1509161813-18946-1-git-send-email-rami.rosen@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] doc: fix an error in DPDK programmers's guide (EAL) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2017 03:37:51 -0000 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 --- doc/guides/prog_guide/env_abstraction_layer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst b/doc/guides/prog_guide/env_abstraction_layer.rst index 4775eb3..462b933 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*: -- 1.9.1