DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
@ 2017-05-03  7:02 Pablo de Lara
  2017-05-03  7:57 ` Remy Horton
  2017-05-06  1:00 ` Wu, Jingjing
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo de Lara @ 2017-05-03  7:02 UTC (permalink / raw)
  To: jingjing.wu, remy.horton; +Cc: dev, Pablo de Lara

Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 app/test-pmd/testpmd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index dfe6442..776b8dd 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -2239,7 +2239,9 @@ main(int argc, char** argv)
 			  "core mask supplied in the command parameters\n");
 
 	/* Bitrate stats disabled by default */
+#ifdef RTE_LIBRTE_BITRATE
 	bitrate_enabled = 0;
+#endif
 
 	argc -= diag;
 	argv += diag;
-- 
2.7.4

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

* Re: [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
  2017-05-03  7:02 [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled Pablo de Lara
@ 2017-05-03  7:57 ` Remy Horton
  2017-05-06  1:00 ` Wu, Jingjing
  1 sibling, 0 replies; 4+ messages in thread
From: Remy Horton @ 2017-05-03  7:57 UTC (permalink / raw)
  To: Pablo de Lara, jingjing.wu; +Cc: dev


On 03/05/2017 08:02, Pablo de Lara wrote:
> Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> ---
>  app/test-pmd/testpmd.c | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Remy Horton <remy.horton@intel.com>

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

* Re: [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
  2017-05-03  7:02 [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled Pablo de Lara
  2017-05-03  7:57 ` Remy Horton
@ 2017-05-06  1:00 ` Wu, Jingjing
  2017-05-06  7:18   ` Thomas Monjalon
  1 sibling, 1 reply; 4+ messages in thread
From: Wu, Jingjing @ 2017-05-06  1:00 UTC (permalink / raw)
  To: De Lara Guarch, Pablo, Horton, Remy; +Cc: dev



> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Wednesday, May 3, 2017 3:02 PM
> To: Wu, Jingjing <jingjing.wu@intel.com>; Horton, Remy
> <remy.horton@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>
> Subject: [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
> 
> Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>

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

* Re: [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
  2017-05-06  1:00 ` Wu, Jingjing
@ 2017-05-06  7:18   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2017-05-06  7:18 UTC (permalink / raw)
  To: De Lara Guarch, Pablo; +Cc: dev, Wu, Jingjing, Horton, Remy

06/05/2017 03:00, Wu, Jingjing:
> From: De Lara Guarch, Pablo
> > 
> > Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")
> > 
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> Acked-by: Jingjing Wu <jingjing.wu@intel.com>

Applied, thanks

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

end of thread, other threads:[~2017-05-06  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03  7:02 [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled Pablo de Lara
2017-05-03  7:57 ` Remy Horton
2017-05-06  1:00 ` Wu, Jingjing
2017-05-06  7:18   ` 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).