From patchwork Wed Jul 1 20:23:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 72685 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 96F66A0350; Wed, 1 Jul 2020 22:27:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C59CB1D584; Wed, 1 Jul 2020 22:24:38 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by dpdk.org (Postfix) with ESMTP id 7FE831D455 for ; Wed, 1 Jul 2020 22:24:37 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id 35so10359538ple.0 for ; Wed, 01 Jul 2020 13:24:37 -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=zDvZas3prraiysL3KfwkKwT3fmUyLu3IYSomFMBZGRxMiaNh+O1eBISboCDaMfEKNI 5zUOgqqTFrXffZvIab/JsVs1OCvGb7gyH4O/EzonXNlO2qN6DQ1KNU7BHeyVp8HqZUUv zIeH8rAyR4parb86AO5OA3HBeFt3R0eRAuhUOKLrN8vb7tbc4zVoDEYUlAd5S6a6enf2 ommnGFDYwyhnCixvxLCfFCV4uNZ0xIE+A+ikRhtyXfGm0McoNXy/9zqPoaji0VsOn9bj 1msNIVUQR+IrMVsR0PpmCaq0Ohx8mWfNZQO9SUenl90VX1Ji5DNiwK71q6zG5orpJ7Uf aa6Q== 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=lkRr3wQoJlQOYpkwX3W8Erb6VFs2Yb417XthertZj6rpN5Wq8iuppktI8rHmQMWwSl GDIlZQI1IkWggb6QziB8ulnV2FS+0AYI5NM6Ru1+KeKaIKHnQ5mTS3QrZabehOKONt8p 8L0TjHXpF5ouEuuagU/FPjGId2SzQenlARSx6vmKsv2iZ1ksYFazOvYOYD8/O3VtOPDy trqz647ga6/5ZdyziItYMnPML92kZte5FXNq8xu73C5PnAxATxCIIAVAzpjxaUD8anN9 32uFwbjB8Ax43kavSG/s8JytccIyf3J82Ue3ej0BDzBr0+FaZRTUi3RqkJY4c/p+wWNk TZzg== X-Gm-Message-State: AOAM5338QqAw39MuO3uwGB2R4VSB9IllUfIn31+ZjfjWdbFNEHgiMVMl yytH7o3Rm/BKXkp0MBjuLaBV+HKm6vk= X-Google-Smtp-Source: ABdhPJwb+dxoWyTcI/JeZix/SOKA6SY2LfOozpxr/eZ+r3zNJW13AkPL0LGEfLAFKrCSV+j5lzt+Wg== X-Received: by 2002:a17:902:9346:: with SMTP id g6mr21684093plp.77.1593635076187; Wed, 01 Jul 2020 13:24:36 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g8sm6584803pgr.70.2020.07.01.13.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 13:24:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , bernard.iremonger@intel.com Date: Wed, 1 Jul 2020 13:23:53 -0700 Message-Id: <20200701202359.17006-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200701202359.17006-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200701202359.17006-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v4 21/27] 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 Acked-by: Anatoly Burakov --- 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 ----------------