DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/l3fw-power: do not exit on power lib init failure
@ 2018-07-18 13:49 Radu Nicolau
  2018-07-26 17:39 ` De Lara Guarch, Pablo
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Radu Nicolau @ 2018-07-18 13:49 UTC (permalink / raw)
  To: dev; +Cc: david.hunt, lei.a.yao, Radu Nicolau

Do not exit the application if power library fails to initialize
or high performance cores configuration cannot be used.

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 examples/l3fwd-power/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index d15cd52..42518fe 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -1683,10 +1683,10 @@ main(int argc, char **argv)
 		rte_exit(EXIT_FAILURE, "Invalid L3FWD parameters\n");
 
 	if (init_power_library())
-		rte_exit(EXIT_FAILURE, "init_power_library failed\n");
+		RTE_LOG(ERR, POWER, "init_power_library failed\n");
 
 	if (update_lcore_params() < 0)
-		rte_exit(EXIT_FAILURE, "update_lcore_params failed\n");
+		RTE_LOG(ERR, POWER, "update_lcore_params failed\n");
 
 	if (check_lcore_params() < 0)
 		rte_exit(EXIT_FAILURE, "check_lcore_params failed\n");
-- 
2.7.5

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

end of thread, other threads:[~2018-08-07 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-18 13:49 [dpdk-dev] [PATCH] examples/l3fw-power: do not exit on power lib init failure Radu Nicolau
2018-07-26 17:39 ` De Lara Guarch, Pablo
2018-07-27  9:56   ` Radu Nicolau
2018-07-27  9:53 ` [dpdk-dev] [PATCH v2] " Radu Nicolau
2018-08-05 20:26   ` Thomas Monjalon
2018-08-07 13:16   ` Hunt, David
2018-08-07 13:24 ` [dpdk-dev] [PATCH v3] " Radu Nicolau
2018-08-07 15:45   ` Hunt, David
2018-08-07 16:50     ` Radu Nicolau

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).