numam-dpdk/drivers/net/af_packet
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
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_eth_af_packet.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
rte_pmd_af_packet_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00