octep_vf_device
static void cn93_vf_reset_oq(struct octep_vf_device *oct, int q_no)
static void octep_vf_reset_io_queues_cn93(struct octep_vf_device *oct)
static void octep_vf_init_config_cn93_vf(struct octep_vf_device *oct)
static void octep_vf_setup_iq_regs_cn93(struct octep_vf_device *oct, int iq_no)
static void cn93_vf_dump_q_regs(struct octep_vf_device *oct, int qno)
static int octep_vf_setup_oq_regs_cn93(struct octep_vf_device *oct, int oq_no)
static void octep_vf_setup_mbox_regs_cn93(struct octep_vf_device *oct, int q_no)
static void cn93_handle_vf_mbox_intr(struct octep_vf_device *oct)
struct octep_vf_device *oct;
static void octep_vf_reinit_regs_cn93(struct octep_vf_device *oct)
static void octep_vf_enable_interrupts_cn93(struct octep_vf_device *oct)
static void octep_vf_disable_interrupts_cn93(struct octep_vf_device *oct)
static void octep_vf_enable_iq_cn93(struct octep_vf_device *oct, int iq_no)
static void octep_vf_enable_oq_cn93(struct octep_vf_device *oct, int oq_no)
static void octep_vf_enable_io_queues_cn93(struct octep_vf_device *oct)
static void octep_vf_disable_iq_cn93(struct octep_vf_device *oct, int iq_no)
static void octep_vf_disable_oq_cn93(struct octep_vf_device *oct, int oq_no)
static void octep_vf_disable_io_queues_cn93(struct octep_vf_device *oct)
static void octep_vf_dump_registers_cn93(struct octep_vf_device *oct)
void octep_vf_device_setup_cn93(struct octep_vf_device *oct)
static void cn93_vf_reset_iq(struct octep_vf_device *oct, int q_no)
static void cnxk_vf_reset_oq(struct octep_vf_device *oct, int q_no)
static void octep_vf_reset_io_queues_cnxk(struct octep_vf_device *oct)
static void octep_vf_init_config_cnxk_vf(struct octep_vf_device *oct)
static void octep_vf_setup_iq_regs_cnxk(struct octep_vf_device *oct, int iq_no)
static void cnxk_vf_dump_q_regs(struct octep_vf_device *oct, int qno)
static int octep_vf_setup_oq_regs_cnxk(struct octep_vf_device *oct, int oq_no)
static void octep_vf_setup_mbox_regs_cnxk(struct octep_vf_device *oct, int q_no)
static void cnxk_handle_vf_mbox_intr(struct octep_vf_device *oct)
struct octep_vf_device *oct;
static void octep_vf_reinit_regs_cnxk(struct octep_vf_device *oct)
static void octep_vf_enable_interrupts_cnxk(struct octep_vf_device *oct)
static void octep_vf_disable_interrupts_cnxk(struct octep_vf_device *oct)
static void octep_vf_enable_iq_cnxk(struct octep_vf_device *oct, int iq_no)
static void octep_vf_enable_oq_cnxk(struct octep_vf_device *oct, int oq_no)
static void octep_vf_enable_io_queues_cnxk(struct octep_vf_device *oct)
static void octep_vf_disable_iq_cnxk(struct octep_vf_device *oct, int iq_no)
static void octep_vf_disable_oq_cnxk(struct octep_vf_device *oct, int oq_no)
static void octep_vf_disable_io_queues_cnxk(struct octep_vf_device *oct)
static void octep_vf_dump_registers_cnxk(struct octep_vf_device *oct)
void octep_vf_device_setup_cnxk(struct octep_vf_device *oct)
static void cnxk_vf_reset_iq(struct octep_vf_device *oct, int q_no)
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(dev);
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
static void octep_vf_device_cleanup(struct octep_vf_device *oct)
static int octep_vf_get_mac_addr(struct octep_vf_device *oct, u8 *addr)
struct octep_vf_device *octep_vf_dev;
static int octep_vf_enable_msix_range(struct octep_vf_device *oct)
netdev = alloc_etherdev_mq(sizeof(struct octep_vf_device),
struct octep_vf_device *oct = pci_get_drvdata(pdev);
static void octep_vf_disable_msix(struct octep_vf_device *oct)
struct octep_vf_device *oct = ioq_vector->octep_vf_dev;
static int octep_vf_request_irqs(struct octep_vf_device *oct)
static void octep_vf_free_irqs(struct octep_vf_device *oct)
static int octep_vf_setup_irqs(struct octep_vf_device *oct)
static void octep_vf_clean_irqs(struct octep_vf_device *oct)
static void octep_vf_napi_add(struct octep_vf_device *oct)
static void octep_vf_napi_delete(struct octep_vf_device *oct)
static void octep_vf_napi_enable(struct octep_vf_device *oct)
static void octep_vf_napi_disable(struct octep_vf_device *oct)
static void octep_vf_set_rx_state(struct octep_vf_device *oct, bool up)
static int octep_vf_get_link_status(struct octep_vf_device *oct)
static void octep_vf_set_link_status(struct octep_vf_device *oct, bool up)
struct octep_vf_device *oct = netdev_priv(netdev);
static int octep_vf_alloc_ioq_vectors(struct octep_vf_device *oct)
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
int octep_vf_get_if_stats(struct octep_vf_device *oct)
int octep_vf_get_link_info(struct octep_vf_device *oct)
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = container_of(work, struct octep_vf_device,
static void octep_vf_free_ioq_vectors(struct octep_vf_device *oct)
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
struct octep_vf_device *oct = netdev_priv(netdev);
static const char *octep_vf_devid_to_str(struct octep_vf_device *oct)
int octep_vf_device_setup(struct octep_vf_device *oct)
struct octep_vf_device *octep_vf_dev;
static inline u16 OCTEP_VF_MAJOR_REV(struct octep_vf_device *oct)
static inline u16 OCTEP_VF_MINOR_REV(struct octep_vf_device *oct)
int octep_vf_device_setup(struct octep_vf_device *oct);
int octep_vf_setup_iqs(struct octep_vf_device *oct);
void octep_vf_free_iqs(struct octep_vf_device *oct);
void octep_vf_clean_iqs(struct octep_vf_device *oct);
int octep_vf_setup_oqs(struct octep_vf_device *oct);
void octep_vf_free_oqs(struct octep_vf_device *oct);
void octep_vf_oq_dbell_init(struct octep_vf_device *oct);
void octep_vf_device_setup_cn93(struct octep_vf_device *oct);
void octep_vf_device_setup_cnxk(struct octep_vf_device *oct);
int octep_vf_get_link_info(struct octep_vf_device *oct);
int octep_vf_get_if_stats(struct octep_vf_device *oct);
void (*setup_iq_regs)(struct octep_vf_device *oct, int q);
int (*setup_oq_regs)(struct octep_vf_device *oct, int q);
void (*setup_mbox_regs)(struct octep_vf_device *oct, int mbox);
void (*reinit_regs)(struct octep_vf_device *oct);
void (*enable_interrupts)(struct octep_vf_device *oct);
void (*disable_interrupts)(struct octep_vf_device *oct);
void (*enable_io_queues)(struct octep_vf_device *oct);
void (*disable_io_queues)(struct octep_vf_device *oct);
void (*enable_iq)(struct octep_vf_device *oct, int q);
void (*disable_iq)(struct octep_vf_device *oct, int q);
void (*enable_oq)(struct octep_vf_device *oct, int q);
void (*disable_oq)(struct octep_vf_device *oct, int q);
void (*reset_io_queues)(struct octep_vf_device *oct);
void (*dump_registers)(struct octep_vf_device *oct);
static int __octep_vf_mbox_send_cmd(struct octep_vf_device *oct,
int octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd,
int octep_vf_mbox_bulk_read(struct octep_vf_device *oct, enum octep_pfvf_mbox_opcode opcode,
int octep_vf_setup_mbox(struct octep_vf_device *oct)
int octep_vf_mbox_set_mtu(struct octep_vf_device *oct, int mtu)
int octep_vf_mbox_set_mac_addr(struct octep_vf_device *oct, char *mac_addr)
int octep_vf_mbox_get_mac_addr(struct octep_vf_device *oct, char *mac_addr)
int octep_vf_mbox_set_rx_state(struct octep_vf_device *oct, bool state)
int octep_vf_mbox_set_link_status(struct octep_vf_device *oct, bool status)
int octep_vf_mbox_get_link_status(struct octep_vf_device *oct, u8 *oper_up)
int octep_vf_mbox_dev_remove(struct octep_vf_device *oct)
int octep_vf_mbox_get_fw_info(struct octep_vf_device *oct)
void octep_vf_delete_mbox(struct octep_vf_device *oct)
int octep_vf_mbox_set_offloads(struct octep_vf_device *oct, u16 tx_offloads,
int octep_vf_mbox_version_check(struct octep_vf_device *oct)
struct octep_vf_device *oct = NULL;
oct = (struct octep_vf_device *)wk->ctxptr;
int octep_vf_setup_mbox(struct octep_vf_device *oct);
void octep_vf_delete_mbox(struct octep_vf_device *oct);
int octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd,
int octep_vf_mbox_bulk_read(struct octep_vf_device *oct, enum octep_pfvf_mbox_opcode opcode,
int octep_vf_mbox_set_mtu(struct octep_vf_device *oct, int mtu);
int octep_vf_mbox_set_mac_addr(struct octep_vf_device *oct, char *mac_addr);
int octep_vf_mbox_get_mac_addr(struct octep_vf_device *oct, char *mac_addr);
int octep_vf_mbox_version_check(struct octep_vf_device *oct);
int octep_vf_mbox_set_rx_state(struct octep_vf_device *oct, bool state);
int octep_vf_mbox_set_link_status(struct octep_vf_device *oct, bool status);
int octep_vf_mbox_get_link_status(struct octep_vf_device *oct, u8 *oper_up);
int octep_vf_mbox_dev_remove(struct octep_vf_device *oct);
int octep_vf_mbox_get_fw_info(struct octep_vf_device *oct);
int octep_vf_mbox_set_offloads(struct octep_vf_device *oct, u16 tx_offloads, u16 rx_offloads);
static int octep_vf_setup_oq(struct octep_vf_device *oct, int q_no)
struct octep_vf_device *oct = oq->octep_vf_dev;
int octep_vf_setup_oqs(struct octep_vf_device *oct)
void octep_vf_oq_dbell_init(struct octep_vf_device *oct)
void octep_vf_free_oqs(struct octep_vf_device *oct)
static int octep_vf_oq_check_hw_for_pkts(struct octep_vf_device *oct,
static int __octep_vf_oq_process_rx(struct octep_vf_device *oct,
struct octep_vf_device *oct = oq->octep_vf_dev;
static int octep_vf_oq_refill(struct octep_vf_device *oct, struct octep_vf_oq *oq)
struct octep_vf_device *octep_vf_dev;
void octep_vf_clean_iqs(struct octep_vf_device *oct)
static int octep_vf_setup_iq(struct octep_vf_device *oct, int q_no)
struct octep_vf_device *oct = iq->octep_vf_dev;
int octep_vf_setup_iqs(struct octep_vf_device *oct)
void octep_vf_free_iqs(struct octep_vf_device *oct)
struct octep_vf_device *oct = iq->octep_vf_dev;
struct octep_vf_device *octep_vf_dev;