numam-dpdk/drivers/common/cnxk/roc_utils.h
Jerin Jacob 03cc9bd929 common/cnxk: add mailbox base infrastructure
This patch adds mailbox infra API's to communicate with Kernel AF
driver. These API's will be used by all the other cnxk drivers
for mbox init/fini, send/recv functionality.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
2021-04-09 08:32:24 +02:00

16 lines
320 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2021 Marvell.
*/
#ifndef _ROC_UTILS_H_
#define _ROC_UTILS_H_
#include "roc_platform.h"
/* Utils */
const char *__roc_api roc_error_msg_get(int errorcode);
void __roc_api roc_clk_freq_get(uint16_t *rclk_freq, uint16_t *sclk_freq);
#endif /* _ROC_UTILS_H_ */