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
1366 struct i40e_pf *pf = vsi->back; in i40e_rm_default_mac_filter() local
1518 struct i40e_pf *pf = vsi->back; in i40e_set_mac() local
1615 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_queue_map() local
1908 struct i40e_pf *pf; in i40e_sync_vsi_filters() local
2195 static void i40e_sync_filters_subtask(struct i40e_pf *pf) in i40e_sync_filters_subtask()
2245 struct i40e_pf *pf = np->vsi->back; in i40e_ioctl() local
3082 struct i40e_pf *pf = vsi->back; in i40e_fdir_filter_restore() local
3118 struct i40e_pf *pf = vsi->back; in i40e_vsi_configure_msix() local
3183 static void i40e_enable_misc_int_causes(struct i40e_pf *pf) in i40e_enable_misc_int_causes()
3224 struct i40e_pf *pf = vsi->back; in i40e_configure_msi_and_legacy() local
3261 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_disable_icr0()
3274 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf) in i40e_irq_dynamic_enable_icr0()
3294 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_disable() local
3330 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq_msix() local
3388 struct i40e_pf *pf = vsi->back; in i40e_vsi_disable_irq() local
3421 struct i40e_pf *pf = vsi->back; in i40e_vsi_enable_irq() local
3439 static void i40e_stop_misc_vector(struct i40e_pf *pf) in i40e_stop_misc_vector()
3457 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_intr() local
3758 struct i40e_pf *pf = vsi->back; in i40e_vsi_request_irq() local
3792 struct i40e_pf *pf = vsi->back; in i40e_netpoll() local
3819 static int i40e_pf_txq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_txq_wait()
3844 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_tx() local
3907 static int i40e_pf_rxq_wait(struct i40e_pf *pf, int pf_q, bool enable) in i40e_pf_rxq_wait()
3932 struct i40e_pf *pf = vsi->back; in i40e_vsi_control_rx() local
4001 struct i40e_pf *pf = vsi->back; in i40e_vsi_free_irq() local
4162 static void i40e_reset_interrupt_capability(struct i40e_pf *pf) in i40e_reset_interrupt_capability()
4184 static void i40e_clear_interrupt_scheme(struct i40e_pf *pf) in i40e_clear_interrupt_scheme()
4297 static void i40e_pf_quiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_quiesce_all_vsi()
4311 static void i40e_pf_unquiesce_all_vsi(struct i40e_pf *pf) in i40e_pf_unquiesce_all_vsi()
4330 struct i40e_pf *pf = vsi->back; in i40e_vsi_wait_txq_disabled() local
4355 static int i40e_pf_wait_txq_disabled(struct i40e_pf *pf) in i40e_pf_wait_txq_disabled()
4387 struct i40e_pf *pf; in i40e_detect_recover_hung_queue() local
4435 static void i40e_detect_recover_hung(struct i40e_pf *pf) in i40e_detect_recover_hung()
4481 static u8 i40e_get_iscsi_tc_map(struct i40e_pf *pf) in i40e_get_iscsi_tc_map()
4555 static u8 i40e_pf_get_num_tc(struct i40e_pf *pf) in i40e_pf_get_num_tc()
4591 static u8 i40e_pf_get_default_tc(struct i40e_pf *pf) in i40e_pf_get_default_tc()
4614 static u8 i40e_pf_get_tc_map(struct i40e_pf *pf) in i40e_pf_get_tc_map()
4641 struct i40e_pf *pf = vsi->back; in i40e_vsi_get_bw_info() local
4734 struct i40e_pf *pf = vsi->back; in i40e_vsi_config_netdev_tc() local
4884 struct i40e_pf *pf = veb->pf; in i40e_veb_config_tc() local
4933 static void i40e_dcb_reconfigure(struct i40e_pf *pf) in i40e_dcb_reconfigure()
4996 static int i40e_resume_port_tx(struct i40e_pf *pf) in i40e_resume_port_tx()
5022 static int i40e_init_pf_dcb(struct i40e_pf *pf) in i40e_init_pf_dcb()
5140 struct i40e_pf *pf = vsi->back; in i40e_up_complete() local
5199 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_locked() local
5269 struct i40e_pf *pf = vsi->back; in i40e_setup_tc() local
5334 struct i40e_pf *pf = vsi->back; in i40e_open() local
5394 struct i40e_pf *pf = vsi->back; in i40e_vsi_open() local
5462 static void i40e_fdir_filter_exit(struct i40e_pf *pf) in i40e_fdir_filter_exit()
5508 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset()
5601 bool i40e_dcb_need_reconfig(struct i40e_pf *pf, in i40e_dcb_need_reconfig()
5655 static int i40e_handle_lldp_event(struct i40e_pf *pf, in i40e_handle_lldp_event()
5760 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset_safe()
5775 static void i40e_handle_lan_overflow_event(struct i40e_pf *pf, in i40e_handle_lan_overflow_event()
5807 static void i40e_service_event_complete(struct i40e_pf *pf) in i40e_service_event_complete()
5820 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf) in i40e_get_cur_guaranteed_fd_count()
5833 u32 i40e_get_current_fd_count(struct i40e_pf *pf) in i40e_get_current_fd_count()
5848 u32 i40e_get_global_fd_count(struct i40e_pf *pf) in i40e_get_global_fd_count()
5863 void i40e_fdir_check_and_reenable(struct i40e_pf *pf) in i40e_fdir_check_and_reenable()
5916 static void i40e_fdir_flush_and_replay(struct i40e_pf *pf) in i40e_fdir_flush_and_replay()
5978 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf) in i40e_get_current_atr_cnt()
5994 static void i40e_fdir_reinit_subtask(struct i40e_pf *pf) in i40e_fdir_reinit_subtask()
6055 struct i40e_pf *pf; in i40e_veb_link_event() local
6077 static void i40e_link_event(struct i40e_pf *pf) in i40e_link_event()
6127 static void i40e_watchdog_subtask(struct i40e_pf *pf) in i40e_watchdog_subtask()
6166 static void i40e_reset_subtask(struct i40e_pf *pf) in i40e_reset_subtask()
6215 static void i40e_handle_link_event(struct i40e_pf *pf, in i40e_handle_link_event()
6245 static void i40e_clean_adminq_subtask(struct i40e_pf *pf) in i40e_clean_adminq_subtask()
6363 static void i40e_verify_eeprom(struct i40e_pf *pf) in i40e_verify_eeprom()
6390 static void i40e_enable_pf_switch_lb(struct i40e_pf *pf) in i40e_enable_pf_switch_lb()
6426 static void i40e_disable_pf_switch_lb(struct i40e_pf *pf) in i40e_disable_pf_switch_lb()
6466 struct i40e_pf *pf = veb->pf; in i40e_config_bridge_mode() local
6489 struct i40e_pf *pf = veb->pf; in i40e_reconstitute_veb() local
6568 static int i40e_get_capabilities(struct i40e_pf *pf) in i40e_get_capabilities()
6631 static void i40e_fdir_sb_setup(struct i40e_pf *pf) in i40e_fdir_sb_setup()
6680 static void i40e_fdir_teardown(struct i40e_pf *pf) in i40e_fdir_teardown()
6699 static void i40e_prep_for_reset(struct i40e_pf *pf) in i40e_prep_for_reset()
6734 static void i40e_send_version(struct i40e_pf *pf) in i40e_send_version()
6751 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit) in i40e_reset_and_rebuild()
6956 static void i40e_handle_reset_warning(struct i40e_pf *pf) in i40e_handle_reset_warning()
6968 static void i40e_handle_mdd_event(struct i40e_pf *pf) in i40e_handle_mdd_event()
7075 static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) in i40e_sync_vxlan_filters_subtask()
7119 struct i40e_pf *pf = container_of(work, in i40e_service_task() local
7161 struct i40e_pf *pf = (struct i40e_pf *)data; in i40e_service_timer() local
7174 struct i40e_pf *pf = vsi->back; in i40e_set_num_rings_in_vsi() local
7269 static int i40e_vsi_mem_alloc(struct i40e_pf *pf, enum i40e_vsi_type type) in i40e_vsi_mem_alloc()
7373 struct i40e_pf *pf; in i40e_vsi_clear() local
7441 struct i40e_pf *pf = vsi->back; in i40e_alloc_rings() local
7497 static int i40e_reserve_msix_vectors(struct i40e_pf *pf, int vectors) in i40e_reserve_msix_vectors()
7518 static int i40e_init_msix(struct i40e_pf *pf) in i40e_init_msix()
7735 struct i40e_pf *pf = vsi->back; in i40e_vsi_alloc_q_vectors() local
7766 static int i40e_init_interrupt_scheme(struct i40e_pf *pf) in i40e_init_interrupt_scheme()
7829 static int i40e_setup_misc_vector(struct i40e_pf *pf) in i40e_setup_misc_vector()
7869 struct i40e_pf *pf = vsi->back; in i40e_config_rss_aq() local
7918 struct i40e_pf *pf = vsi->back; in i40e_vsi_config_rss() local
7934 static int i40e_config_rss_reg(struct i40e_pf *pf, const u8 *seed) in i40e_config_rss_reg()
7966 static int i40e_config_rss(struct i40e_pf *pf) in i40e_config_rss()
8007 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count) in i40e_reconfig_rss_queues()
8034 i40e_status i40e_get_npar_bw_setting(struct i40e_pf *pf) in i40e_get_npar_bw_setting()
8057 i40e_status i40e_set_npar_bw_setting(struct i40e_pf *pf) in i40e_set_npar_bw_setting()
8077 i40e_status i40e_commit_npar_bw_setting(struct i40e_pf *pf) in i40e_commit_npar_bw_setting()
8164 static int i40e_sw_init(struct i40e_pf *pf) in i40e_sw_init()
8307 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features) in i40e_set_ntuple()
8351 struct i40e_pf *pf = vsi->back; in i40e_set_features() local
8375 static u8 i40e_get_vxlan_port_idx(struct i40e_pf *pf, __be16 port) in i40e_get_vxlan_port_idx()
8398 struct i40e_pf *pf = vsi->back; in i40e_add_vxlan_port() local
8440 struct i40e_pf *pf = vsi->back; in i40e_del_vxlan_port() local
8467 struct i40e_pf *pf = np->vsi->back; in i40e_get_phys_port_id() local
8493 struct i40e_pf *pf = np->vsi->back; in i40e_ndo_fdb_add() local
8544 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_setlink() local
8619 struct i40e_pf *pf = vsi->back; in i40e_ndo_bridge_getlink() local
8707 struct i40e_pf *pf = vsi->back; in i40e_config_netdev() local
8827 struct i40e_pf *pf = vsi->back; in i40e_is_vsi_uplink_mode_veb() local
8864 struct i40e_pf *pf = vsi->back; in i40e_add_vsi() local
9105 struct i40e_pf *pf; in i40e_vsi_release() local
9196 struct i40e_pf *pf = vsi->back; in i40e_vsi_setup_vectors() local
9251 struct i40e_pf *pf = vsi->back; in i40e_vsi_reinit_setup() local
9317 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type, in i40e_vsi_setup()
9501 struct i40e_pf *pf = veb->pf; in i40e_veb_get_bw_info() local
9551 static int i40e_veb_mem_alloc(struct i40e_pf *pf) in i40e_veb_mem_alloc()
9599 struct i40e_pf *pf = branch->pf; in i40e_switch_branch_release() local
9645 struct i40e_pf *pf = veb->pf; in i40e_veb_clear() local
9663 struct i40e_pf *pf; in i40e_veb_release() local
9707 struct i40e_pf *pf = veb->pf; in i40e_add_veb() local
9767 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, in i40e_veb_setup()
9843 static void i40e_setup_pf_switch_element(struct i40e_pf *pf, in i40e_setup_pf_switch_element()
9925 int i40e_fetch_switch_configuration(struct i40e_pf *pf, bool printconfig) in i40e_fetch_switch_configuration()
9982 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit) in i40e_setup_pf_switch()
10061 static void i40e_determine_queue_usage(struct i40e_pf *pf) in i40e_determine_queue_usage()
10185 static int i40e_setup_pf_filter_control(struct i40e_pf *pf) in i40e_setup_pf_filter_control()
10206 static void i40e_print_features(struct i40e_pf *pf) in i40e_print_features()
10271 struct i40e_pf *pf; in i40e_probe() local
10793 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_remove() local
10896 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_detected() local
10928 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_slot_reset() local
10971 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_pci_error_resume() local
10988 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_shutdown() local
11034 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_suspend() local
11059 struct i40e_pf *pf = pci_get_drvdata(pdev); in i40e_resume() local