Skip to content

Commit

Permalink
regexdev: fix logtype register
Browse files Browse the repository at this point in the history
This library logtype was not initialized so its logs would end up under
the 0 logtype, iow, RTE_LOGTYPE_EAL.

Fixes: b25246b ("regexdev: add core functions")
Cc: [email protected]

Signed-off-by: David Marchand <[email protected]>
  • Loading branch information
david-marchand committed Dec 8, 2023
1 parent c2ad78a commit df55297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/regexdev/rte_regexdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static struct {
struct rte_regexdev_data data[RTE_MAX_REGEXDEV_DEVS];
} *rte_regexdev_shared_data;

int rte_regexdev_logtype;
RTE_LOG_REGISTER_DEFAULT(rte_regexdev_logtype, INFO);

static uint16_t
regexdev_find_free_dev(void)
Expand Down

0 comments on commit df55297

Please sign in to comment.