From patchwork Sat Oct 28 03:36:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rami Rosen X-Patchwork-Id: 31009 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D78C1BB22; Sat, 28 Oct 2017 05:37:53 +0200 (CEST) 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: John McNamara --- 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*: