Re: [dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for rte_smp_mb()

2018-01-13 Thread Wiles, Keith
> On Dec 18, 2017, at 9:34 AM, 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: Konstan

Re: [dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for rte_smp_mb()

2018-01-13 Thread Wiles, Keith
> On Dec 18, 2017, at 9:34 AM, 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: Konstan

Re: [dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for rte_smp_mb()

2018-01-12 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, January 12, 2018 5:24 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for > rte_smp_mb() > >

Re: [dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for rte_smp_mb()

2018-01-12 Thread Thomas Monjalon
Hi, 18/12/2017 16:34, Konstantin Ananyev: > test/test/test_mb.c | 315 > [...] > +REGISTER_TEST_COMMAND(mb_autotest, test_mb); For readability, do you agree to rename "mb" to "barrier" in function and file name?

[dpdk-dev] [PATCH v2 1/2] test/test: introduce new test-case for rte_smp_mb()

2017-12-18 Thread Konstantin Ananyev
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 | 315 +