From patchwork Fri Jun 5 22:58:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 70903 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 3D049A0350; Sat, 6 Jun 2020 01:01:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D63A1D643; Sat, 6 Jun 2020 00:59:21 +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 6DF871D635 for ; Sat, 6 Jun 2020 00:59:18 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id n9so4284784plk.1 for ; Fri, 05 Jun 2020 15:59:18 -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=EOY/Lv/WD9VB80rWyrFv/1vSsDOezVR+JzPbR6ElUVwtetoe7GMdXn47A9ebmxT4C0 LJSenfcmRDYv8gvfR7RlYn75KJzVxuGEibOZN9iUDrd7gOnzRUf+J7n6N1+Nv0BRzF8s 9VqnDNLQ1DkmMz67hI0xBNNUdgSxc7+ycOdycESvLkbMCk7umktpaNkSt78+Ml+IdJ3+ j+ibvrtuvYKGUfeR1eyOKdcfhYKbKahpu+AtrqX7Q38xB3TVqky4TrLxqWfUgPcyoJNs zep/izWW3PPdfD9Q0I/DrRy9RbAaejm9VZGXD5KASQV0Dlw0DA+1vNJJPua8ZYBGrgBK qppQ== 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=OvuJQDdSYiDmyoIVyoezI8+xqFLVYYAg3WeRo5Hc1Ro8WokLazkuuJ02Ntt6Tkt8Jl jSVj0SFfxoIrtgmpRqktSU0Mp9LPmxglVYKMPCBGK6K7TPlcshKn4m5I2mpsY/7dADpa SnBa+4Fg3B/Uw2k2WXvsAW0E0sZHes4U8CAPnw3aZXfrUB3oWwCy/VJk6SUkoqf1PSzS 99V2FGKnw2EDOkCdfxOvoibjT7XGcpf/uA3lpdjmb5pDjmHE4BNOKw8b/XB/sowPa9ty 25i78G/0vU/BeDTW7yHGbfu8KsTYMbFK89DzQ4FEliBqL2SZwSWKufPQhTGsd8W6uTN7 HEVA== X-Gm-Message-State: AOAM530A980A7clWFKJ1EdwL/izDXol7WRdBG8f36x8JpSzDcbx1B1kJ Uxlkjvf7Hdhc+4HQsWfo7z/SbTjbAEg= X-Google-Smtp-Source: ABdhPJx2XjP2KmnlKNE0ywp4uwnUvBPU5dJQz/CI6AhvpL+/homqWqwO7Kc43Bb/0Huvp+/MWKolOw== X-Received: by 2002:a17:902:d34a:: with SMTP id l10mr11541080plk.69.1591397957214; Fri, 05 Jun 2020 15:59:17 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 15:59:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 5 Jun 2020 15:58:00 -0700 Message-Id: <20200605225811.26342-16-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 15/26] 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 --- 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;