#ifndef __MAILBOX_H__
#define __MAILBOX_H__
#define OCTEON_MBOX_DATA_MAX …
#define OCTEON_VF_ACTIVE …
#define OCTEON_VF_FLR_REQUEST …
#define OCTEON_PF_CHANGED_VF_MACADDR …
#define OCTEON_GET_VF_STATS …
#define OCTEON_PFVFACK …
#define OCTEON_PFVFSIG …
#define OCTEON_PFVFERR …
#define LIO_MBOX_WRITE_WAIT_CNT …
#define LIO_MBOX_WRITE_WAIT_TIME …
enum octeon_mbox_cmd_status { … };
enum octeon_mbox_message_type { … };
octeon_mbox_message;
struct octeon_mbox_cmd;
octeon_mbox_callback_t;
struct octeon_mbox_cmd { … };
enum octeon_mbox_state { … };
struct octeon_mbox { … };
struct oct_vf_stats_ctx { … };
int octeon_mbox_read(struct octeon_mbox *mbox);
int octeon_mbox_write(struct octeon_device *oct,
struct octeon_mbox_cmd *mbox_cmd);
int octeon_mbox_process_message(struct octeon_mbox *mbox);
int octeon_mbox_cancel(struct octeon_device *oct, int q_no);
#endif