Lines Matching defs:pf

110 	struct i40e_pf *pf = (struct i40e_pf *)hw->back;  in i40e_allocate_dma_mem_d()  local
128 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d() local
184 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump()
263 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id()
280 static void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule()
304 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local
523 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats()
606 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local
670 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local
750 struct i40e_pf *pf = vsi->back; in i40e_update_fcoe_stats() local
798 static void i40e_update_link_xoff_rx(struct i40e_pf *pf) in i40e_update_link_xoff_rx()
826 static void i40e_update_prio_xoff_rx(struct i40e_pf *pf) in i40e_update_prio_xoff_rx()
873 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats() local
968 static void i40e_update_pf_stats(struct i40e_pf *pf) in i40e_update_pf_stats()
1199 struct i40e_pf *pf = vsi->back; in i40e_update_stats() local
1330 struct i40e_pf *pf = vsi->back; in i40e_rm_default_mac_filter() local
1482 struct i40e_pf *pf = vsi->back; in i40e_set_mac() local
1577 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_queue_map() local
1870 struct i40e_pf *pf; in i40e_sync_vsi_filters() local
2159 static void i40e_sync_filters_subtask(struct i40e_pf *pf) in i40e_sync_filters_subtask()
2209 struct i40e_pf *pf = np->vsi->back; in i40e_ioctl() local
3039 struct i40e_pf *pf = vsi->back; in i40e_fdir_filter_restore() local
3075 struct i40e_pf *pf = vsi->back; in i40e_vsi_configure_msix() local
3140 static void i40e_enable_misc_int_causes(struct i40e_pf *pf) in i40e_enable_misc_int_causes()
3181 struct i40e_pf *pf = vsi->back; in i40e_configure_msi_and_legacy() local
3218 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_disable_icr0()
3231 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_enable_icr0()
3251 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_disable() local
3287 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq_msix() local
3345 struct i40e_pf *pf = vsi->back; in i40e_vsi_disable_irq() local
3378 struct i40e_pf *pf = vsi->back; in i40e_vsi_enable_irq() local
3396 static void i40e_stop_misc_vector(struct i40e_pf *pf) in i40e_stop_misc_vector()
3414 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_intr() local
3715 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq() local
3749 struct i40e_pf *pf = vsi->back; in i40e_netpoll() local
3776 static int i40e_pf_txq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_txq_wait()
3801 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_tx() local
3864 static int i40e_pf_rxq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_rxq_wait()
3889 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_rx() local
3958 struct i40e_pf *pf = vsi->back; in i40e_vsi_free_irq() local
4119 static void i40e_reset_interrupt_capability(struct i40e_pf *pf) in i40e_reset_interrupt_capability()
4141 static void i40e_clear_interrupt_scheme(struct i40e_pf *pf) in i40e_clear_interrupt_scheme()
4246 static void i40e_pf_quiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_quiesce_all_vsi()
4260 static void i40e_pf_unquiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_unquiesce_all_vsi()
4279 struct i40e_pf *pf = vsi->back; in i40e_vsi_wait_txq_disabled() local
4304 static int i40e_pf_wait_txq_disabled(struct i40e_pf *pf) in i40e_pf_wait_txq_disabled()
4336 struct i40e_pf *pf; in i40e_detect_recover_hung_queue() local
4384 static void i40e_detect_recover_hung(struct i40e_pf *pf) in i40e_detect_recover_hung()
4430 static u8 i40e_get_iscsi_tc_map(struct i40e_pf *pf) in i40e_get_iscsi_tc_map()
4504 static u8 i40e_pf_get_num_tc(struct i40e_pf *pf) in i40e_pf_get_num_tc()
4540 static u8 i40e_pf_get_default_tc(struct i40e_pf *pf) in i40e_pf_get_default_tc()
4563 static u8 i40e_pf_get_tc_map(struct i40e_pf *pf) in i40e_pf_get_tc_map()
4590 struct i40e_pf *pf = vsi->back; in i40e_vsi_get_bw_info() local
4683 struct i40e_pf *pf = vsi->back; in i40e_vsi_config_netdev_tc() local
4833 struct i40e_pf *pf = veb->pf; in i40e_veb_config_tc() local
4882 static void i40e_dcb_reconfigure(struct i40e_pf *pf) in i40e_dcb_reconfigure()
4945 static int i40e_resume_port_tx(struct i40e_pf *pf) in i40e_resume_port_tx()
4971 static int i40e_init_pf_dcb(struct i40e_pf *pf) in i40e_init_pf_dcb()
5089 struct i40e_pf *pf = vsi->back; in i40e_up_complete() local
5148 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_locked() local
5218 struct i40e_pf *pf = vsi->back; in i40e_setup_tc() local
5283 struct i40e_pf *pf = vsi->back; in i40e_open() local
5322 struct i40e_pf *pf = vsi->back; in i40e_vsi_open() local
5394 static void i40e_fdir_filter_exit(struct i40e_pf *pf) in i40e_fdir_filter_exit()
5440 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset()
5533 bool i40e_dcb_need_reconfig(struct i40e_pf *pf, in i40e_dcb_need_reconfig()
5587 static int i40e_handle_lldp_event(struct i40e_pf *pf, in i40e_handle_lldp_event()
5692 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset_safe()
5707 static void i40e_handle_lan_overflow_event(struct i40e_pf *pf, in i40e_handle_lan_overflow_event()
5739 static void i40e_service_event_complete(struct i40e_pf *pf) in i40e_service_event_complete()
5752 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf) in i40e_get_cur_guaranteed_fd_count()
5765 u32 i40e_get_current_fd_count(struct i40e_pf *pf) in i40e_get_current_fd_count()
5780 u32 i40e_get_global_fd_count(struct i40e_pf *pf) in i40e_get_global_fd_count()
5795 void i40e_fdir_check_and_reenable(struct i40e_pf *pf) in i40e_fdir_check_and_reenable()
5848 static void i40e_fdir_flush_and_replay(struct i40e_pf *pf) in i40e_fdir_flush_and_replay()
5910 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf) in i40e_get_current_atr_cnt()
5926 static void i40e_fdir_reinit_subtask(struct i40e_pf *pf) in i40e_fdir_reinit_subtask()
5987 struct i40e_pf *pf; in i40e_veb_link_event() local
6009 static void i40e_link_event(struct i40e_pf *pf) in i40e_link_event()
6059 static void i40e_watchdog_subtask(struct i40e_pf *pf) in i40e_watchdog_subtask()
6098 static void i40e_reset_subtask(struct i40e_pf *pf) in i40e_reset_subtask()
6147 static void i40e_handle_link_event(struct i40e_pf *pf, in i40e_handle_link_event()
6177 static void i40e_clean_adminq_subtask(struct i40e_pf *pf) in i40e_clean_adminq_subtask()
6295 static void i40e_verify_eeprom(struct i40e_pf *pf) in i40e_verify_eeprom()
6322 static void i40e_enable_pf_switch_lb(struct i40e_pf *pf) in i40e_enable_pf_switch_lb()
6358 static void i40e_disable_pf_switch_lb(struct i40e_pf *pf) in i40e_disable_pf_switch_lb()
6398 struct i40e_pf *pf = veb->pf; in i40e_config_bridge_mode() local
6421 struct i40e_pf *pf = veb->pf; in i40e_reconstitute_veb() local
6500 static int i40e_get_capabilities(struct i40e_pf *pf) in i40e_get_capabilities()
6563 static void i40e_fdir_sb_setup(struct i40e_pf *pf) in i40e_fdir_sb_setup()
6612 static void i40e_fdir_teardown(struct i40e_pf *pf) in i40e_fdir_teardown()
6631 static void i40e_prep_for_reset(struct i40e_pf *pf) in i40e_prep_for_reset()
6666 static void i40e_send_version(struct i40e_pf *pf) in i40e_send_version()
6683 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit) in i40e_reset_and_rebuild()
6873 static void i40e_handle_reset_warning(struct i40e_pf *pf) in i40e_handle_reset_warning()
6885 static void i40e_handle_mdd_event(struct i40e_pf *pf) in i40e_handle_mdd_event()
6992 static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) in i40e_sync_vxlan_filters_subtask()
7036 struct i40e_pf *pf = container_of(work, in i40e_service_task() local
7078 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_service_timer() local
7091 struct i40e_pf *pf = vsi->back; in i40e_set_num_rings_in_vsi() local
7186 static int i40e_vsi_mem_alloc(struct i40e_pf *pf, enum i40e_vsi_type type) in i40e_vsi_mem_alloc()
7290 struct i40e_pf *pf; in i40e_vsi_clear() local
7358 struct i40e_pf *pf = vsi->back; in i40e_alloc_rings() local
7414 static int i40e_reserve_msix_vectors(struct i40e_pf *pf, int vectors) in i40e_reserve_msix_vectors()
7435 static int i40e_init_msix(struct i40e_pf *pf) in i40e_init_msix()
7652 struct i40e_pf *pf = vsi->back; in i40e_vsi_alloc_q_vectors() local
7683 static int i40e_init_interrupt_scheme(struct i40e_pf *pf) in i40e_init_interrupt_scheme()
7746 static int i40e_setup_misc_vector(struct i40e_pf *pf) in i40e_setup_misc_vector()
7786 struct i40e_pf *pf = vsi->back; in i40e_config_rss_aq() local
7835 struct i40e_pf *pf = vsi->back; in i40e_vsi_config_rss() local
7851 static int i40e_config_rss_reg(struct i40e_pf *pf, const u8 *seed) in i40e_config_rss_reg()
7883 static int i40e_config_rss(struct i40e_pf *pf) in i40e_config_rss()
7924 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count) in i40e_reconfig_rss_queues()
7951 i40e_status i40e_get_npar_bw_setting(struct i40e_pf *pf) in i40e_get_npar_bw_setting()
7974 i40e_status i40e_set_npar_bw_setting(struct i40e_pf *pf) in i40e_set_npar_bw_setting()
7994 i40e_status i40e_commit_npar_bw_setting(struct i40e_pf *pf) in i40e_commit_npar_bw_setting()
8081 static int i40e_sw_init(struct i40e_pf *pf) in i40e_sw_init()
8218 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features) in i40e_set_ntuple()
8262 struct i40e_pf *pf = vsi->back; in i40e_set_features() local
8286 static u8 i40e_get_vxlan_port_idx(struct i40e_pf *pf, __be16 port) in i40e_get_vxlan_port_idx()
8309 struct i40e_pf *pf = vsi->back; in i40e_add_vxlan_port() local
8351 struct i40e_pf *pf = vsi->back; in i40e_del_vxlan_port() local
8378 struct i40e_pf *pf = np->vsi->back; in i40e_get_phys_port_id() local
8404 struct i40e_pf *pf = np->vsi->back; in i40e_ndo_fdb_add() local
8455 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_setlink() local
8530 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_getlink() local
8618 struct i40e_pf *pf = vsi->back; in i40e_config_netdev() local
8738 struct i40e_pf *pf = vsi->back; in i40e_is_vsi_uplink_mode_veb() local
8775 struct i40e_pf *pf = vsi->back; in i40e_add_vsi() local
9016 struct i40e_pf *pf; in i40e_vsi_release() local
9107 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_vectors() local
9162 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_setup() local
9228 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type, in i40e_vsi_setup()
9409 struct i40e_pf *pf = veb->pf; in i40e_veb_get_bw_info() local
9459 static int i40e_veb_mem_alloc(struct i40e_pf *pf) in i40e_veb_mem_alloc()
9507 struct i40e_pf *pf = branch->pf; in i40e_switch_branch_release() local
9553 struct i40e_pf *pf = veb->pf; in i40e_veb_clear() local
9571 struct i40e_pf *pf; in i40e_veb_release() local
9615 struct i40e_pf *pf = veb->pf; in i40e_add_veb() local
9675 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, in i40e_veb_setup()
9751 static void i40e_setup_pf_switch_element(struct i40e_pf *pf, in i40e_setup_pf_switch_element()
9833 int i40e_fetch_switch_configuration(struct i40e_pf *pf, bool printconfig) in i40e_fetch_switch_configuration()
9890 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit) in i40e_setup_pf_switch()
9969 static void i40e_determine_queue_usage(struct i40e_pf *pf) in i40e_determine_queue_usage()
10093 static int i40e_setup_pf_filter_control(struct i40e_pf *pf) in i40e_setup_pf_filter_control()
10114 static void i40e_print_features(struct i40e_pf *pf) in i40e_print_features()
10179 struct i40e_pf *pf; in i40e_probe() local
10689 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_remove() local
10790 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_detected() local
10816 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_slot_reset() local
10859 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_resume() local
10876 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_shutdown() local
10916 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_suspend() local
10941 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_resume() local