DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: consolidate two duplicate ifdefs into one.
@ 2017-04-17 22:56 Rami Rosen
  2017-04-20 23:17 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2017-04-17 22:56 UTC (permalink / raw)
  To: dev; +Cc: Rami Rosen

Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES 
into one #ifdef.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---

 app/test-pmd/rxonly.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c
index dcc8346..dcd1d85 100644
--- a/app/test-pmd/rxonly.c
+++ b/app/test-pmd/rxonly.c
@@ -101,9 +101,7 @@ pkt_burst_receive(struct fwd_stream *fs)
 	uint64_t start_tsc;
 	uint64_t end_tsc;
 	uint64_t core_cycles;
-#endif
 
-#ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES
 	start_tsc = rte_rdtsc();
 #endif
 
-- 
2.9.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] app/testpmd: consolidate two duplicate ifdefs into one.
  2017-04-17 22:56 [dpdk-dev] [PATCH] app/testpmd: consolidate two duplicate ifdefs into one Rami Rosen
@ 2017-04-20 23:17 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-04-20 23:17 UTC (permalink / raw)
  To: Rami Rosen; +Cc: dev

18/04/2017 00:56, Rami Rosen:
> Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES
> into one #ifdef.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-20 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 22:56 [dpdk-dev] [PATCH] app/testpmd: consolidate two duplicate ifdefs into one Rami Rosen
2017-04-20 23:17 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).