Lines Matching refs:igc_adapter
80 void igc_reset(struct igc_adapter *adapter) in igc_reset()
133 static void igc_power_up_link(struct igc_adapter *adapter) in igc_power_up_link()
150 static void igc_release_hw_control(struct igc_adapter *adapter) in igc_release_hw_control()
172 static void igc_get_hw_control(struct igc_adapter *adapter) in igc_get_hw_control()
292 static void igc_free_all_tx_resources(struct igc_adapter *adapter) in igc_free_all_tx_resources()
304 static void igc_clean_all_tx_rings(struct igc_adapter *adapter) in igc_clean_all_tx_rings()
357 static int igc_setup_all_tx_resources(struct igc_adapter *adapter) in igc_setup_all_tx_resources()
447 static void igc_clean_all_rx_rings(struct igc_adapter *adapter) in igc_clean_all_rx_rings()
487 static void igc_free_all_rx_resources(struct igc_adapter *adapter) in igc_free_all_rx_resources()
557 static int igc_setup_all_rx_resources(struct igc_adapter *adapter) in igc_setup_all_rx_resources()
575 static struct xsk_buff_pool *igc_get_xsk_pool(struct igc_adapter *adapter, in igc_get_xsk_pool()
592 static void igc_configure_rx_ring(struct igc_adapter *adapter, in igc_configure_rx_ring()
674 static void igc_configure_rx(struct igc_adapter *adapter) in igc_configure_rx()
692 static void igc_configure_tx_ring(struct igc_adapter *adapter, in igc_configure_tx_ring()
731 static void igc_configure_tx(struct igc_adapter *adapter) in igc_configure_tx()
743 static void igc_setup_mrqc(struct igc_adapter *adapter) in igc_setup_mrqc()
800 static void igc_setup_rctl(struct igc_adapter *adapter) in igc_setup_rctl()
847 static void igc_setup_tctl(struct igc_adapter *adapter) in igc_setup_tctl()
877 static void igc_set_mac_filter_hw(struct igc_adapter *adapter, int index, in igc_set_mac_filter_hw()
915 static void igc_clear_mac_filter_hw(struct igc_adapter *adapter, int index) in igc_clear_mac_filter_hw()
930 static void igc_set_default_mac_filter(struct igc_adapter *adapter) in igc_set_default_mac_filter()
949 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_mac()
976 struct igc_adapter *adapter = netdev_priv(netdev); in igc_write_mc_addr_list()
1003 static __le32 igc_tx_launchtime(struct igc_adapter *adapter, ktime_t txtime) in igc_tx_launchtime()
1048 struct igc_adapter *adapter = netdev_priv(tx_ring->netdev); in igc_tx_ctxtdesc()
1449 struct igc_adapter *adapter = netdev_priv(tx_ring->netdev); in igc_xmit_frame_ring()
1494 static inline struct igc_ring *igc_tx_queue_mapping(struct igc_adapter *adapter, in igc_tx_queue_mapping()
1508 struct igc_adapter *adapter = netdev_priv(netdev); in igc_xmit_frame()
1619 struct igc_adapter *adapter = netdev_priv(netdev); in igc_vlan_mode()
1635 static void igc_restore_vlan(struct igc_adapter *adapter) in igc_restore_vlan()
1953 struct igc_adapter *adapter = rx_ring->q_vector->adapter; in igc_rx_offset()
2193 static struct igc_ring *igc_xdp_get_tx_ring(struct igc_adapter *adapter, in igc_xdp_get_tx_ring()
2207 static int igc_xdp_xmit_back(struct igc_adapter *adapter, struct xdp_buff *xdp) in igc_xdp_xmit_back()
2228 static int __igc_xdp_run_prog(struct igc_adapter *adapter, in __igc_xdp_run_prog()
2258 static struct sk_buff *igc_xdp_run_prog(struct igc_adapter *adapter, in igc_xdp_run_prog()
2287 static void igc_finalize_xdp(struct igc_adapter *adapter, int status) in igc_finalize_xdp()
2323 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq()
2500 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq_zc()
2676 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_tx_irq()
2843 static int igc_find_mac_filter(struct igc_adapter *adapter, in igc_find_mac_filter()
2871 static int igc_get_avail_mac_filter_slot(struct igc_adapter *adapter) in igc_get_avail_mac_filter_slot()
2899 static int igc_add_mac_filter(struct igc_adapter *adapter, in igc_add_mac_filter()
2929 static void igc_del_mac_filter(struct igc_adapter *adapter, in igc_del_mac_filter()
2965 static int igc_add_vlan_prio_filter(struct igc_adapter *adapter, int prio, in igc_add_vlan_prio_filter()
2994 static void igc_del_vlan_prio_filter(struct igc_adapter *adapter, int prio) in igc_del_vlan_prio_filter()
3010 static int igc_get_avail_etype_filter_slot(struct igc_adapter *adapter) in igc_get_avail_etype_filter_slot()
3035 static int igc_add_etype_filter(struct igc_adapter *adapter, u16 etype, in igc_add_etype_filter()
3066 static int igc_find_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_find_etype_filter()
3086 static void igc_del_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_del_etype_filter()
3101 static int igc_flex_filter_select(struct igc_adapter *adapter, in igc_flex_filter_select()
3142 static int igc_write_flex_filter_ll(struct igc_adapter *adapter, in igc_write_flex_filter_ll()
3260 static int igc_find_avail_flex_filter_slot(struct igc_adapter *adapter) in igc_find_avail_flex_filter_slot()
3282 static bool igc_flex_filter_in_use(struct igc_adapter *adapter) in igc_flex_filter_in_use()
3299 static int igc_add_flex_filter(struct igc_adapter *adapter, in igc_add_flex_filter()
3375 static void igc_del_flex_filter(struct igc_adapter *adapter, in igc_del_flex_filter()
3406 static int igc_enable_nfc_rule(struct igc_adapter *adapter, in igc_enable_nfc_rule()
3448 static void igc_disable_nfc_rule(struct igc_adapter *adapter, in igc_disable_nfc_rule()
3484 struct igc_nfc_rule *igc_get_nfc_rule(struct igc_adapter *adapter, in igc_get_nfc_rule()
3508 void igc_del_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_del_nfc_rule()
3518 static void igc_flush_nfc_rules(struct igc_adapter *adapter) in igc_flush_nfc_rules()
3541 int igc_add_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_add_nfc_rule()
3562 static void igc_restore_nfc_rules(struct igc_adapter *adapter) in igc_restore_nfc_rules()
3576 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_sync()
3583 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_unsync()
3600 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_rx_mode()
3644 static void igc_configure(struct igc_adapter *adapter) in igc_configure()
3707 struct igc_adapter *adapter = q_vector->adapter; in igc_assign_vector()
3748 static void igc_configure_msix(struct igc_adapter *adapter) in igc_configure_msix()
3789 static void igc_irq_enable(struct igc_adapter *adapter) in igc_irq_enable()
3812 static void igc_irq_disable(struct igc_adapter *adapter) in igc_irq_disable()
3841 void igc_set_flag_queue_pairs(struct igc_adapter *adapter, in igc_set_flag_queue_pairs()
3854 unsigned int igc_get_max_rss_queues(struct igc_adapter *adapter) in igc_get_max_rss_queues()
3859 static void igc_init_queue_configuration(struct igc_adapter *adapter) in igc_init_queue_configuration()
3877 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx) in igc_reset_q_vector()
3903 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector()
3924 static void igc_free_q_vectors(struct igc_adapter *adapter) in igc_free_q_vectors()
4007 struct igc_adapter *adapter = q_vector->adapter; in igc_set_itr()
4069 static void igc_reset_interrupt_capability(struct igc_adapter *adapter) in igc_reset_interrupt_capability()
4093 static void igc_set_interrupt_capability(struct igc_adapter *adapter, in igc_set_interrupt_capability()
4171 struct igc_adapter *adapter = q_vector->adapter; in igc_update_ring_itr()
4233 struct igc_adapter *adapter = q_vector->adapter; in igc_ring_irq_enable()
4266 static void igc_cache_ring_register(struct igc_adapter *adapter) in igc_cache_ring_register()
4333 static int igc_alloc_q_vector(struct igc_adapter *adapter, in igc_alloc_q_vector()
4438 static int igc_alloc_q_vectors(struct igc_adapter *adapter) in igc_alloc_q_vectors()
4497 static int igc_init_interrupt_scheme(struct igc_adapter *adapter, bool msix) in igc_init_interrupt_scheme()
4527 static int igc_sw_init(struct igc_adapter *adapter) in igc_sw_init()
4579 void igc_up(struct igc_adapter *adapter) in igc_up()
4612 void igc_update_stats(struct igc_adapter *adapter) in igc_update_stats()
4778 void igc_down(struct igc_adapter *adapter) in igc_down()
4843 void igc_reinit_locked(struct igc_adapter *adapter) in igc_reinit_locked()
4854 struct igc_adapter *adapter; in igc_reset_task()
4856 adapter = container_of(work, struct igc_adapter, reset_task); in igc_reset_task()
4883 struct igc_adapter *adapter = netdev_priv(netdev); in igc_change_mtu()
4927 struct igc_adapter *adapter = netdev_priv(netdev); in igc_get_stats64()
4954 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_features()
5007 static void igc_tsync_interrupt(struct igc_adapter *adapter) in igc_tsync_interrupt()
5089 struct igc_adapter *adapter = data; in igc_msix_other()
5152 static int igc_request_msix(struct igc_adapter *adapter) in igc_request_msix()
5218 static void igc_clear_interrupt_scheme(struct igc_adapter *adapter) in igc_clear_interrupt_scheme()
5229 struct igc_adapter *adapter = from_timer(adapter, t, phy_info_timer); in igc_update_phy_info()
5238 bool igc_has_link(struct igc_adapter *adapter) in igc_has_link()
5271 struct igc_adapter *adapter = from_timer(adapter, t, watchdog_timer); in igc_watchdog()
5278 struct igc_adapter *adapter = container_of(work, in igc_watchdog_task()
5279 struct igc_adapter, in igc_watchdog_task()
5465 struct igc_adapter *adapter = data; in igc_intr_msi()
5502 struct igc_adapter *adapter = data; in igc_intr()
5541 static void igc_free_irq(struct igc_adapter *adapter) in igc_free_irq()
5563 static int igc_request_irq(struct igc_adapter *adapter) in igc_request_irq()
5624 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_open()
5724 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_close()
5772 static int igc_save_launchtime_params(struct igc_adapter *adapter, int queue, in igc_save_launchtime_params()
5795 static bool validate_schedule(struct igc_adapter *adapter, in validate_schedule()
5839 static int igc_tsn_enable_launchtime(struct igc_adapter *adapter, in igc_tsn_enable_launchtime()
5855 static int igc_tsn_clear_schedule(struct igc_adapter *adapter) in igc_tsn_clear_schedule()
5872 static int igc_save_qbv_schedule(struct igc_adapter *adapter, in igc_save_qbv_schedule()
5915 static int igc_tsn_enable_qbv_scheduling(struct igc_adapter *adapter, in igc_tsn_enable_qbv_scheduling()
5931 static int igc_save_cbs_params(struct igc_adapter *adapter, int queue, in igc_save_cbs_params()
5978 static int igc_tsn_enable_cbs(struct igc_adapter *adapter, in igc_tsn_enable_cbs()
6002 struct igc_adapter *adapter = netdev_priv(dev); in igc_setup_tc()
6021 struct igc_adapter *adapter = netdev_priv(dev); in igc_bpf()
6037 struct igc_adapter *adapter = netdev_priv(dev); in igc_xdp_xmit()
6074 static void igc_trigger_rxtxq_interrupt(struct igc_adapter *adapter, in igc_trigger_rxtxq_interrupt()
6086 struct igc_adapter *adapter = netdev_priv(dev); in igc_xsk_wakeup()
6132 struct igc_adapter *adapter = hw->back; in igc_read_pci_cfg()
6139 struct igc_adapter *adapter = hw->back; in igc_write_pci_cfg()
6146 struct igc_adapter *adapter = hw->back; in igc_read_pcie_cap_reg()
6158 struct igc_adapter *adapter = hw->back; in igc_write_pcie_cap_reg()
6170 struct igc_adapter *igc = container_of(hw, struct igc_adapter, hw); in igc_rd32()
6207 struct igc_adapter *adapter; in igc_probe()
6237 netdev = alloc_etherdev_mq(sizeof(struct igc_adapter), in igc_probe()
6454 struct igc_adapter *adapter = netdev_priv(netdev); in igc_remove()
6491 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_shutdown()
6564 struct igc_adapter *adapter = netdev_priv(netdev); in igc_deliver_wake_packet()
6596 struct igc_adapter *adapter = netdev_priv(netdev); in igc_resume()
6658 struct igc_adapter *adapter = netdev_priv(netdev); in igc_runtime_idle()
6691 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_error_detected()
6716 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_slot_reset()
6755 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_resume()
6804 int igc_reinit_queues(struct igc_adapter *adapter) in igc_reinit_queues()
6833 struct igc_adapter *adapter = hw->back; in igc_get_hw_dev()
6858 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_rx_ring()
6888 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_tx_ring()