From patchwork Fri Jun 5 22:58:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 70911 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 B2347A04F1; Sat, 6 Jun 2020 01:02:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3DB101D678; Sat, 6 Jun 2020 00:59:33 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 256311D54D for ; Sat, 6 Jun 2020 00:59:30 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id t16so4263775plo.7 for ; Fri, 05 Jun 2020 15:59:30 -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=iHp5I28Rhvkqv+EcqHvX8xXCowHRpC96695yJaSa/3M=; b=EdyXmF+2NTuhM/8vqqHYzsimaXE7m8+OQVjRNLY6WQccM+6SWfHrjCyPGS3vKZ6Iqc UMkb0WikzOKEexe20cmqtE6dTu7DviWppKhzaYOvuKxMnNtpJmj/VbOQVeMMzUW9Dd/Z WGD2uAogYzyROVp9gTmwSDX6Zkkcnsres8pUslG/VHl9sAoUAYRuQW1+ikhH0HVJrt5W BeKLj44aasr4XQe3eFdvrYiJ6emttil7/0li7NOCX0146LHL5UKZNFJl+SVkeooxcHA8 w5AGfDlD8Ew3re8KHaqM08rITVW5VhXuw2WWCLnfI5mVGpKJ5yqAhN5pSn6QC+c4GMrg 7sTA== 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=iHp5I28Rhvkqv+EcqHvX8xXCowHRpC96695yJaSa/3M=; b=kLIl2dQkqBs/p8pdcUVvlnHiXE5Z0Od6gesT0Lzc3RTakPAmC16L9wRrJxLOWIV6AR 2VtTa/5IT9YnRsO3woZTQI4xMMOdsJRkl0v81Hplk1Irc2VzjQiOAkDH9izvKla/NzEu MFz5v6mguMbN69KNMGNLW9Yuz6GkbGMh+kW23PTJp9C6dEyodYNcIzVWRJUGcOEt4e7S QdNdagpzcgLdLNi5SRK1TnRNhjlNbb39KB4NogocshRt3fD65UfcE7ySU2VMB2+GSxK0 +xTdl0EszA5+G3+hKoOHq1Lyhuk/2wxLHQTQ96W94/BewRHQQKKod6QY6UspCFNIjLfn WogA== X-Gm-Message-State: AOAM530bJQoisOd7nGhdUSQn4we/G0Mt3EBN3iksKvjKPbI0QAi+Omwj ftGCQEQWBe6733UDaJz3nhss41W5AEw= X-Google-Smtp-Source: ABdhPJx/1QpY/SoHhoVoLhtur+jHJ/GaUjfjh1douTfX1gMEb9hkF6blm7/pvldHSK0idXGB9qx2qg== X-Received: by 2002:a17:90a:20a3:: with SMTP id f32mr3584947pjg.171.1591397968666; Fri, 05 Jun 2020 15:59:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 15:59:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 5 Jun 2020 15:58:08 -0700 Message-Id: <20200605225811.26342-24-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 23/26] doc: replace master lcore terminology 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" A few places in documentation refer to master lcore Signed-off-by: Stephen Hemminger --- doc/guides/howto/debug_troubleshoot.rst | 2 +- doc/guides/linux_gsg/eal_args.include.rst | 4 ++-- doc/guides/nics/bnxt.rst | 2 +- doc/guides/sample_app_ug/hello_world.rst | 2 +- doc/guides/sample_app_ug/timer.rst | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/guides/howto/debug_troubleshoot.rst b/doc/guides/howto/debug_troubleshoot.rst index cef016b2fef4..fdeaabe62206 100644 --- a/doc/guides/howto/debug_troubleshoot.rst +++ b/doc/guides/howto/debug_troubleshoot.rst @@ -311,7 +311,7 @@ Custom worker function :numref:`dtg_distributor_worker`. SERVICE. Check performance functions are mapped to run on the cores. * For high-performance execution logic ensure running it on correct NUMA - and non-master core. + and worker core. * Analyze run logic with ``rte_dump_stack``, ``rte_dump_registers`` and ``rte_memdump`` for more insights. diff --git a/doc/guides/linux_gsg/eal_args.include.rst b/doc/guides/linux_gsg/eal_args.include.rst index 0fe44579689b..ca7508fb423e 100644 --- a/doc/guides/linux_gsg/eal_args.include.rst +++ b/doc/guides/linux_gsg/eal_args.include.rst @@ -33,9 +33,9 @@ Lcore-related options At a given instance only one core option ``--lcores``, ``-l`` or ``-c`` can be used. -* ``--master-lcore `` +* ``--initial-lcore `` - Core ID that is used as master. + Core ID that is used as initial lcore. * ``-s `` diff --git a/doc/guides/nics/bnxt.rst b/doc/guides/nics/bnxt.rst index ed650187e0d7..efe4461d7a32 100644 --- a/doc/guides/nics/bnxt.rst +++ b/doc/guides/nics/bnxt.rst @@ -403,7 +403,7 @@ The application enables multiple TX and RX queues when it is started. .. code-block:: console -   testpmd -l 1,3,5 --master-lcore 1 --txq=2 –rxq=2 --nb-cores=2 +   testpmd -l 1,3,5 --initial-lcore 1 --txq=2 –rxq=2 --nb-cores=2 **TSS** diff --git a/doc/guides/sample_app_ug/hello_world.rst b/doc/guides/sample_app_ug/hello_world.rst index 8fbcc1898215..fd101f7ca56d 100644 --- a/doc/guides/sample_app_ug/hello_world.rst +++ b/doc/guides/sample_app_ug/hello_world.rst @@ -77,7 +77,7 @@ The code that launches the function on each lcore is as follows: /* call lcore_hello() on every worker lcore */ - RTE_LCORE_FOREACH_SLAVE(lcore_id) { + RTE_LCORE_FOREACH_WORKER(lcore_id) { rte_eal_remote_launch(lcore_hello, NULL, lcore_id); } diff --git a/doc/guides/sample_app_ug/timer.rst b/doc/guides/sample_app_ug/timer.rst index ff6f6581bd54..14deafd84d03 100644 --- a/doc/guides/sample_app_ug/timer.rst +++ b/doc/guides/sample_app_ug/timer.rst @@ -55,7 +55,7 @@ the main loop is executed on each worker lcore using the well-known rte_eal_remo /* call lcore_mainloop() on every worker lcore */ - RTE_LCORE_FOREACH_SLAVE(lcore_id) { + RTE_LCORE_FOREACH_WORKER(lcore_id) { rte_eal_remote_launch(lcore_mainloop, NULL, lcore_id); }