Home
last modified time | relevance | path

Searched refs:logtype (Results 1 – 15 of 15) sorted by relevance

/dpdk/lib/eal/common/
H A Deal_common_log.c123 rte_log_can_log(uint32_t logtype, uint32_t level) in rte_log_can_log() argument
130 log_level = rte_log_get_level(logtype); in rte_log_can_log()
268 return RTE_PER_LCORE(log_cur_msg).logtype; in rte_log_cur_msg_logtype()
346 struct logtype { struct
348 const char *logtype; argument
351 static const struct logtype logtype_strings[] = {
398 strdup(logtype_strings[i].logtype); in RTE_INIT_PRIO()
494 if (logtype >= rte_logs.dynamic_types_len) in rte_vlog()
496 if (!rte_log_can_log(logtype, level)) in rte_vlog()
501 RTE_PER_LCORE(log_cur_msg).logtype = logtype; in rte_vlog()
[all …]
/dpdk/lib/eal/include/
H A Drte_log.h127 int rte_log_get_level(uint32_t logtype);
140 bool rte_log_can_log(uint32_t logtype, uint32_t loglevel);
176 int rte_log_set_level(uint32_t logtype, uint32_t level);
285 int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
319 int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_mcdi.c55 uint32_t logtype; in sfc_vdpa_mcdi_init() local
59 logtype = sfc_vdpa_register_logtype(&(sva->pdev->addr), in sfc_vdpa_mcdi_init()
63 return sfc_efx_mcdi_init(&sva->mcdi, logtype, in sfc_vdpa_mcdi_init()
/dpdk/drivers/net/sfc/
H A Dsfc_mcdi.c65 uint32_t logtype; in sfc_mcdi_init() local
69 logtype = sfc_register_logtype(&sa->priv.shared->pci_addr, in sfc_mcdi_init()
73 return sfc_efx_mcdi_init(&sa->mcdi, logtype, in sfc_mcdi_init()
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_logs.c12 bcmfs_hexdump_log(uint32_t level, uint32_t logtype, const char *title, in bcmfs_hexdump_log() argument
17 if (level > (uint32_t)(rte_log_get_level(logtype))) in bcmfs_hexdump_log()
H A Dbcmfs_logs.h31 bcmfs_hexdump_log(uint32_t level, uint32_t logtype, const char *heading,
/dpdk/drivers/common/qat/
H A Dqat_logs.c11 qat_hexdump_log(uint32_t level, uint32_t logtype, const char *title, in qat_hexdump_log() argument
14 if (rte_log_can_log(logtype, level)) in qat_hexdump_log()
H A Dqat_logs.h30 qat_hexdump_log(uint32_t level, uint32_t logtype, const char *title,
/dpdk/drivers/common/sfc_efx/
H A Dsfc_efx_mcdi.c27 rte_log(level, _mcdi->logtype, \
239 if (rte_log_get_level(mcdi->logtype) < (int)SFC_EFX_LOG_LEVEL_MCDI) in sfc_efx_mcdi_logger()
269 uint32_t logtype, const char *log_prefix, efx_nic_t *nic, in sfc_efx_mcdi_init() argument
290 mcdi->logtype = logtype; in sfc_efx_mcdi_init()
H A Dsfc_efx_mcdi.h59 uint32_t logtype; member
67 uint32_t logtype, const char *log_prefix,
/dpdk/lib/telemetry/
H A Dtelemetry_internal.h90 typedef int (*rte_log_fn)(uint32_t level, uint32_t logtype, const char *format, ...);
H A Dtelemetry.c55 static uint32_t logtype; variable
58 rte_log_ptr(RTE_LOG_ ## l, logtype, "TELEMETRY: " __VA_ARGS__)
616 logtype = registered_logtype; in rte_telemetry_init()
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h27 #define dev_printf(level, logtype, fmt, ...) \ argument
28 rte_log(RTE_LOG_ ## level, logtype, \
/dpdk/lib/eventdev/
H A Drte_event_timer_adapter.c36 #define EVTIM_LOG(level, logtype, ...) \ argument
37 rte_log(RTE_LOG_ ## level, logtype, \
/dpdk/doc/guides/prog_guide/
H A Denv_abstraction_layer.rst794 …In unregistered non-EAL pthreads, there is no per thread loglevel and logtype, global loglevels ar…