From patchwork Fri Jun 5 22:58:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 70908 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C2CAA0350; Sat, 6 Jun 2020 01:02:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2231B1D65A; Sat, 6 Jun 2020 00:59:29 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by dpdk.org (Postfix) with ESMTP id 663561D666 for ; Sat, 6 Jun 2020 00:59:26 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id x22so5641011pfn.3 for ; Fri, 05 Jun 2020 15:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JC/yXr/kjpdZ89wjQ525wv9Hf2qxUo78XSVSDD6dE3g=; b=rVd7yBmViRnZ88xalTmsrfV3qXaynBUWKIpmzbN9ebCP+akK1lxUlgkv8AqTykm0nj DgwRIM/+sZewrq2usiHeKJf9YU3TP8Tes6J1u18HIzvQ0ON7RUtrApg4X34k7TqmpujH zLxKuf7axnTfH+EmLMg92z8G5EVP32DJNdvYbj03Sj18q0fooi50Wfj5sKmIdpJ8Dyd5 imKUoOk9yfbJQhLa/BG50qHe9BTwvHZjR3yPXrhb7Z7AZYEQe9LrJeIlUvX/gcvi+mnY RCYu48I9Cex/cOw1Sh3Puo1B0/tzmZ2FfJ4EA5YhGpSL69Kde87o3VpYrb0Easz+4+Qh ixpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JC/yXr/kjpdZ89wjQ525wv9Hf2qxUo78XSVSDD6dE3g=; b=ngr0GkxjoOUCltCtRSvi4V8tHNKmGJFC9BrXfQmhhZGdC6ZFHz6IsrL4Bl3SCbg/lD wR3YVDG9OrwMeBmQqi1h5+/lQ9wMJBTM06npVpIhNkHzLvzCep1REVJ9WGhgtWwJ223G nE1knS8qzjVbG2wrB4K8BPsywiChpxlkOSNR+Y/IoY0XwSOC2lRoP6/hE57QScM8sJoE sfVPClvCEnLtnO40IIga38/U62mHI370Twi3tJKjeGHGqr8XQZhnJOoIqAKjRVpdI5fw 1qEstst8NJPa5GlFCYe9WJAssiBJvhD0Y95ik4xCBrsv2DwFZz6yShR7pB7iFCS5sWPZ Gb3Q== X-Gm-Message-State: AOAM533CpcGtvKVBc60TiKEElPRe3XaKd8pE9eaeSN3zbFx5m8a3U72M 7x+uhIbGvlisdy9eX9P2rQOzR3Brhrg= X-Google-Smtp-Source: ABdhPJypMgKy85NjW6+QLY2Oer6eztBgk4q6QHeqFUJ43W9K2ZT5Yj6MGLkhiIPA+MSoDTywJOOpXA== X-Received: by 2002:a62:168d:: with SMTP id 135mr11172041pfw.239.1591397965466; Fri, 05 Jun 2020 15:59:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j186sm543121pfb.220.2020.06.05.15.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 15:59:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , bernard.iremonger@intel.com Date: Fri, 5 Jun 2020 15:58:06 -0700 Message-Id: <20200605225811.26342-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605225811.26342-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200605225811.26342-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [RFC v2 21/26] doc: fix incorrect reference to master process 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" Correct terminolgy here is primary process. This is a bug in original doc. Fixes: fc1f2750a3ec ("doc: programmers guide") Cc: bernard.iremonger@intel.com Signed-off-by: Stephen Hemminger --- doc/guides/prog_guide/thread_safety_dpdk_functions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst index 0f539db2b869..5618e25e47fb 100644 --- a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst +++ b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst @@ -61,8 +61,8 @@ rather than subsequently in the forwarding threads. However, the DPDK performs checks to ensure that libraries are only initialized once. If initialization is attempted more than once, an error is returned. -In the multi-process case, the configuration information of shared memory will only be initialized by the master process. -Thereafter, both master and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones. +In the multi-process case, the configuration information of shared memory will only be initialized by the primary process. +Thereafter, both primary and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones. Interrupt Thread ----------------