From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH 1/2] test/test: introduce new test-case for rte_smp_mb() Date: Mon, 11 Dec 2017 17:08:34 +0000 Message-ID: <20171211170834.GA2232@bricha3-MOBL3.ger.corp.intel.com> References: <1512126771-27503-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Konstantin Ananyev Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4BD9956A1 for ; Mon, 11 Dec 2017 18:08:39 +0100 (CET) Content-Disposition: inline In-Reply-To: <1512126771-27503-1-git-send-email-konstantin.ananyev@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Dec 01, 2017 at 11:12:50AM +0000, Konstantin Ananyev wrote: > Simple functional test for rte_smp_mb() implementations. > Also when executed on a single lcore could be used as rough > estimation how many cycles particular implementation of rte_smp_mb() > might take. > > Signed-off-by: Konstantin Ananyev > --- > test/test/Makefile | 1 + > test/test/test_mb.c | 278 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 279 insertions(+) > create mode 100644 test/test/test_mb.c > First pass comment on this patch is that it really could do with some comments explaining what is happening and why. Although it's meant to be a "simple functional test", it doesn't appear to be so on first reading, without comments as to how the test is meant to work and what the expected output values are. /Bruce