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()
1000 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_mac()
1045 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_sync()
1063 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_unsync()
1088 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_rx_mode()
1114 static void iavf_napi_enable_all(struct iavf_adapter *adapter) in iavf_napi_enable_all()
1133 static void iavf_napi_disable_all(struct iavf_adapter *adapter) in iavf_napi_disable_all()
1149 static void iavf_configure(struct iavf_adapter *adapter) in iavf_configure()
1173 static void iavf_up_complete(struct iavf_adapter *adapter) in iavf_up_complete()
1192 void iavf_down(struct iavf_adapter *adapter) in iavf_down()
1276 iavf_acquire_msix_vectors(struct iavf_adapter *adapter, int vectors) in iavf_acquire_msix_vectors()
1315 static void iavf_free_queues(struct iavf_adapter *adapter) in iavf_free_queues()
1335 void iavf_set_queue_vlan_tag_loc(struct iavf_adapter *adapter) in iavf_set_queue_vlan_tag_loc()
1414 static int iavf_alloc_queues(struct iavf_adapter *adapter) in iavf_alloc_queues()
1483 static int iavf_set_interrupt_capability(struct iavf_adapter *adapter) in iavf_set_interrupt_capability()
1527 static int iavf_config_rss_aq(struct iavf_adapter *adapter) in iavf_config_rss_aq()
1569 static int iavf_config_rss_reg(struct iavf_adapter *adapter) in iavf_config_rss_reg()
1594 int iavf_config_rss(struct iavf_adapter *adapter) in iavf_config_rss()
1612 static void iavf_fill_rss_lut(struct iavf_adapter *adapter) in iavf_fill_rss_lut()
1626 static int iavf_init_rss(struct iavf_adapter *adapter) in iavf_init_rss()
1655 static int iavf_alloc_q_vectors(struct iavf_adapter *adapter) in iavf_alloc_q_vectors()
1688 static void iavf_free_q_vectors(struct iavf_adapter *adapter) in iavf_free_q_vectors()
1714 void iavf_reset_interrupt_capability(struct iavf_adapter *adapter) in iavf_reset_interrupt_capability()
1729 int iavf_init_interrupt_scheme(struct iavf_adapter *adapter) in iavf_init_interrupt_scheme()
1783 static void iavf_free_rss(struct iavf_adapter *adapter) in iavf_free_rss()
1798 static int iavf_reinit_interrupt_scheme(struct iavf_adapter *adapter) in iavf_reinit_interrupt_scheme()
1836 static int iavf_process_aq_command(struct iavf_adapter *adapter) in iavf_process_aq_command()
2028 iavf_set_vlan_offload_features(struct iavf_adapter *adapter, in iavf_set_vlan_offload_features()
2109 static void iavf_startup(struct iavf_adapter *adapter) in iavf_startup()
2164 static void iavf_init_version_check(struct iavf_adapter *adapter) in iavf_init_version_check()
2208 int iavf_parse_vf_resource_msg(struct iavf_adapter *adapter) in iavf_parse_vf_resource_msg()
2265 static void iavf_init_get_resources(struct iavf_adapter *adapter) in iavf_init_get_resources()
2329 static void iavf_init_send_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_send_offload_vlan_v2_caps()
2355 static void iavf_init_recv_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_recv_offload_vlan_v2_caps()
2389 static void iavf_init_process_extended_caps(struct iavf_adapter *adapter) in iavf_init_process_extended_caps()
2415 static void iavf_init_config_adapter(struct iavf_adapter *adapter) in iavf_init_config_adapter()
2529 struct iavf_adapter *adapter = container_of(work, in iavf_watchdog_task()
2530 struct iavf_adapter, in iavf_watchdog_task()
2709 static void iavf_disable_vf(struct iavf_adapter *adapter) in iavf_disable_vf()
2779 struct iavf_adapter *adapter = container_of(work, in iavf_reset_task()
2780 struct iavf_adapter, in iavf_reset_task()
3026 struct iavf_adapter *adapter = in iavf_adminq_task()
3027 container_of(work, struct iavf_adapter, adminq_task); in iavf_adminq_task()
3142 struct iavf_adapter *adapter = in iavf_client_task()
3143 container_of(work, struct iavf_adapter, client_task.work); in iavf_client_task()
3181 void iavf_free_all_tx_resources(struct iavf_adapter *adapter) in iavf_free_all_tx_resources()
3203 static int iavf_setup_all_tx_resources(struct iavf_adapter *adapter) in iavf_setup_all_tx_resources()
3230 static int iavf_setup_all_rx_resources(struct iavf_adapter *adapter) in iavf_setup_all_rx_resources()
3252 void iavf_free_all_rx_resources(struct iavf_adapter *adapter) in iavf_free_all_rx_resources()
3269 static int iavf_validate_tx_bandwidth(struct iavf_adapter *adapter, in iavf_validate_tx_bandwidth()
3332 static int iavf_validate_ch_config(struct iavf_adapter *adapter, in iavf_validate_ch_config()
3394 static void iavf_del_all_cloud_filters(struct iavf_adapter *adapter) in iavf_del_all_cloud_filters()
3422 struct iavf_adapter *adapter = netdev_priv(netdev); in __iavf_setup_tc()
3533 static int iavf_parse_cls_flower(struct iavf_adapter *adapter, in iavf_parse_cls_flower()
3781 static int iavf_handle_tclass(struct iavf_adapter *adapter, u32 tc, in iavf_handle_tclass()
3804 static int iavf_configure_clsflower(struct iavf_adapter *adapter, in iavf_configure_clsflower()
3864 static struct iavf_cloud_filter *iavf_find_cf(struct iavf_adapter *adapter, in iavf_find_cf()
3884 static int iavf_delete_clsflower(struct iavf_adapter *adapter, in iavf_delete_clsflower()
3908 static int iavf_setup_tc_cls_flower(struct iavf_adapter *adapter, in iavf_setup_tc_cls_flower()
3934 struct iavf_adapter *adapter = cb_priv; in iavf_setup_tc_block_cb()
3963 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_setup_tc()
3992 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_open()
4084 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_close()
4132 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_change_mtu()
4164 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_features()
4241 iavf_get_netdev_vlan_hw_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_hw_features()
4303 iavf_get_netdev_vlan_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_features()
4404 iavf_fix_netdev_vlan_features(struct iavf_adapter *adapter, in iavf_fix_netdev_vlan_features()
4465 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_fix_features()
4516 int iavf_process_config(struct iavf_adapter *adapter) in iavf_process_config()
4613 struct iavf_adapter *adapter = iavf_pdev_to_adapter(pdev); in iavf_shutdown()
4649 struct iavf_adapter *adapter = NULL; in iavf_probe()
4675 netdev = alloc_etherdev_mq(sizeof(struct iavf_adapter), in iavf_probe()
4765 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_suspend()
4794 struct iavf_adapter *adapter; in iavf_resume()
4833 struct iavf_adapter *adapter = iavf_pdev_to_adapter(pdev); in iavf_remove()