numam-dpdk/drivers/net/nfp
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
..
nfpcore net/nfp: fix memory leak 2019-04-12 11:02:02 +02:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
nfp_net_ctrl.h net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +01:00
nfp_net_logs.h net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +01:00
nfp_net_pmd.h replace packed attributes 2020-04-16 18:16:46 +02:00
nfp_net.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
rte_pmd_nfp_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00