From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A48AEA053E; Mon, 27 Jul 2020 21:20:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B40A91BFC8; Mon, 27 Jul 2020 21:20:29 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by dpdk.org (Postfix) with ESMTP id 2FBD52B8D for ; Mon, 27 Jul 2020 21:20:26 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id mt12so2773447pjb.4 for ; Mon, 27 Jul 2020 12:20: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=ng44RD8n3O1jfUXv3Tns41A5nKJJ1k2ForAVb+ncqBU=; b=0IknxIOqh2RnlisEetIjS8Lx8kWXejKWVssz2jCHYvWoPD294A94pQnmWLT/Wyojsk oZXsrWYD4atEaa3polv5oxbF1s7ZjvPws7kB9MKvG5uzn3y+NuHBuiq2RPskrha3Mhg9 uJ1ApwvSbe6Ecfei3iiartk1iyF5D6RAHOAz+4F8BZfUXHCFFgPMorOMVNM8J+zVcJdz l6E02p+SdNAZkZ8XgqT3ybVtFNaHUhGiKV+x6f0XsnA/C2q2YqjUtgzFiY0U1bKuWyC4 oge4iSkR4UnGUB3Arh5ax/Z/qm4yhPWGunOAoUKTXjmq6wACDL/HruwQUYdViJ2/RYVJ tNzw== 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=ng44RD8n3O1jfUXv3Tns41A5nKJJ1k2ForAVb+ncqBU=; b=q81gy81CfScW/q3r7KxxF4Qu+vB2swa8INQO/7nubtnb7PCY1J8tqno+b8WmewUBfp yG1kwpys+zzpYNi1OlhQErmnQi4Ru1F0cIblK+wwfqSE4SbmICqqp/A/heXsh7MKFi6R M9DVEoLf4ztd3IVC2YBJLhvEjejuPDprN/nM0lGNrYNcmZK9lftFTv+xA/94dmkILU66 79Ax3wykqPQQcd5zQLCOx/gDWVupPkWK6E1IfxhQ38ld+qSToVklvqaFf3Fda4N6OA9I w84DjEa+Il2ceGpgJEjKz0F1KeP8ExwJQcC0lg9vlxXB+Ol3jFrZ29sAa+5K0IuIEwD9 1QMw== X-Gm-Message-State: AOAM533ktod4lqJlexRLbXGVNppyE9zjsUfqpryZRgy+IUPN/W433LgD fl6iPrWHr46NS6+3P3Gx3agdgvAhlt/nmw== X-Google-Smtp-Source: ABdhPJyBQVkpILcl3Tr17qBiYuyurPZbJpIb/7pZOEm+WtsfxNkyXfFFFoJ0Ry76k6wmOk0obzc4WA== X-Received: by 2002:a17:90a:c693:: with SMTP id n19mr745604pjt.53.1595877624949; Mon, 27 Jul 2020 12:20:24 -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 s67sm5994552pfs.117.2020.07.27.12.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 12:20:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 27 Jul 2020 12:20:10 -0700 Message-Id: <20200727192015.26418-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727192015.26418-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200727192015.26418-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 20.08 1/6] doc: announce deprecation of master lcore 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" Announce upcoming changes related to master/slave in reference to lcore. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/deprecation.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 99c98062ffc2..31a2b942fba5 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -148,3 +148,20 @@ Deprecation Notices Python 2 support will be completely removed in 20.11. In 20.08, explicit deprecation warnings will be displayed when running scripts with Python 2. + +* eal: To be more inclusive in choice of naming, the DPDK project + will replace uses of master/slave in the API's and command line arguments. + + References to master/slave in relation to lcore will be renamed + to initial/worker. The function ``rte_get_master_lcore()`` + will be renamed to ``rte_get_initial_lcore()``. + For the 20.11, release both names will be present and the + old function will be marked with the deprecated tag. + The old function will be removed in 21.11 version. + + The macros related to primary and secondary lcore will also + be change: ``RTE_LCORE_FOREACH_SLAVE`` will be replaced + with ``RTE_LCORE_FOREACH_WORKER``. + + The ``master-lcore`` argument to testpmd will be replaced + with ``initial-lcore``. -- 2.27.0