[PATCH] raw/cnxk_gpio: switch to dynamic logging

Thomas Monjalon thomas at monjalon.net
Wed Feb 21 02:54:50 CET 2024


05/12/2023 10:37, Jerin Jacob Kollanukkaran:
> From: Tomasz Duszynski <tduszynski at marvell.com>
> > Dynamically allocated log type is a standard approach among all drivers.
> > Switch to it.
> > 
> > Signed-off-by: Tomasz Duszynski <tduszynski at marvell.com>
> 
> 
> Applied to dpdk-next-net-mrvl/for-main. Thanks

Sorry, a patch from Stephen has been merged first in the main tree.

The main difference is on log registration:
Stephen's patch:
	RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_gpio, gpio, INFO);
Tomasz' patch:
	RTE_LOG_REGISTER_DEFAULT(cnxk_gpio_rawdev_logtype, WARNING);

Please could you send a rebased patch?





More information about the dev mailing list