Lines Matching refs:igc_adapter

79 void igc_reset(struct igc_adapter *adapter)  in igc_reset()
132 static void igc_power_up_link(struct igc_adapter *adapter) in igc_power_up_link()
149 static void igc_release_hw_control(struct igc_adapter *adapter) in igc_release_hw_control()
171 static void igc_get_hw_control(struct igc_adapter *adapter) in igc_get_hw_control()
298 static void igc_free_all_tx_resources(struct igc_adapter *adapter) in igc_free_all_tx_resources()
310 static void igc_clean_all_tx_rings(struct igc_adapter *adapter) in igc_clean_all_tx_rings()
335 static void igc_disable_all_tx_rings_hw(struct igc_adapter *adapter) in igc_disable_all_tx_rings_hw()
390 static int igc_setup_all_tx_resources(struct igc_adapter *adapter) in igc_setup_all_tx_resources()
480 static void igc_clean_all_rx_rings(struct igc_adapter *adapter) in igc_clean_all_rx_rings()
520 static void igc_free_all_rx_resources(struct igc_adapter *adapter) in igc_free_all_rx_resources()
590 static int igc_setup_all_rx_resources(struct igc_adapter *adapter) in igc_setup_all_rx_resources()
608 static struct xsk_buff_pool *igc_get_xsk_pool(struct igc_adapter *adapter, in igc_get_xsk_pool()
625 static void igc_configure_rx_ring(struct igc_adapter *adapter, in igc_configure_rx_ring()
710 static void igc_configure_rx(struct igc_adapter *adapter) in igc_configure_rx()
728 static void igc_configure_tx_ring(struct igc_adapter *adapter, in igc_configure_tx_ring()
766 static void igc_configure_tx(struct igc_adapter *adapter) in igc_configure_tx()
778 static void igc_setup_mrqc(struct igc_adapter *adapter) in igc_setup_mrqc()
835 static void igc_setup_rctl(struct igc_adapter *adapter) in igc_setup_rctl()
882 static void igc_setup_tctl(struct igc_adapter *adapter) in igc_setup_tctl()
912 static void igc_set_mac_filter_hw(struct igc_adapter *adapter, int index, in igc_set_mac_filter_hw()
950 static void igc_clear_mac_filter_hw(struct igc_adapter *adapter, int index) in igc_clear_mac_filter_hw()
965 static void igc_set_default_mac_filter(struct igc_adapter *adapter) in igc_set_default_mac_filter()
984 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_mac()
1011 struct igc_adapter *adapter = netdev_priv(netdev); in igc_write_mc_addr_list()
1041 struct igc_adapter *adapter = netdev_priv(ring->netdev); in igc_tx_launchtime()
1547 static bool igc_request_tx_tstamp(struct igc_adapter *adapter, struct sk_buff *skb, u32 *flags) in igc_request_tx_tstamp()
1570 struct igc_adapter *adapter = netdev_priv(tx_ring->netdev); in igc_xmit_frame_ring()
1683 static inline struct igc_ring *igc_tx_queue_mapping(struct igc_adapter *adapter, in igc_tx_queue_mapping()
1697 struct igc_adapter *adapter = netdev_priv(netdev); in igc_xmit_frame()
1830 struct igc_adapter *adapter = netdev_priv(netdev); in igc_vlan_mode()
1846 static void igc_restore_vlan(struct igc_adapter *adapter) in igc_restore_vlan()
2164 struct igc_adapter *adapter = rx_ring->q_vector->adapter; in igc_rx_offset()
2443 static struct igc_ring *igc_xdp_get_tx_ring(struct igc_adapter *adapter, in igc_xdp_get_tx_ring()
2457 static int igc_xdp_xmit_back(struct igc_adapter *adapter, struct xdp_buff *xdp) in igc_xdp_xmit_back()
2480 static int __igc_xdp_run_prog(struct igc_adapter *adapter, in __igc_xdp_run_prog()
2510 static struct sk_buff *igc_xdp_run_prog(struct igc_adapter *adapter, in igc_xdp_run_prog()
2539 static void igc_finalize_xdp(struct igc_adapter *adapter, int status) in igc_finalize_xdp()
2575 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq()
2764 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq_zc()
2948 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_tx_irq()
3117 static int igc_find_mac_filter(struct igc_adapter *adapter, in igc_find_mac_filter()
3145 static int igc_get_avail_mac_filter_slot(struct igc_adapter *adapter) in igc_get_avail_mac_filter_slot()
3173 static int igc_add_mac_filter(struct igc_adapter *adapter, in igc_add_mac_filter()
3203 static void igc_del_mac_filter(struct igc_adapter *adapter, in igc_del_mac_filter()
3239 static int igc_add_vlan_prio_filter(struct igc_adapter *adapter, int prio, in igc_add_vlan_prio_filter()
3268 static void igc_del_vlan_prio_filter(struct igc_adapter *adapter, int prio) in igc_del_vlan_prio_filter()
3284 static int igc_get_avail_etype_filter_slot(struct igc_adapter *adapter) in igc_get_avail_etype_filter_slot()
3309 static int igc_add_etype_filter(struct igc_adapter *adapter, u16 etype, in igc_add_etype_filter()
3340 static int igc_find_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_find_etype_filter()
3360 static void igc_del_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_del_etype_filter()
3375 static int igc_flex_filter_select(struct igc_adapter *adapter, in igc_flex_filter_select()
3416 static int igc_write_flex_filter_ll(struct igc_adapter *adapter, in igc_write_flex_filter_ll()
3534 static int igc_find_avail_flex_filter_slot(struct igc_adapter *adapter) in igc_find_avail_flex_filter_slot()
3556 static bool igc_flex_filter_in_use(struct igc_adapter *adapter) in igc_flex_filter_in_use()
3573 static int igc_add_flex_filter(struct igc_adapter *adapter, in igc_add_flex_filter()
3649 static void igc_del_flex_filter(struct igc_adapter *adapter, in igc_del_flex_filter()
3680 static int igc_enable_nfc_rule(struct igc_adapter *adapter, in igc_enable_nfc_rule()
3722 static void igc_disable_nfc_rule(struct igc_adapter *adapter, in igc_disable_nfc_rule()
3758 struct igc_nfc_rule *igc_get_nfc_rule(struct igc_adapter *adapter, in igc_get_nfc_rule()
3782 void igc_del_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_del_nfc_rule()
3792 static void igc_flush_nfc_rules(struct igc_adapter *adapter) in igc_flush_nfc_rules()
3815 int igc_add_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_add_nfc_rule()
3836 static void igc_restore_nfc_rules(struct igc_adapter *adapter) in igc_restore_nfc_rules()
3850 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_sync()
3857 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_unsync()
3874 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_rx_mode()
3918 static void igc_configure(struct igc_adapter *adapter) in igc_configure()
3981 struct igc_adapter *adapter = q_vector->adapter; in igc_assign_vector()
4022 static void igc_configure_msix(struct igc_adapter *adapter) in igc_configure_msix()
4063 static void igc_irq_enable(struct igc_adapter *adapter) in igc_irq_enable()
4086 static void igc_irq_disable(struct igc_adapter *adapter) in igc_irq_disable()
4115 void igc_set_flag_queue_pairs(struct igc_adapter *adapter, in igc_set_flag_queue_pairs()
4128 unsigned int igc_get_max_rss_queues(struct igc_adapter *adapter) in igc_get_max_rss_queues()
4133 static void igc_init_queue_configuration(struct igc_adapter *adapter) in igc_init_queue_configuration()
4151 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx) in igc_reset_q_vector()
4177 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector()
4198 static void igc_free_q_vectors(struct igc_adapter *adapter) in igc_free_q_vectors()
4281 struct igc_adapter *adapter = q_vector->adapter; in igc_set_itr()
4343 static void igc_reset_interrupt_capability(struct igc_adapter *adapter) in igc_reset_interrupt_capability()
4367 static void igc_set_interrupt_capability(struct igc_adapter *adapter, in igc_set_interrupt_capability()
4445 struct igc_adapter *adapter = q_vector->adapter; in igc_update_ring_itr()
4507 struct igc_adapter *adapter = q_vector->adapter; in igc_ring_irq_enable()
4540 static void igc_cache_ring_register(struct igc_adapter *adapter) in igc_cache_ring_register()
4607 static int igc_alloc_q_vector(struct igc_adapter *adapter, in igc_alloc_q_vector()
4711 static int igc_alloc_q_vectors(struct igc_adapter *adapter) in igc_alloc_q_vectors()
4770 static int igc_init_interrupt_scheme(struct igc_adapter *adapter, bool msix) in igc_init_interrupt_scheme()
4800 static int igc_sw_init(struct igc_adapter *adapter) in igc_sw_init()
4853 void igc_up(struct igc_adapter *adapter) in igc_up()
4886 void igc_update_stats(struct igc_adapter *adapter) in igc_update_stats()
5053 void igc_down(struct igc_adapter *adapter) in igc_down()
5119 void igc_reinit_locked(struct igc_adapter *adapter) in igc_reinit_locked()
5130 struct igc_adapter *adapter; in igc_reset_task()
5132 adapter = container_of(work, struct igc_adapter, reset_task); in igc_reset_task()
5159 struct igc_adapter *adapter = netdev_priv(netdev); in igc_change_mtu()
5200 struct igc_adapter *adapter = netdev_priv(netdev); in igc_tx_timeout()
5221 struct igc_adapter *adapter = netdev_priv(netdev); in igc_get_stats64()
5248 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_features()
5301 static void igc_tsync_interrupt(struct igc_adapter *adapter) in igc_tsync_interrupt()
5373 struct igc_adapter *adapter = data; in igc_msix_other()
5436 static int igc_request_msix(struct igc_adapter *adapter) in igc_request_msix()
5502 static void igc_clear_interrupt_scheme(struct igc_adapter *adapter) in igc_clear_interrupt_scheme()
5513 struct igc_adapter *adapter = from_timer(adapter, t, phy_info_timer); in igc_update_phy_info()
5522 bool igc_has_link(struct igc_adapter *adapter) in igc_has_link()
5555 struct igc_adapter *adapter = from_timer(adapter, t, watchdog_timer); in igc_watchdog()
5562 struct igc_adapter *adapter = container_of(work, in igc_watchdog_task()
5563 struct igc_adapter, in igc_watchdog_task()
5739 struct igc_adapter *adapter = data; in igc_intr_msi()
5776 struct igc_adapter *adapter = data; in igc_intr()
5815 static void igc_free_irq(struct igc_adapter *adapter) in igc_free_irq()
5837 static int igc_request_irq(struct igc_adapter *adapter) in igc_request_irq()
5898 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_open()
5998 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_close()
6046 static int igc_save_launchtime_params(struct igc_adapter *adapter, int queue, in igc_save_launchtime_params()
6069 static bool validate_schedule(struct igc_adapter *adapter, in validate_schedule()
6122 static int igc_tsn_enable_launchtime(struct igc_adapter *adapter, in igc_tsn_enable_launchtime()
6138 static int igc_qbv_clear_schedule(struct igc_adapter *adapter) in igc_qbv_clear_schedule()
6173 static int igc_tsn_clear_schedule(struct igc_adapter *adapter) in igc_tsn_clear_schedule()
6200 static int igc_save_qbv_schedule(struct igc_adapter *adapter, in igc_save_qbv_schedule()
6314 static int igc_tsn_enable_qbv_scheduling(struct igc_adapter *adapter, in igc_tsn_enable_qbv_scheduling()
6346 static int igc_save_cbs_params(struct igc_adapter *adapter, int queue, in igc_save_cbs_params()
6393 static int igc_tsn_enable_cbs(struct igc_adapter *adapter, in igc_tsn_enable_cbs()
6414 static int igc_tc_query_caps(struct igc_adapter *adapter, in igc_tc_query_caps()
6440 struct igc_adapter *adapter = netdev_priv(dev); in igc_setup_tc()
6463 struct igc_adapter *adapter = netdev_priv(dev); in igc_bpf()
6479 struct igc_adapter *adapter = netdev_priv(dev); in igc_xdp_xmit()
6518 static void igc_trigger_rxtxq_interrupt(struct igc_adapter *adapter, in igc_trigger_rxtxq_interrupt()
6530 struct igc_adapter *adapter = netdev_priv(dev); in igc_xsk_wakeup()
6577 struct igc_adapter *adapter = hw->back; in igc_read_pci_cfg()
6584 struct igc_adapter *adapter = hw->back; in igc_write_pci_cfg()
6591 struct igc_adapter *adapter = hw->back; in igc_read_pcie_cap_reg()
6603 struct igc_adapter *adapter = hw->back; in igc_write_pcie_cap_reg()
6615 struct igc_adapter *igc = container_of(hw, struct igc_adapter, hw); in igc_rd32()
6692 struct igc_adapter *adapter = container_of(timer, struct igc_adapter, in igc_qbv_scheduling_timer()
6731 struct igc_adapter *adapter; in igc_probe()
6759 netdev = alloc_etherdev_mq(sizeof(struct igc_adapter), in igc_probe()
6983 struct igc_adapter *adapter = netdev_priv(netdev); in igc_remove()
7022 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_shutdown()
7095 struct igc_adapter *adapter = netdev_priv(netdev); in igc_deliver_wake_packet()
7127 struct igc_adapter *adapter = netdev_priv(netdev); in igc_resume()
7189 struct igc_adapter *adapter = netdev_priv(netdev); in igc_runtime_idle()
7222 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_error_detected()
7247 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_slot_reset()
7286 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_resume()
7336 int igc_reinit_queues(struct igc_adapter *adapter) in igc_reinit_queues()
7365 struct igc_adapter *adapter = hw->back; in igc_get_hw_dev()
7390 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_rx_ring()
7408 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_tx_ring()