octep_device
static int cn93_reset_iq(struct octep_device *oct, int q_no)
static void cn93_reset_oq(struct octep_device *oct, int q_no)
static void octep_reset_io_queues_cn93_pf(struct octep_device *oct)
static void octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct)
static void octep_configure_ring_mapping_cn93_pf(struct octep_device *oct)
static void octep_init_config_cn93_pf(struct octep_device *oct)
static void octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no)
static int octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no)
static void octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no)
static void octep_poll_pfvf_mailbox(struct octep_device *oct)
static void cn93_dump_regs(struct octep_device *oct, int qno)
struct octep_device *oct = (struct octep_device *)dev;
static void octep_poll_oei_cn93_pf(struct octep_device *oct)
struct octep_device *oct = (struct octep_device *)dev;
static void octep_poll_non_ioq_interrupts_cn93_pf(struct octep_device *oct)
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
static int octep_soft_reset_cn98_pf(struct octep_device *oct)
static int octep_soft_reset_cn93_pf(struct octep_device *oct)
static void octep_reinit_regs_cn93_pf(struct octep_device *oct)
static void octep_enable_interrupts_cn93_pf(struct octep_device *oct)
static void octep_disable_interrupts_cn93_pf(struct octep_device *oct)
static void octep_enable_iq_cn93_pf(struct octep_device *oct, int iq_no)
static void octep_enable_oq_cn93_pf(struct octep_device *oct, int oq_no)
static void octep_enable_io_queues_cn93_pf(struct octep_device *oct)
static void octep_disable_iq_cn93_pf(struct octep_device *oct, int iq_no)
static void octep_disable_oq_cn93_pf(struct octep_device *oct, int oq_no)
static void octep_disable_io_queues_cn93_pf(struct octep_device *oct)
static void octep_dump_registers_cn93_pf(struct octep_device *oct)
void octep_device_setup_cn93_pf(struct octep_device *oct)
static int cnxk_reset_iq(struct octep_device *oct, int q_no)
static void cnxk_reset_oq(struct octep_device *oct, int q_no)
static void octep_reset_io_queues_cnxk_pf(struct octep_device *oct)
static void octep_setup_pci_window_regs_cnxk_pf(struct octep_device *oct)
static void octep_configure_ring_mapping_cnxk_pf(struct octep_device *oct)
static void octep_init_config_cnxk_pf(struct octep_device *oct)
static void octep_setup_iq_regs_cnxk_pf(struct octep_device *oct, int iq_no)
static int octep_setup_oq_regs_cnxk_pf(struct octep_device *oct, int oq_no)
static void octep_setup_mbox_regs_cnxk_pf(struct octep_device *oct, int q_no)
static void octep_poll_pfvf_mailbox_cnxk_pf(struct octep_device *oct)
struct octep_device *oct = (struct octep_device *)dev;
static void octep_poll_oei_cnxk_pf(struct octep_device *oct)
struct octep_device *oct = (struct octep_device *)dev;
static void octep_poll_non_ioq_interrupts_cnxk_pf(struct octep_device *oct)
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
static void cnxk_dump_regs(struct octep_device *oct, int qno)
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
struct octep_device *oct = (struct octep_device *)dev;
static int octep_soft_reset_cnxk_pf(struct octep_device *oct)
static void octep_reinit_regs_cnxk_pf(struct octep_device *oct)
static void octep_enable_interrupts_cnxk_pf(struct octep_device *oct)
static void octep_disable_interrupts_cnxk_pf(struct octep_device *oct)
static void octep_enable_iq_cnxk_pf(struct octep_device *oct, int iq_no)
static void octep_enable_oq_cnxk_pf(struct octep_device *oct, int oq_no)
static void octep_enable_io_queues_cnxk_pf(struct octep_device *oct)
static void octep_disable_iq_cnxk_pf(struct octep_device *oct, int iq_no)
static void octep_disable_oq_cnxk_pf(struct octep_device *oct, int oq_no)
static void octep_disable_io_queues_cnxk_pf(struct octep_device *oct)
static void octep_dump_registers_cnxk_pf(struct octep_device *oct)
void octep_device_setup_cnxk_pf(struct octep_device *oct)
int octep_ctrl_net_init(struct octep_device *oct)
int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid)
int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up,
int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up,
int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr)
int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr,
int octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid)
int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu,
int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid,
int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid,
int octep_ctrl_net_set_link_info(struct octep_device *oct, int vfid,
static void process_mbox_resp(struct octep_device *oct,
static int process_mbox_notify(struct octep_device *oct,
void octep_ctrl_net_recv_fw_messages(struct octep_device *oct)
int octep_ctrl_net_get_info(struct octep_device *oct, int vfid,
int octep_ctrl_net_dev_remove(struct octep_device *oct, int vfid)
int octep_ctrl_net_set_offloads(struct octep_device *oct, int vfid,
int octep_ctrl_net_uninit(struct octep_device *oct)
static int octep_send_mbox_req(struct octep_device *oct,
int octep_ctrl_net_init(struct octep_device *oct);
int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid);
int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up,
int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up,
int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr);
int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr,
int octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid);
int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu,
int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid,
int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid,
int octep_ctrl_net_set_link_info(struct octep_device *oct,
void octep_ctrl_net_recv_fw_messages(struct octep_device *oct);
int octep_ctrl_net_get_info(struct octep_device *oct, int vfid,
int octep_ctrl_net_dev_remove(struct octep_device *oct, int vfid);
int octep_ctrl_net_set_offloads(struct octep_device *oct, int vfid,
int octep_ctrl_net_uninit(struct octep_device *oct);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(dev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = container_of(work, struct octep_device,
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
static int octep_enable_msix_range(struct octep_device *oct)
struct octep_device *oct = netdev_priv(dev);
static bool octep_is_vf_valid(struct octep_device *oct, int vf)
struct octep_device *oct = netdev_priv(dev);
struct octep_device *oct = netdev_priv(dev);
struct octep_device *oct = container_of(work, struct octep_device,
struct octep_device *oct = container_of(work, struct octep_device,
struct octep_device *oct = container_of(work, struct octep_device,
static const char *octep_devid_to_str(struct octep_device *oct)
int octep_device_setup(struct octep_device *oct)
static void octep_device_cleanup(struct octep_device *oct)
struct octep_device *octep_dev = NULL;
netdev = alloc_etherdev_mq(sizeof(struct octep_device),
static void octep_disable_msix(struct octep_device *oct)
static int octep_sriov_disable(struct octep_device *oct)
struct octep_device *oct = pci_get_drvdata(pdev);
static int octep_sriov_enable(struct octep_device *oct, int num_vfs)
struct octep_device *oct = pci_get_drvdata(pdev);
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = data;
struct octep_device *oct = ioq_vector->octep_dev;
static int octep_request_irqs(struct octep_device *oct)
static void octep_free_irqs(struct octep_device *oct)
static int octep_setup_irqs(struct octep_device *oct)
static int octep_alloc_ioq_vectors(struct octep_device *oct)
static void octep_clean_irqs(struct octep_device *oct)
static void octep_napi_add(struct octep_device *oct)
static void octep_napi_delete(struct octep_device *oct)
static void octep_napi_enable(struct octep_device *oct)
static void octep_napi_disable(struct octep_device *oct)
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
struct octep_device *oct = netdev_priv(netdev);
static void octep_free_ioq_vectors(struct octep_device *oct)
void (*disable_interrupts)(struct octep_device *oct);
void (*poll_non_ioq_interrupts)(struct octep_device *oct);
void (*enable_io_queues)(struct octep_device *oct);
void (*disable_io_queues)(struct octep_device *oct);
void (*enable_iq)(struct octep_device *oct, int q);
void (*disable_iq)(struct octep_device *oct, int q);
void (*enable_oq)(struct octep_device *oct, int q);
void (*disable_oq)(struct octep_device *oct, int q);
void (*reset_io_queues)(struct octep_device *oct);
void (*dump_registers)(struct octep_device *oct);
struct octep_device *oct;
struct octep_device *octep_dev;
static inline u16 OCTEP_MAJOR_REV(struct octep_device *oct)
static inline u16 OCTEP_MINOR_REV(struct octep_device *oct)
OCTEP_PCI_WIN_READ(struct octep_device *oct, u64 addr)
OCTEP_PCI_WIN_WRITE(struct octep_device *oct, u64 addr, u64 val)
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);
void (*setup_iq_regs)(struct octep_device *oct, int q);
int (*setup_oq_regs)(struct octep_device *oct, int q);
void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
int (*soft_reset)(struct octep_device *oct);
void (*reinit_regs)(struct octep_device *oct);
void (*enable_interrupts)(struct octep_device *oct);
static int octep_send_notification(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_set_mtu(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_get_mtu(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_set_mac_addr(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_get_mac_addr(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_dev_remove(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_get_fw_info(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_set_offloads(struct octep_device *oct, u32 vf_id,
int octep_setup_pfvf_mbox(struct octep_device *oct)
void octep_delete_pfvf_mbox(struct octep_device *oct)
static void octep_pfvf_pf_get_data(struct octep_device *oct,
static void octep_pfvf_validate_version(struct octep_device *oct, u32 vf_id,
void octep_pfvf_notify(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg)
struct octep_device *oct = NULL;
oct = (struct octep_device *)mbox->oct;
static void octep_pfvf_get_link_status(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_set_link_status(struct octep_device *oct, u32 vf_id,
static void octep_pfvf_set_rx_state(struct octep_device *oct, u32 vf_id,
int octep_setup_pfvf_mbox(struct octep_device *oct);
void octep_delete_pfvf_mbox(struct octep_device *oct);
void octep_pfvf_notify(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg);
static int octep_setup_oq(struct octep_device *oct, int q_no)
struct octep_device *oct = oq->octep_dev;
int octep_setup_oqs(struct octep_device *oct)
void octep_oq_dbell_init(struct octep_device *oct)
void octep_free_oqs(struct octep_device *oct)
static int octep_oq_check_hw_for_pkts(struct octep_device *oct,
static int __octep_oq_process_rx(struct octep_device *oct,
struct octep_device *oct = oq->octep_dev;
static int octep_oq_refill(struct octep_device *oct, struct octep_oq *oq)
struct octep_device *octep_dev;
void octep_clean_iqs(struct octep_device *oct)
static int octep_setup_iq(struct octep_device *oct, int q_no)
struct octep_device *oct = iq->octep_dev;
int octep_setup_iqs(struct octep_device *oct)
void octep_free_iqs(struct octep_device *oct)
struct octep_device *oct = iq->octep_dev;
struct octep_device *octep_dev;