From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 12A4F1B756 for ; Wed, 7 Feb 2018 17:47:46 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id 141so4557399wme.3 for ; Wed, 07 Feb 2018 08:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DDVdWzbZnjUCJUBmj0hsttnzOKL/1+8xSChPEJRyP3o=; b=eK8xHxRA/nx50EU/mTGwNpA3sb2LoK8Fg7AnVZF6YVBL2SIZ1qQ0YfiL0YMPkygOf+ yMtKxYB/g9KD9PajEoV0TeTEnnm5wxVuSEboqFRlShgkDKD21V17ZyobkhJznIpr+keE qsNnAnre7HBcLZk0BFehgN1Tt726gHIty8jdCnm537erLXQOqi+otZfJrX64MLFXH+Qb JvY+E7YKzIvR48S8rbrOle6jk9yZ/Ia7EtMu9EtoaTpfkH/TVbCna+gBc5AB2f1eKJyY Tp3gtTU84zToXARBPsOpgQ6ZGtMKbiD2sGANAzCU38fJA0ADrMI+o3e/hcqXBuaCnKPQ XNbA== 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; bh=DDVdWzbZnjUCJUBmj0hsttnzOKL/1+8xSChPEJRyP3o=; b=q/UaWpxPcNdlwOfvxNtKd4ruPoPxR7GfYfEEFIFi9aCcGzItNgrlFOA9WHmgnFXV65 NasVPYQEZyqKAo3BTpcNQegKRC9bvEdSq5Y2lFjFfCb4IbWYUYktwv2bxcBSL4Qqt9fy Q4XVsB43DWMOS/9LwG7gzosHHg37sJ8gTd5s15uGbx48Kx3KrOhWDqkC9wq4Y1XnFNYi 8a9gBAcfKFVQ2G/GtJuU2H6irWFejxA6I+cqo6d76ZcTqfuHCvDTfWa7M2vooO1mI2CB gchjs+ae2Ce0hEaeoIBCfemps07PFgH6+1tMRGKfo393K055ouGhw6Gu5XcGhqMEcliQ VSMQ== X-Gm-Message-State: APf1xPAuKiqcDeTDB4ICl9IZGYvJw3Hy/Tu4pm53pTIsXW79LAgsvRoR Oyvx1RKIhasS/rhy6rdFOHk= X-Google-Smtp-Source: AH8x226SCi4LPaC22j7TLgutCLD/SwUHyk9n3wHsMwjR9YIdDi4ZDMr0qC98tUT2MhqfzbMvAZYrsA== X-Received: by 10.28.229.68 with SMTP id c65mr5735548wmh.76.1518022065757; Wed, 07 Feb 2018 08:47:45 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:9531:588b:44ae:bec4]) by smtp.gmail.com with ESMTPSA id f19sm1793838wmf.23.2018.02.07.08.47.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2018 08:47:45 -0800 (PST) From: luca.boccassi@gmail.com To: Pablo de Lara Cc: dpdk stable Date: Wed, 7 Feb 2018 16:46:51 +0000 Message-Id: <20180207164705.29052-20-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180207164705.29052-1-luca.boccassi@gmail.com> References: <20180126131332.15346-62-luca.boccassi@gmail.com> <20180207164705.29052-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/pmd_perf: declare variables as static' has been queued to LTS release 16.11.5 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 16:47:46 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/09/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From af7f5aadd7cd620a2db18dd5365832fd020384c6 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Fri, 19 Jan 2018 14:37:13 +0000 Subject: [PATCH] test/pmd_perf: declare variables as static [ upstream commit 532e5242db15b311594c4a633d520ed3ae87b38d ] Some variables in the PMD perf test were declared as global, but they are only used in this test, so they should actually be declared as static. Fixes: 002ade70e933 ("app/test: measure cycles per packet in Rx/Tx") Signed-off-by: Pablo de Lara --- app/test/test_pmd_perf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index afab180f9..e0db34dc6 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -321,10 +321,10 @@ alloc_lcore(uint16_t socketid) return (uint16_t)-1; } -volatile uint64_t stop; -uint64_t count; -uint64_t drop; -uint64_t idle; +static volatile uint64_t stop; +static uint64_t count; +static uint64_t drop; +static uint64_t idle; static void reset_count(void) @@ -557,7 +557,7 @@ main_loop(__rte_unused void *args) return 0; } -rte_atomic64_t start; +static rte_atomic64_t start; static inline int poll_burst(void *args) -- 2.14.2