David Marchand
551b29a714
eal: fix telemetry log type on registration failure
...
rte_log_register_type_and_pick_level() returns an int.
Casting to a uin32_t will make us miss the -1 passed in case of failure.
Fallback to EAL log type like RTE_LOG_REGISTER.
Fixes: 37b881a96194 ("telemetry: use log function from pointer")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-04-08 18:31:58 +02:00
..
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2021-01-21 10:27:44 +01:00
2021-01-26 00:43:59 +01:00
2020-10-19 22:13:59 +02:00
2020-11-05 17:49:00 +01:00
2021-01-29 15:58:06 +01:00
2021-01-29 15:58:06 +01:00
2020-10-19 22:13:59 +02:00
2021-04-08 18:31:58 +02:00
2020-10-22 22:07:15 +02:00
2021-03-30 14:46:33 +02:00
2021-02-04 13:51:45 +01:00
2021-01-21 10:27:47 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:15:34 +02:00
2020-11-14 10:56:30 +01:00
2021-01-15 11:31:28 +01:00
2021-01-29 20:59:37 +01:00
2021-01-15 11:31:28 +01:00
2021-01-29 20:59:37 +01:00
2020-10-19 22:13:59 +02:00
2020-11-20 16:05:35 +01:00
2021-03-16 20:15:29 +01:00
2020-11-03 16:21:15 +01:00
2021-01-29 20:59:37 +01:00
2021-03-02 10:57:28 +01:00
2020-10-19 22:13:59 +02:00
2021-02-05 17:40:23 +01:00
2020-10-19 22:13:59 +02:00
2021-03-25 17:35:10 +01:00
2021-03-22 17:19:16 +01:00
2021-01-21 10:27:47 +01:00
2021-04-06 14:52:49 +02:00
2021-01-19 15:24:46 +01:00
2021-03-24 19:18:45 +01:00
2021-03-23 19:50:44 +01:00
2021-04-06 10:36:49 +02:00
2021-01-29 15:58:06 +01:00
2021-01-11 15:34:21 +01:00
2021-01-29 20:59:37 +01:00
2020-10-31 22:14:30 +01:00
2021-01-29 20:59:09 +01:00
2021-01-29 20:59:37 +01:00
2020-10-19 22:13:59 +02:00
2021-01-29 15:58:06 +01:00
2021-01-29 20:59:37 +01:00
2021-03-23 19:47:20 +01:00
2021-03-26 17:17:45 +01:00
2020-10-19 22:13:59 +02:00
2021-03-31 09:34:17 +02:00
2021-03-30 14:46:33 +02:00