From patchwork Wed Jul 1 20:23:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 72680 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 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 ; Wed, 1 Jul 2020 22:24:28 +0200 (CEST) Received: by mail-pj1-f65.google.com with SMTP id c1so4233697pja.5 for ; 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 To: dev@dpdk.org Cc: Stephen Hemminger 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Replace master lcore with initial lcore. This API still has issue with use of term master clock. Signed-off-by: Stephen Hemminger Acked-by: Anatoly Burakov --- examples/ptpclient/ptpclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;