Lines Matching defs:pf

104 	struct i40e_pf *pf = (struct i40e_pf *)hw->back;  in i40e_allocate_dma_mem_d()  local
122 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d() local
178 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump()
257 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id()
274 static void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule()
298 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local
473 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats()
556 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local
620 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local
674 struct i40e_pf *pf = vsi->back; in i40e_update_fcoe_stats() local
722 static void i40e_update_link_xoff_rx(struct i40e_pf *pf) in i40e_update_link_xoff_rx()
763 static void i40e_update_prio_xoff_rx(struct i40e_pf *pf) in i40e_update_prio_xoff_rx()
827 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats() local
919 static void i40e_update_pf_stats(struct i40e_pf *pf) in i40e_update_pf_stats()
1132 struct i40e_pf *pf = vsi->back; in i40e_update_stats() local
1261 struct i40e_pf *pf = vsi->back; in i40e_rm_default_mac_filter() local
1406 struct i40e_pf *pf = vsi->back; in i40e_set_mac() local
1496 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_queue_map() local
1715 struct i40e_pf *pf; in i40e_sync_vsi_filters() local
1907 static void i40e_sync_filters_subtask(struct i40e_pf *pf) in i40e_sync_filters_subtask()
1957 struct i40e_pf *pf = np->vsi->back; in i40e_ioctl() local
2760 struct i40e_pf *pf = vsi->back; in i40e_fdir_filter_restore() local
2796 struct i40e_pf *pf = vsi->back; in i40e_vsi_configure_msix() local
2857 static void i40e_enable_misc_int_causes(struct i40e_pf *pf) in i40e_enable_misc_int_causes()
2895 struct i40e_pf *pf = vsi->back; in i40e_configure_msi_and_legacy() local
2931 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_disable_icr0()
2944 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_enable_icr0()
2964 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_enable() local
2982 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_disable() local
3018 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq_msix() local
3077 struct i40e_pf *pf = vsi->back; in i40e_vsi_disable_irq() local
3110 struct i40e_pf *pf = vsi->back; in i40e_vsi_enable_irq() local
3129 static void i40e_stop_misc_vector(struct i40e_pf *pf) in i40e_stop_misc_vector()
3147 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_intr() local
3439 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq() local
3473 struct i40e_pf *pf = vsi->back; in i40e_netpoll() local
3502 static int i40e_pf_txq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_txq_wait()
3527 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_tx() local
3591 static int i40e_pf_rxq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_rxq_wait()
3616 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_rx() local
3686 struct i40e_pf *pf = vsi->back; in i40e_vsi_free_irq() local
3847 static void i40e_reset_interrupt_capability(struct i40e_pf *pf) in i40e_reset_interrupt_capability()
3869 static void i40e_clear_interrupt_scheme(struct i40e_pf *pf) in i40e_clear_interrupt_scheme()
3975 static void i40e_pf_quiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_quiesce_all_vsi()
3989 static void i40e_pf_unquiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_unquiesce_all_vsi()
4008 struct i40e_pf *pf = vsi->back; in i40e_vsi_wait_txq_disabled() local
4033 static int i40e_pf_wait_txq_disabled(struct i40e_pf *pf) in i40e_pf_wait_txq_disabled()
4057 static u8 i40e_get_iscsi_tc_map(struct i40e_pf *pf) in i40e_get_iscsi_tc_map()
4131 static u8 i40e_pf_get_num_tc(struct i40e_pf *pf) in i40e_pf_get_num_tc()
4167 static u8 i40e_pf_get_default_tc(struct i40e_pf *pf) in i40e_pf_get_default_tc()
4190 static u8 i40e_pf_get_tc_map(struct i40e_pf *pf) in i40e_pf_get_tc_map()
4217 struct i40e_pf *pf = vsi->back; in i40e_vsi_get_bw_info() local
4308 struct i40e_pf *pf = vsi->back; in i40e_vsi_config_netdev_tc() local
4454 struct i40e_pf *pf = veb->pf; in i40e_veb_config_tc() local
4501 static void i40e_dcb_reconfigure(struct i40e_pf *pf) in i40e_dcb_reconfigure()
4564 static int i40e_resume_port_tx(struct i40e_pf *pf) in i40e_resume_port_tx()
4589 static int i40e_init_pf_dcb(struct i40e_pf *pf) in i40e_init_pf_dcb()
4703 struct i40e_pf *pf = vsi->back; in i40e_up_complete() local
4761 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_locked() local
4831 struct i40e_pf *pf = vsi->back; in i40e_setup_tc() local
4896 struct i40e_pf *pf = vsi->back; in i40e_open() local
4935 struct i40e_pf *pf = vsi->back; in i40e_vsi_open() local
5007 static void i40e_fdir_filter_exit(struct i40e_pf *pf) in i40e_fdir_filter_exit()
5053 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset()
5151 bool i40e_dcb_need_reconfig(struct i40e_pf *pf, in i40e_dcb_need_reconfig()
5206 static int i40e_handle_lldp_event(struct i40e_pf *pf, in i40e_handle_lldp_event()
5310 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset_safe()
5325 static void i40e_handle_lan_overflow_event(struct i40e_pf *pf, in i40e_handle_lan_overflow_event()
5357 static void i40e_service_event_complete(struct i40e_pf *pf) in i40e_service_event_complete()
5370 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf) in i40e_get_cur_guaranteed_fd_count()
5383 u32 i40e_get_current_fd_count(struct i40e_pf *pf) in i40e_get_current_fd_count()
5398 u32 i40e_get_global_fd_count(struct i40e_pf *pf) in i40e_get_global_fd_count()
5413 void i40e_fdir_check_and_reenable(struct i40e_pf *pf) in i40e_fdir_check_and_reenable()
5450 static void i40e_fdir_flush_and_replay(struct i40e_pf *pf) in i40e_fdir_flush_and_replay()
5508 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf) in i40e_get_current_atr_cnt()
5524 static void i40e_fdir_reinit_subtask(struct i40e_pf *pf) in i40e_fdir_reinit_subtask()
5585 struct i40e_pf *pf; in i40e_veb_link_event() local
5607 static void i40e_link_event(struct i40e_pf *pf) in i40e_link_event()
5652 static void i40e_check_hang_subtask(struct i40e_pf *pf) in i40e_check_hang_subtask()
5711 static void i40e_watchdog_subtask(struct i40e_pf *pf) in i40e_watchdog_subtask()
5748 static void i40e_reset_subtask(struct i40e_pf *pf) in i40e_reset_subtask()
5797 static void i40e_handle_link_event(struct i40e_pf *pf, in i40e_handle_link_event()
5827 static void i40e_clean_adminq_subtask(struct i40e_pf *pf) in i40e_clean_adminq_subtask()
5945 static void i40e_verify_eeprom(struct i40e_pf *pf) in i40e_verify_eeprom()
5972 static void i40e_enable_pf_switch_lb(struct i40e_pf *pf) in i40e_enable_pf_switch_lb()
6006 static void i40e_disable_pf_switch_lb(struct i40e_pf *pf) in i40e_disable_pf_switch_lb()
6044 struct i40e_pf *pf = veb->pf; in i40e_config_bridge_mode() local
6066 struct i40e_pf *pf = veb->pf; in i40e_reconstitute_veb() local
6143 static int i40e_get_capabilities(struct i40e_pf *pf) in i40e_get_capabilities()
6210 static void i40e_fdir_sb_setup(struct i40e_pf *pf) in i40e_fdir_sb_setup()
6259 static void i40e_fdir_teardown(struct i40e_pf *pf) in i40e_fdir_teardown()
6278 static void i40e_prep_for_reset(struct i40e_pf *pf) in i40e_prep_for_reset()
6313 static void i40e_send_version(struct i40e_pf *pf) in i40e_send_version()
6330 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit) in i40e_reset_and_rebuild()
6508 static void i40e_handle_reset_warning(struct i40e_pf *pf) in i40e_handle_reset_warning()
6520 static void i40e_handle_mdd_event(struct i40e_pf *pf) in i40e_handle_mdd_event()
6627 static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) in i40e_sync_vxlan_filters_subtask()
6669 struct i40e_pf *pf = container_of(work, in i40e_service_task() local
6710 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_service_timer() local
6723 struct i40e_pf *pf = vsi->back; in i40e_set_num_rings_in_vsi() local
6818 static int i40e_vsi_mem_alloc(struct i40e_pf *pf, enum i40e_vsi_type type) in i40e_vsi_mem_alloc()
6919 struct i40e_pf *pf; in i40e_vsi_clear() local
6987 struct i40e_pf *pf = vsi->back; in i40e_alloc_rings() local
7039 static int i40e_reserve_msix_vectors(struct i40e_pf *pf, int vectors) in i40e_reserve_msix_vectors()
7060 static int i40e_init_msix(struct i40e_pf *pf) in i40e_init_msix()
7277 struct i40e_pf *pf = vsi->back; in i40e_vsi_alloc_q_vectors() local
7308 static int i40e_init_interrupt_scheme(struct i40e_pf *pf) in i40e_init_interrupt_scheme()
7371 static int i40e_setup_misc_vector(struct i40e_pf *pf) in i40e_setup_misc_vector()
7407 static int i40e_config_rss(struct i40e_pf *pf) in i40e_config_rss()
7470 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count) in i40e_reconfig_rss_queues()
7497 i40e_status i40e_get_npar_bw_setting(struct i40e_pf *pf) in i40e_get_npar_bw_setting()
7520 i40e_status i40e_set_npar_bw_setting(struct i40e_pf *pf) in i40e_set_npar_bw_setting()
7540 i40e_status i40e_commit_npar_bw_setting(struct i40e_pf *pf) in i40e_commit_npar_bw_setting()
7623 static int i40e_sw_init(struct i40e_pf *pf) in i40e_sw_init()
7754 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features) in i40e_set_ntuple()
7797 struct i40e_pf *pf = vsi->back; in i40e_set_features() local
7821 static u8 i40e_get_vxlan_port_idx(struct i40e_pf *pf, __be16 port) in i40e_get_vxlan_port_idx()
7844 struct i40e_pf *pf = vsi->back; in i40e_add_vxlan_port() local
7888 struct i40e_pf *pf = vsi->back; in i40e_del_vxlan_port() local
7918 struct i40e_pf *pf = np->vsi->back; in i40e_get_phys_port_id() local
7944 struct i40e_pf *pf = np->vsi->back; in i40e_ndo_fdb_add() local
7995 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_setlink() local
8073 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_getlink() local
8144 struct i40e_pf *pf = vsi->back; in i40e_config_netdev() local
8253 struct i40e_pf *pf = vsi->back; in i40e_is_vsi_uplink_mode_veb() local
8279 struct i40e_pf *pf = vsi->back; in i40e_add_vsi() local
8500 struct i40e_pf *pf; in i40e_vsi_release() local
8588 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_vectors() local
8638 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_setup() local
8704 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type, in i40e_vsi_setup()
8882 struct i40e_pf *pf = veb->pf; in i40e_veb_get_bw_info() local
8930 static int i40e_veb_mem_alloc(struct i40e_pf *pf) in i40e_veb_mem_alloc()
8978 struct i40e_pf *pf = branch->pf; in i40e_switch_branch_release() local
9024 struct i40e_pf *pf = veb->pf; in i40e_veb_clear() local
9042 struct i40e_pf *pf; in i40e_veb_release() local
9142 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, in i40e_veb_setup()
9218 static void i40e_setup_pf_switch_element(struct i40e_pf *pf, in i40e_setup_pf_switch_element()
9300 int i40e_fetch_switch_configuration(struct i40e_pf *pf, bool printconfig) in i40e_fetch_switch_configuration()
9355 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit) in i40e_setup_pf_switch()
9432 static void i40e_determine_queue_usage(struct i40e_pf *pf) in i40e_determine_queue_usage()
9550 static int i40e_setup_pf_filter_control(struct i40e_pf *pf) in i40e_setup_pf_filter_control()
9571 static void i40e_print_features(struct i40e_pf *pf) in i40e_print_features()
9630 struct i40e_pf *pf; in i40e_probe() local
10052 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_remove() local
10145 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_detected() local
10171 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_slot_reset() local
10214 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_resume() local
10231 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_shutdown() local
10258 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_suspend() local
10286 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_resume() local