Message ID | 20200701202359.17006-16-stephen@networkplumber.org (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 14537A0350; Wed, 1 Jul 2020 22:26:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 775921D5F9; Wed, 1 Jul 2020 22:24:31 +0200 (CEST) Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by dpdk.org (Postfix) with ESMTP id 015DF1D5EF for <dev@dpdk.org>; Wed, 1 Jul 2020 22:24:28 +0200 (CEST) Received: by mail-pj1-f65.google.com with SMTP id c1so4233697pja.5 for <dev@dpdk.org>; Wed, 01 Jul 2020 13:24:28 -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=/ROKNDW6dVWGU9glJJkCoW2TckiE9Jhd+U88Ner7Oqc=; b=dpCYcBaAtnYb8LDMK6GmyxJLHK2bdY/dZSp73HecEQFUYzTb3aOznTjlpR5xnNHi+O Zg90g45av2bkpiBjshpY2uTQ8nYx55Y6q81b+dSPBaUD87MVOCmQ2h+W3vmrYuz+K6vp /+O5wY3To8DMucoSFctQfuZBtVfuwgfKJDy1Vx9DxgfgAa41lxbRveSS1/qKjIKNcFwS 461o6ATQk9DxlChe7rQNHofi8wy11TLPuYTxaErmPQi/0dkv68qbjW72xB3liWtHMi2C D92Xr34WUPTAq9Idsq/TgzQjPeKy8WJ5bPUBRx2leujBfwm3ed0u2mTHGRS/+fDSRH9h zL5Q== 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=/ROKNDW6dVWGU9glJJkCoW2TckiE9Jhd+U88Ner7Oqc=; b=Nq1nHQ6BRqQ2rHLM4NuQjNACogwgsVG7jtHzqobbiIapUlOmYQ6yQuR9EK9gvZgDgN n5MXqDevIlu6N+rmGVvQLERz7C45HgzoaJDB1+dejPzadE2Ac/FOQqCRigCEwLcqPoe9 Tw43TzAOaHCUtw+HXBttEW/Hqhk5IGau4PtOVbbGUB2RczXmjrSTV5lZjdJbflFg6ipl QDBBF/QB9oPBvKCsWItHlhSkcAmPINvEufEkcc1JJ/YL+vLD+Zmx8bI9JUZc7jOTenbg 2Z20mAPxmFPGI7wjW/JeWuvdsvzI4RXCXUdTtpwMNJmnrJ07Y/BNh2QTYMPEtN0CsgHi Awsg== X-Gm-Message-State: AOAM530GGXjcZfV6hHDHKp5VZApVct2eunwMpkuq9JivByALo5ayHuaM B8XE/DMamtuFDVi+G79pQWrj/5IAg5M= X-Google-Smtp-Source: ABdhPJxxS/hr+9bCZjBsEiRHn7+FPZ2HCxfrd5oJzuSEFk3zslbgHrwWoQw1kPa+Bx6jEDRZaHCiSw== X-Received: by 2002:a17:902:9a45:: with SMTP id x5mr23817865plv.190.1593635067820; Wed, 01 Jul 2020 13:24:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 13:24:27 -0700 (PDT) From: Stephen Hemminger <stephen@networkplumber.org> To: dev@dpdk.org Cc: Stephen Hemminger <stephen@networkplumber.org> Date: Wed, 1 Jul 2020 13:23:47 -0700 Message-Id: <20200701202359.17006-16-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 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 15/27] examples/ptpclient: replace references to master lcore X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
Replace references to master and slave
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | fail | Compilation issues |
Commit Message
Stephen Hemminger
July 1, 2020, 8:23 p.m. UTC
Replace master lcore with initial lcore.
This API still has issue with use of term master clock.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
examples/ptpclient/ptpclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 01-Jul-20 9:23 PM, Stephen Hemminger wrote: > Replace master lcore with initial lcore. > This API still has issue with use of term master clock. > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> > --- Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index bfa86eec5a4a..119f4f6e5d89 100644 --- a/examples/ptpclient/ptpclient.c +++ b/examples/ptpclient/ptpclient.c @@ -785,7 +785,7 @@ main(int argc, char *argv[]) if (rte_lcore_count() > 1) printf("\nWARNING: Too many lcores enabled. Only 1 used.\n"); - /* Call lcore_main on the master core only. */ + /* Call lcore_main on the initial core only. */ lcore_main(); return 0;