Lines Matching refs:iavf_adapter
14 static int iavf_setup_all_tx_resources(struct iavf_adapter *adapter);
15 static int iavf_setup_all_rx_resources(struct iavf_adapter *adapter);
17 static void iavf_init_get_resources(struct iavf_adapter *adapter);
165 static struct iavf_adapter *iavf_pdev_to_adapter(struct pci_dev *pdev) in iavf_pdev_to_adapter()
181 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; in iavf_allocate_dma_mem_d()
203 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; in iavf_free_dma_mem_d()
275 void iavf_schedule_reset(struct iavf_adapter *adapter) in iavf_schedule_reset()
291 void iavf_schedule_request_stats(struct iavf_adapter *adapter) in iavf_schedule_request_stats()
304 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_tx_timeout()
314 static void iavf_misc_irq_disable(struct iavf_adapter *adapter) in iavf_misc_irq_disable()
332 static void iavf_misc_irq_enable(struct iavf_adapter *adapter) in iavf_misc_irq_enable()
347 static void iavf_irq_disable(struct iavf_adapter *adapter) in iavf_irq_disable()
367 void iavf_irq_enable_queues(struct iavf_adapter *adapter, u32 mask) in iavf_irq_enable_queues()
386 void iavf_irq_enable(struct iavf_adapter *adapter, bool flush) in iavf_irq_enable()
405 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_msix_aq()
443 iavf_map_vector_to_rxq(struct iavf_adapter *adapter, int v_idx, int r_idx) in iavf_map_vector_to_rxq()
469 iavf_map_vector_to_txq(struct iavf_adapter *adapter, int v_idx, int t_idx) in iavf_map_vector_to_txq()
498 static void iavf_map_rings_to_vectors(struct iavf_adapter *adapter) in iavf_map_rings_to_vectors()
556 iavf_request_traffic_irqs(struct iavf_adapter *adapter, char *basename) in iavf_request_traffic_irqs()
630 static int iavf_request_misc_irq(struct iavf_adapter *adapter) in iavf_request_misc_irq()
656 static void iavf_free_traffic_irqs(struct iavf_adapter *adapter) in iavf_free_traffic_irqs()
679 static void iavf_free_misc_irq(struct iavf_adapter *adapter) in iavf_free_misc_irq()
695 static void iavf_configure_tx(struct iavf_adapter *adapter) in iavf_configure_tx()
710 static void iavf_configure_rx(struct iavf_adapter *adapter) in iavf_configure_rx()
757 iavf_vlan_filter *iavf_find_vlan(struct iavf_adapter *adapter, in iavf_find_vlan()
779 iavf_vlan_filter *iavf_add_vlan(struct iavf_adapter *adapter, in iavf_add_vlan()
809 static void iavf_del_vlan(struct iavf_adapter *adapter, struct iavf_vlan vlan) in iavf_del_vlan()
830 static void iavf_restore_filters(struct iavf_adapter *adapter) in iavf_restore_filters()
846 u16 iavf_get_num_vlans_added(struct iavf_adapter *adapter) in iavf_get_num_vlans_added()
860 static u16 iavf_get_max_vlans_allowed(struct iavf_adapter *adapter) in iavf_get_max_vlans_allowed()
877 static bool iavf_max_vlans_added(struct iavf_adapter *adapter) in iavf_max_vlans_added()
895 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_vlan_rx_add_vid()
921 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_vlan_rx_kill_vid()
941 iavf_mac_filter *iavf_find_filter(struct iavf_adapter *adapter, in iavf_find_filter()
963 struct iavf_mac_filter *iavf_add_filter(struct iavf_adapter *adapter, in iavf_add_filter()
1003 int iavf_replace_primary_mac(struct iavf_adapter *adapter, in iavf_replace_primary_mac()
1053 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_is_mac_set_handled()
1078 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_mac()
1122 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_sync()
1140 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_unsync()
1165 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_rx_mode()
1191 static void iavf_napi_enable_all(struct iavf_adapter *adapter) in iavf_napi_enable_all()
1210 static void iavf_napi_disable_all(struct iavf_adapter *adapter) in iavf_napi_disable_all()
1226 static void iavf_configure(struct iavf_adapter *adapter) in iavf_configure()
1250 static void iavf_up_complete(struct iavf_adapter *adapter) in iavf_up_complete()
1268 static void iavf_clear_mac_vlan_filters(struct iavf_adapter *adapter) in iavf_clear_mac_vlan_filters()
1307 static void iavf_clear_cloud_filters(struct iavf_adapter *adapter) in iavf_clear_cloud_filters()
1331 static void iavf_clear_fdir_filters(struct iavf_adapter *adapter) in iavf_clear_fdir_filters()
1355 static void iavf_clear_adv_rss_conf(struct iavf_adapter *adapter) in iavf_clear_adv_rss_conf()
1379 void iavf_down(struct iavf_adapter *adapter) in iavf_down()
1430 iavf_acquire_msix_vectors(struct iavf_adapter *adapter, int vectors) in iavf_acquire_msix_vectors()
1469 static void iavf_free_queues(struct iavf_adapter *adapter) in iavf_free_queues()
1489 void iavf_set_queue_vlan_tag_loc(struct iavf_adapter *adapter) in iavf_set_queue_vlan_tag_loc()
1568 static int iavf_alloc_queues(struct iavf_adapter *adapter) in iavf_alloc_queues()
1637 static int iavf_set_interrupt_capability(struct iavf_adapter *adapter) in iavf_set_interrupt_capability()
1681 static int iavf_config_rss_aq(struct iavf_adapter *adapter) in iavf_config_rss_aq()
1723 static int iavf_config_rss_reg(struct iavf_adapter *adapter) in iavf_config_rss_reg()
1748 int iavf_config_rss(struct iavf_adapter *adapter) in iavf_config_rss()
1766 static void iavf_fill_rss_lut(struct iavf_adapter *adapter) in iavf_fill_rss_lut()
1780 static int iavf_init_rss(struct iavf_adapter *adapter) in iavf_init_rss()
1809 static int iavf_alloc_q_vectors(struct iavf_adapter *adapter) in iavf_alloc_q_vectors()
1842 static void iavf_free_q_vectors(struct iavf_adapter *adapter) in iavf_free_q_vectors()
1868 void iavf_reset_interrupt_capability(struct iavf_adapter *adapter) in iavf_reset_interrupt_capability()
1883 int iavf_init_interrupt_scheme(struct iavf_adapter *adapter) in iavf_init_interrupt_scheme()
1937 static void iavf_free_rss(struct iavf_adapter *adapter) in iavf_free_rss()
1952 static int iavf_reinit_interrupt_scheme(struct iavf_adapter *adapter) in iavf_reinit_interrupt_scheme()
1990 static int iavf_process_aq_command(struct iavf_adapter *adapter) in iavf_process_aq_command()
2182 iavf_set_vlan_offload_features(struct iavf_adapter *adapter, in iavf_set_vlan_offload_features()
2263 static void iavf_startup(struct iavf_adapter *adapter) in iavf_startup()
2318 static void iavf_init_version_check(struct iavf_adapter *adapter) in iavf_init_version_check()
2362 int iavf_parse_vf_resource_msg(struct iavf_adapter *adapter) in iavf_parse_vf_resource_msg()
2419 static void iavf_init_get_resources(struct iavf_adapter *adapter) in iavf_init_get_resources()
2483 static void iavf_init_send_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_send_offload_vlan_v2_caps()
2509 static void iavf_init_recv_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_recv_offload_vlan_v2_caps()
2543 static void iavf_init_process_extended_caps(struct iavf_adapter *adapter) in iavf_init_process_extended_caps()
2569 static void iavf_init_config_adapter(struct iavf_adapter *adapter) in iavf_init_config_adapter()
2683 struct iavf_adapter *adapter = container_of(work, in iavf_watchdog_task()
2684 struct iavf_adapter, in iavf_watchdog_task()
2863 static void iavf_disable_vf(struct iavf_adapter *adapter) in iavf_disable_vf()
2932 struct iavf_adapter *adapter = container_of(work, in iavf_reset_task()
2933 struct iavf_adapter, in iavf_reset_task()
3195 struct iavf_adapter *adapter = in iavf_adminq_task()
3196 container_of(work, struct iavf_adapter, adminq_task); in iavf_adminq_task()
3311 struct iavf_adapter *adapter = in iavf_client_task()
3312 container_of(work, struct iavf_adapter, client_task.work); in iavf_client_task()
3350 void iavf_free_all_tx_resources(struct iavf_adapter *adapter) in iavf_free_all_tx_resources()
3372 static int iavf_setup_all_tx_resources(struct iavf_adapter *adapter) in iavf_setup_all_tx_resources()
3399 static int iavf_setup_all_rx_resources(struct iavf_adapter *adapter) in iavf_setup_all_rx_resources()
3421 void iavf_free_all_rx_resources(struct iavf_adapter *adapter) in iavf_free_all_rx_resources()
3438 static int iavf_validate_tx_bandwidth(struct iavf_adapter *adapter, in iavf_validate_tx_bandwidth()
3501 static int iavf_validate_ch_config(struct iavf_adapter *adapter, in iavf_validate_ch_config()
3563 static void iavf_del_all_cloud_filters(struct iavf_adapter *adapter) in iavf_del_all_cloud_filters()
3591 struct iavf_adapter *adapter = netdev_priv(netdev); in __iavf_setup_tc()
3702 static int iavf_parse_cls_flower(struct iavf_adapter *adapter, in iavf_parse_cls_flower()
3950 static int iavf_handle_tclass(struct iavf_adapter *adapter, u32 tc, in iavf_handle_tclass()
3976 static struct iavf_cloud_filter *iavf_find_cf(struct iavf_adapter *adapter, in iavf_find_cf()
3996 static int iavf_configure_clsflower(struct iavf_adapter *adapter, in iavf_configure_clsflower()
4064 static int iavf_delete_clsflower(struct iavf_adapter *adapter, in iavf_delete_clsflower()
4088 static int iavf_setup_tc_cls_flower(struct iavf_adapter *adapter, in iavf_setup_tc_cls_flower()
4114 struct iavf_adapter *adapter = cb_priv; in iavf_setup_tc_block_cb()
4143 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_setup_tc()
4172 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_open()
4264 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_close()
4340 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_change_mtu()
4372 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_features()
4449 iavf_get_netdev_vlan_hw_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_hw_features()
4511 iavf_get_netdev_vlan_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_features()
4612 iavf_fix_netdev_vlan_features(struct iavf_adapter *adapter, in iavf_fix_netdev_vlan_features()
4673 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_fix_features()
4724 int iavf_process_config(struct iavf_adapter *adapter) in iavf_process_config()
4821 struct iavf_adapter *adapter = iavf_pdev_to_adapter(pdev); in iavf_shutdown()
4857 struct iavf_adapter *adapter = NULL; in iavf_probe()
4883 netdev = alloc_etherdev_mq(sizeof(struct iavf_adapter), in iavf_probe()
4976 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_suspend()
5005 struct iavf_adapter *adapter; in iavf_resume()
5044 struct iavf_adapter *adapter = iavf_pdev_to_adapter(pdev); in iavf_remove()