fm10k_intfc
struct fm10k_intfc *interface;
static inline void fm10k_mbx_lock(struct fm10k_intfc *interface)
static inline void fm10k_mbx_unlock(struct fm10k_intfc *interface)
static inline int fm10k_mbx_trylock(struct fm10k_intfc *interface)
int fm10k_init_queueing_scheme(struct fm10k_intfc *interface);
void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface);
void fm10k_tx_timeout_reset(struct fm10k_intfc *interface);
void fm10k_mbx_free_irq(struct fm10k_intfc *);
int fm10k_mbx_request_irq(struct fm10k_intfc *);
void fm10k_qv_free_irq(struct fm10k_intfc *interface);
int fm10k_qv_request_irq(struct fm10k_intfc *interface);
void fm10k_up(struct fm10k_intfc *interface);
void fm10k_down(struct fm10k_intfc *interface);
void fm10k_update_stats(struct fm10k_intfc *interface);
void fm10k_service_event_schedule(struct fm10k_intfc *interface);
void fm10k_macvlan_schedule(struct fm10k_intfc *interface);
void fm10k_update_rx_drop_en(struct fm10k_intfc *interface);
void fm10k_clean_all_rx_rings(struct fm10k_intfc *);
void fm10k_clean_all_tx_rings(struct fm10k_intfc *);
void fm10k_restore_rx_state(struct fm10k_intfc *);
void fm10k_reset_rx_state(struct fm10k_intfc *);
int fm10k_queue_vlan_request(struct fm10k_intfc *interface, u32 vid,
int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort,
void fm10k_clear_macvlan_queue(struct fm10k_intfc *interface,
void fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir);
s32 fm10k_iov_event(struct fm10k_intfc *interface);
s32 fm10k_iov_mbx(struct fm10k_intfc *interface);
void fm10k_iov_update_stats(struct fm10k_intfc *interface);
s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
void fm10k_dbg_intfc_init(struct fm10k_intfc *interface);
void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface);
static inline void fm10k_dbg_intfc_init(struct fm10k_intfc *interface) {}
static inline void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface) {}
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = q_vector->interface;
struct fm10k_intfc *interface = q_vector->interface;
void fm10k_dbg_intfc_init(struct fm10k_intfc *interface)
void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
FM10K_STAT_FIELDS(struct fm10k_intfc, _name, _stat)
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
static int fm10k_mbx_test(struct fm10k_intfc *interface, u64 *data)
struct fm10k_intfc *interface = netdev_priv(dev);
void fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir)
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = hw->back;
s32 fm10k_iov_event(struct fm10k_intfc *interface)
s32 fm10k_iov_mbx(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
struct fm10k_intfc *interface = hw->back;
s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid)
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
void fm10k_iov_update_stats(struct fm10k_intfc *interface)
static inline void fm10k_reset_vf_info(struct fm10k_intfc *interface,
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = ring->q_vector->interface;
void fm10k_tx_timeout_reset(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = q_vector->interface;
static bool fm10k_set_qos_queues(struct fm10k_intfc *interface)
static bool fm10k_set_rss_queues(struct fm10k_intfc *interface)
static void fm10k_set_num_queues(struct fm10k_intfc *interface)
static void fm10k_reset_num_queues(struct fm10k_intfc *interface)
static int fm10k_alloc_q_vector(struct fm10k_intfc *interface,
static void fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx)
static int fm10k_alloc_q_vectors(struct fm10k_intfc *interface)
static void fm10k_free_q_vectors(struct fm10k_intfc *interface)
static void fm10k_reset_msix_capability(struct fm10k_intfc *interface)
static int fm10k_init_msix_capability(struct fm10k_intfc *interface)
static bool fm10k_cache_ring_qos(struct fm10k_intfc *interface)
static void fm10k_cache_ring_rss(struct fm10k_intfc *interface)
static void fm10k_assign_rings(struct fm10k_intfc *interface)
static void fm10k_init_reta(struct fm10k_intfc *interface)
int fm10k_init_queueing_scheme(struct fm10k_intfc *interface)
void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(skb->dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
void fm10k_restore_rx_state(struct fm10k_intfc *interface)
void fm10k_reset_rx_state(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(netdev);
static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(dev);
static void fm10k_assign_l2_accel(struct fm10k_intfc *interface,
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface;
dev = alloc_etherdev_mq(sizeof(struct fm10k_intfc), MAX_QUEUES);
void fm10k_clean_all_tx_rings(struct fm10k_intfc *interface)
static void fm10k_free_all_tx_resources(struct fm10k_intfc *interface)
void fm10k_clean_all_rx_rings(struct fm10k_intfc *interface)
static void fm10k_free_all_rx_resources(struct fm10k_intfc *interface)
static void fm10k_request_glort_range(struct fm10k_intfc *interface)
static void fm10k_restore_udp_port_info(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(dev);
static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(netdev);
static bool fm10k_host_mbx_ready(struct fm10k_intfc *interface)
int fm10k_queue_vlan_request(struct fm10k_intfc *interface,
int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort,
void fm10k_clear_macvlan_queue(struct fm10k_intfc *interface,
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
struct fm10k_intfc *interface = netdev_priv(netdev);
static u16 fm10k_find_next_vlan(struct fm10k_intfc *interface, u16 vid)
static void fm10k_clear_unused_vlans(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = netdev_priv(dev);
struct fm10k_intfc *interface = netdev_priv(dev);
void fm10k_update_rx_drop_en(struct fm10k_intfc *interface)
static void fm10k_configure_dglort(struct fm10k_intfc *interface)
static void fm10k_stop_macvlan_task(struct fm10k_intfc *interface)
static void fm10k_configure_rx(struct fm10k_intfc *interface)
static void fm10k_napi_enable_all(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = data;
static void fm10k_handle_fault(struct fm10k_intfc *interface, int type,
static void fm10k_report_fault(struct fm10k_intfc *interface, u32 eicr)
static void fm10k_reset_drop_on_empty(struct fm10k_intfc *interface, u32 eicr)
static void fm10k_resume_macvlan_task(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = data;
void fm10k_mbx_free_irq(struct fm10k_intfc *interface)
struct fm10k_intfc *interface;
interface = container_of(hw, struct fm10k_intfc, hw);
void fm10k_service_event_schedule(struct fm10k_intfc *interface)
struct fm10k_intfc *interface;
interface = container_of(hw, struct fm10k_intfc, hw);
static int fm10k_mbx_request_irq_vf(struct fm10k_intfc *interface)
struct fm10k_intfc *interface;
interface = container_of(hw, struct fm10k_intfc, hw);
static void fm10k_service_event_complete(struct fm10k_intfc *interface)
struct fm10k_intfc *interface;
interface = container_of(hw, struct fm10k_intfc, hw);
static int fm10k_mbx_request_irq_pf(struct fm10k_intfc *interface)
int fm10k_mbx_request_irq(struct fm10k_intfc *interface)
void fm10k_qv_free_irq(struct fm10k_intfc *interface)
static void fm10k_stop_service_event(struct fm10k_intfc *interface)
int fm10k_qv_request_irq(struct fm10k_intfc *interface)
void fm10k_up(struct fm10k_intfc *interface)
static void fm10k_napi_disable_all(struct fm10k_intfc *interface)
void fm10k_down(struct fm10k_intfc *interface)
static void fm10k_start_service_event(struct fm10k_intfc *interface)
static int fm10k_sw_init(struct fm10k_intfc *interface,
struct fm10k_intfc *interface = timer_container_of(interface, t,
struct fm10k_intfc *interface;
static bool fm10k_prepare_for_reset(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
static void fm10k_prepare_suspend(struct fm10k_intfc *interface)
static int fm10k_handle_resume(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = dev_get_drvdata(dev);
struct fm10k_intfc *interface = dev_get_drvdata(dev);
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
struct fm10k_intfc *interface = pci_get_drvdata(pdev);
static int fm10k_handle_reset(struct fm10k_intfc *interface)
static void fm10k_detach_subtask(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = hw->back;
static void fm10k_reset_subtask(struct fm10k_intfc *interface)
static void fm10k_configure_swpri_map(struct fm10k_intfc *interface)
static void fm10k_watchdog_update_host_state(struct fm10k_intfc *interface)
static void fm10k_mbx_subtask(struct fm10k_intfc *interface)
static void fm10k_watchdog_host_is_ready(struct fm10k_intfc *interface)
static void fm10k_watchdog_host_not_ready(struct fm10k_intfc *interface)
void fm10k_update_stats(struct fm10k_intfc *interface)
struct fm10k_intfc *interface = hw->back;
static void fm10k_watchdog_flush_tx(struct fm10k_intfc *interface)
static void fm10k_watchdog_subtask(struct fm10k_intfc *interface)
static int fm10k_hw_ready(struct fm10k_intfc *interface)
static void fm10k_check_hang_subtask(struct fm10k_intfc *interface)
struct fm10k_intfc *interface;
interface = container_of(work, struct fm10k_intfc, service_task);
struct fm10k_intfc *interface;
interface = container_of(dwork, struct fm10k_intfc, macvlan_task);
void fm10k_macvlan_schedule(struct fm10k_intfc *interface)
static void fm10k_configure_tx_ring(struct fm10k_intfc *interface,
static void fm10k_enable_tx_ring(struct fm10k_intfc *interface,
static void fm10k_configure_tx(struct fm10k_intfc *interface)
static void fm10k_configure_rx_ring(struct fm10k_intfc *interface,