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);
164 static struct iavf_adapter *iavf_pdev_to_adapter(struct pci_dev *pdev) in iavf_pdev_to_adapter()
173 static bool iavf_is_reset_in_progress(struct iavf_adapter *adapter) in iavf_is_reset_in_progress()
189 int iavf_wait_for_reset(struct iavf_adapter *adapter) in iavf_wait_for_reset()
219 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; in iavf_allocate_dma_mem_d()
240 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; in iavf_free_dma_mem()
285 void iavf_schedule_reset(struct iavf_adapter *adapter, u64 flags) in iavf_schedule_reset()
300 void iavf_schedule_aq_request(struct iavf_adapter *adapter, u64 flags) in iavf_schedule_aq_request()
313 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_tx_timeout()
323 static void iavf_misc_irq_disable(struct iavf_adapter *adapter) in iavf_misc_irq_disable()
341 static void iavf_misc_irq_enable(struct iavf_adapter *adapter) in iavf_misc_irq_enable()
356 static void iavf_irq_disable(struct iavf_adapter *adapter) in iavf_irq_disable()
375 static void iavf_irq_enable_queues(struct iavf_adapter *adapter) in iavf_irq_enable_queues()
392 void iavf_irq_enable(struct iavf_adapter *adapter, bool flush) in iavf_irq_enable()
411 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_msix_aq()
449 iavf_map_vector_to_rxq(struct iavf_adapter *adapter, int v_idx, int r_idx) in iavf_map_vector_to_rxq()
475 iavf_map_vector_to_txq(struct iavf_adapter *adapter, int v_idx, int t_idx) in iavf_map_vector_to_txq()
504 static void iavf_map_rings_to_vectors(struct iavf_adapter *adapter) in iavf_map_rings_to_vectors()
562 iavf_request_traffic_irqs(struct iavf_adapter *adapter, char *basename) in iavf_request_traffic_irqs()
636 static int iavf_request_misc_irq(struct iavf_adapter *adapter) in iavf_request_misc_irq()
662 static void iavf_free_traffic_irqs(struct iavf_adapter *adapter) in iavf_free_traffic_irqs()
685 static void iavf_free_misc_irq(struct iavf_adapter *adapter) in iavf_free_misc_irq()
701 static void iavf_configure_tx(struct iavf_adapter *adapter) in iavf_configure_tx()
716 static void iavf_configure_rx(struct iavf_adapter *adapter) in iavf_configure_rx()
763 iavf_vlan_filter *iavf_find_vlan(struct iavf_adapter *adapter, in iavf_find_vlan()
785 iavf_vlan_filter *iavf_add_vlan(struct iavf_adapter *adapter, in iavf_add_vlan()
816 static void iavf_del_vlan(struct iavf_adapter *adapter, struct iavf_vlan vlan) in iavf_del_vlan()
837 static void iavf_restore_filters(struct iavf_adapter *adapter) in iavf_restore_filters()
857 u16 iavf_get_num_vlans_added(struct iavf_adapter *adapter) in iavf_get_num_vlans_added()
870 static u16 iavf_get_max_vlans_allowed(struct iavf_adapter *adapter) in iavf_get_max_vlans_allowed()
887 static bool iavf_max_vlans_added(struct iavf_adapter *adapter) in iavf_max_vlans_added()
905 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_vlan_rx_add_vid()
935 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_vlan_rx_kill_vid()
954 iavf_mac_filter *iavf_find_filter(struct iavf_adapter *adapter, in iavf_find_filter()
976 struct iavf_mac_filter *iavf_add_filter(struct iavf_adapter *adapter, in iavf_add_filter()
1016 static int iavf_replace_primary_mac(struct iavf_adapter *adapter, in iavf_replace_primary_mac()
1062 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_is_mac_set_handled()
1087 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_mac()
1131 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_sync()
1149 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_addr_unsync()
1172 bool iavf_promiscuous_mode_changed(struct iavf_adapter *adapter) in iavf_promiscuous_mode_changed()
1184 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_rx_mode()
1201 static void iavf_napi_enable_all(struct iavf_adapter *adapter) in iavf_napi_enable_all()
1220 static void iavf_napi_disable_all(struct iavf_adapter *adapter) in iavf_napi_disable_all()
1236 static void iavf_configure(struct iavf_adapter *adapter) in iavf_configure()
1260 static void iavf_up_complete(struct iavf_adapter *adapter) in iavf_up_complete()
1278 static void iavf_clear_mac_vlan_filters(struct iavf_adapter *adapter) in iavf_clear_mac_vlan_filters()
1312 static void iavf_clear_cloud_filters(struct iavf_adapter *adapter) in iavf_clear_cloud_filters()
1336 static void iavf_clear_fdir_filters(struct iavf_adapter *adapter) in iavf_clear_fdir_filters()
1362 static void iavf_clear_adv_rss_conf(struct iavf_adapter *adapter) in iavf_clear_adv_rss_conf()
1386 void iavf_down(struct iavf_adapter *adapter) in iavf_down()
1438 iavf_acquire_msix_vectors(struct iavf_adapter *adapter, int vectors) in iavf_acquire_msix_vectors()
1477 static void iavf_free_queues(struct iavf_adapter *adapter) in iavf_free_queues()
1497 void iavf_set_queue_vlan_tag_loc(struct iavf_adapter *adapter) in iavf_set_queue_vlan_tag_loc()
1576 static int iavf_alloc_queues(struct iavf_adapter *adapter) in iavf_alloc_queues()
1645 static int iavf_set_interrupt_capability(struct iavf_adapter *adapter) in iavf_set_interrupt_capability()
1689 static int iavf_config_rss_aq(struct iavf_adapter *adapter) in iavf_config_rss_aq()
1731 static int iavf_config_rss_reg(struct iavf_adapter *adapter) in iavf_config_rss_reg()
1756 int iavf_config_rss(struct iavf_adapter *adapter) in iavf_config_rss()
1774 static void iavf_fill_rss_lut(struct iavf_adapter *adapter) in iavf_fill_rss_lut()
1788 static int iavf_init_rss(struct iavf_adapter *adapter) in iavf_init_rss()
1817 static int iavf_alloc_q_vectors(struct iavf_adapter *adapter) in iavf_alloc_q_vectors()
1850 static void iavf_free_q_vectors(struct iavf_adapter *adapter) in iavf_free_q_vectors()
1873 static void iavf_reset_interrupt_capability(struct iavf_adapter *adapter) in iavf_reset_interrupt_capability()
1888 static int iavf_init_interrupt_scheme(struct iavf_adapter *adapter) in iavf_init_interrupt_scheme()
1940 static void iavf_free_rss(struct iavf_adapter *adapter) in iavf_free_rss()
1956 static int iavf_reinit_interrupt_scheme(struct iavf_adapter *adapter, bool running) in iavf_reinit_interrupt_scheme()
1993 struct iavf_adapter *adapter; in iavf_finish_config()
1996 adapter = container_of(work, struct iavf_adapter, finish_config); in iavf_finish_config()
2051 void iavf_schedule_finish_config(struct iavf_adapter *adapter) in iavf_schedule_finish_config()
2066 static int iavf_process_aq_command(struct iavf_adapter *adapter) in iavf_process_aq_command()
2247 iavf_set_vlan_offload_features(struct iavf_adapter *adapter, in iavf_set_vlan_offload_features()
2328 static void iavf_startup(struct iavf_adapter *adapter) in iavf_startup()
2383 static void iavf_init_version_check(struct iavf_adapter *adapter) in iavf_init_version_check()
2427 int iavf_parse_vf_resource_msg(struct iavf_adapter *adapter) in iavf_parse_vf_resource_msg()
2484 static void iavf_init_get_resources(struct iavf_adapter *adapter) in iavf_init_get_resources()
2548 static void iavf_init_send_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_send_offload_vlan_v2_caps()
2574 static void iavf_init_recv_offload_vlan_v2_caps(struct iavf_adapter *adapter) in iavf_init_recv_offload_vlan_v2_caps()
2608 static void iavf_init_process_extended_caps(struct iavf_adapter *adapter) in iavf_init_process_extended_caps()
2634 static void iavf_init_config_adapter(struct iavf_adapter *adapter) in iavf_init_config_adapter()
2734 struct iavf_adapter *adapter = container_of(work, in iavf_watchdog_task()
2735 struct iavf_adapter, in iavf_watchdog_task()
2907 static void iavf_disable_vf(struct iavf_adapter *adapter) in iavf_disable_vf()
2977 struct iavf_adapter *adapter = container_of(work, in iavf_reset_task()
2978 struct iavf_adapter, in iavf_reset_task()
3214 struct iavf_adapter *adapter = in iavf_adminq_task()
3215 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()
3588 static bool iavf_is_tc_config_same(struct iavf_adapter *adapter, in iavf_is_tc_config_same()
3619 struct iavf_adapter *adapter = netdev_priv(netdev); in __iavf_setup_tc()
3730 static int iavf_parse_cls_flower(struct iavf_adapter *adapter, in iavf_parse_cls_flower()
3978 static int iavf_handle_tclass(struct iavf_adapter *adapter, u32 tc, in iavf_handle_tclass()
4004 static struct iavf_cloud_filter *iavf_find_cf(struct iavf_adapter *adapter, in iavf_find_cf()
4024 static int iavf_configure_clsflower(struct iavf_adapter *adapter, in iavf_configure_clsflower()
4092 static int iavf_delete_clsflower(struct iavf_adapter *adapter, in iavf_delete_clsflower()
4116 static int iavf_setup_tc_cls_flower(struct iavf_adapter *adapter, in iavf_setup_tc_cls_flower()
4142 struct iavf_adapter *adapter = cb_priv; in iavf_setup_tc_block_cb()
4171 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_setup_tc()
4192 static void iavf_restore_fdir_filters(struct iavf_adapter *adapter) in iavf_restore_fdir_filters()
4227 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_open()
4320 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_close()
4396 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_change_mtu()
4423 static void iavf_disable_fdir(struct iavf_adapter *adapter) in iavf_disable_fdir()
4476 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_set_features()
4560 iavf_get_netdev_vlan_hw_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_hw_features()
4622 iavf_get_netdev_vlan_features(struct iavf_adapter *adapter) in iavf_get_netdev_vlan_features()
4723 iavf_fix_netdev_vlan_features(struct iavf_adapter *adapter, in iavf_fix_netdev_vlan_features()
4784 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_fix_features()
4838 int iavf_process_config(struct iavf_adapter *adapter) in iavf_process_config()
4949 struct iavf_adapter *adapter = NULL; in iavf_probe()
4973 netdev = alloc_etherdev_mq(sizeof(struct iavf_adapter), in iavf_probe()
5080 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_suspend()
5109 struct iavf_adapter *adapter; in iavf_resume()
5153 struct iavf_adapter *adapter; in iavf_remove()