numam-dpdk/drivers/crypto/nitrox/nitrox_logs.h
Nagadheeraj Rottela 0a8fc2423b crypto/nitrox: introduce Nitrox driver
Add bare minimum Nitrox PMD library which handles pci probe, remove and
hardware initialization. Add logs, documentation and update maintainers
file.

Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-09 11:50:12 +02:00

16 lines
381 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2019 Marvell International Ltd.
*/
#ifndef _NITROX_LOGS_H_
#define _NITROX_LOGS_H_
#define LOG_PREFIX "NITROX: "
#define NITROX_LOG(level, fmt, args...) \
rte_log(RTE_LOG_ ## level, nitrox_logtype, \
LOG_PREFIX "%s:%d " fmt, __func__, __LINE__, ## args)
extern int nitrox_logtype;
#endif /* _NITROX_LOGS_H_ */