0a8fc2423b
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>
16 lines
381 B
C
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_ */
|