#ifndef _OCTEP_MAIN_H_
#define _OCTEP_MAIN_H_
#include "octep_tx.h"
#include "octep_rx.h"
#include "octep_ctrl_mbox.h"
#define OCTEP_DRV_NAME …
#define OCTEP_DRV_STRING …
#define OCTEP_PCIID_CN93_PF …
#define OCTEP_PCIID_CN93_VF …
#define OCTEP_PCI_DEVICE_ID_CN98_PF …
#define OCTEP_PCI_DEVICE_ID_CN93_PF …
#define OCTEP_PCI_DEVICE_ID_CN93_VF …
#define OCTEP_PCI_DEVICE_ID_CNF95N_PF …
#define OCTEP_PCI_DEVICE_ID_CN10KA_PF …
#define OCTEP_PCI_DEVICE_ID_CNF10KA_PF …
#define OCTEP_PCI_DEVICE_ID_CNF10KB_PF …
#define OCTEP_PCI_DEVICE_ID_CN10KB_PF …
#define OCTEP_MAX_QUEUES …
#define OCTEP_MAX_IQ …
#define OCTEP_MAX_OQ …
#define OCTEP_MAX_VF …
#define OCTEP_MAX_MSIX_VECTORS …
#define OCTEP_INPUT_INTR …
#define OCTEP_OUTPUT_INTR …
#define OCTEP_MBOX_INTR …
#define OCTEP_ALL_INTR …
#define OCTEP_IQ_INTR_RESEND_BIT …
#define OCTEP_OQ_INTR_RESEND_BIT …
#define OCTEP_MMIO_REGIONS …
#define IQ_INSTR_PENDING(iq) …
#define IQ_INSTR_SPACE(iq) …
struct octep_mmio { … };
struct octep_pci_win_regs { … };
struct octep_hw_ops { … };
struct octep_mbox_data { … };
#define MAX_VF_PF_MBOX_DATA_SIZE …
struct octep_pfvf_mbox_wk { … };
struct octep_mbox { … };
struct octep_ioq_vector { … };
#define OCTEP_CAP_TX_CHECKSUM …
#define OCTEP_CAP_RX_CHECKSUM …
#define OCTEP_CAP_TSO …
enum octep_link_mode_bit_indices { … };
struct octep_iface_link_info { … };
struct octep_pfvf_info { … };
struct octep_device { … };
static inline u16 OCTEP_MAJOR_REV(struct octep_device *oct)
{ … }
static inline u16 OCTEP_MINOR_REV(struct octep_device *oct)
{ … }
#define octep_write_csr(octep_dev, reg_off, value) …
#define octep_write_csr64(octep_dev, reg_off, val64) …
#define octep_read_csr(octep_dev, reg_off) …
#define octep_read_csr64(octep_dev, reg_off) …
static inline u64
OCTEP_PCI_WIN_READ(struct octep_device *oct, u64 addr)
{ … }
static inline void
OCTEP_PCI_WIN_WRITE(struct octep_device *oct, u64 addr, u64 val)
{ … }
extern struct workqueue_struct *octep_wq;
int octep_device_setup(struct octep_device *oct);
int octep_setup_iqs(struct octep_device *oct);
void octep_free_iqs(struct octep_device *oct);
void octep_clean_iqs(struct octep_device *oct);
int octep_setup_oqs(struct octep_device *oct);
void octep_free_oqs(struct octep_device *oct);
void octep_oq_dbell_init(struct octep_device *oct);
void octep_device_setup_cn93_pf(struct octep_device *oct);
void octep_device_setup_cnxk_pf(struct octep_device *oct);
int octep_iq_process_completions(struct octep_iq *iq, u16 budget);
int octep_oq_process_rx(struct octep_oq *oq, int budget);
void octep_set_ethtool_ops(struct net_device *netdev);
#endif