numam-dpdk/drivers/net/pfe
Jerin Jacob 9c99878aa1 log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication
in the logtype registration process.

It is a wrapper macro for declaring the logtype, registering it and
setting its level in the constructor context.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Sachin Saxena <sachin.saxena@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-07-03 15:52:51 +02:00
..
base replace unused attributes 2020-04-16 18:30:58 +02:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: replace meson OS detection with variable 2020-06-30 15:29:59 +02:00
pfe_eth.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_ethdev.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
pfe_hal.c drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_hif_lib.c drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_hif_lib.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_hif.c drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_hif.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_logs.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
pfe_mod.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
rte_pmd_pfe_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00