Lines Matching defs:pf
24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries()
49 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local
89 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local
134 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res()
150 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
226 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local
261 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() local
390 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res()
431 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res()
519 static int ice_sriov_get_irqs(struct ice_pf *pf, u16 needed) in ice_sriov_get_irqs()
538 static void ice_sriov_free_irqs(struct ice_pf *pf, struct ice_vf *vf) in ice_sriov_free_irqs()
556 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res() local
583 static int ice_start_vfs(struct ice_pf *pf) in ice_start_vfs()
668 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register() local
683 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register() local
730 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status() local
799 static int ice_create_vf_entries(struct ice_pf *pf, u16 num_vfs) in ice_create_vf_entries()
863 static int ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) in ice_ena_vfs()
939 static int ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) in ice_pci_sriov_ena()
970 static int ice_check_sriov_allowed(struct ice_pf *pf) in ice_check_sriov_allowed()
1000 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_get_vf_total_msix() local
1005 static int ice_sriov_move_base_vector(struct ice_pf *pf, int move) in ice_sriov_move_base_vector()
1014 static void ice_sriov_remap_vectors(struct ice_pf *pf, u16 restricted_id) in ice_sriov_remap_vectors()
1068 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_set_msix_vec_count() local
1178 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_configure() local
1210 void ice_process_vflr_event(struct ice_pf *pf) in ice_process_vflr_event()
1248 static struct ice_vf *ice_get_vf_from_pfq(struct ice_pf *pf, u16 pfq) in ice_get_vf_from_pfq()
1284 static u32 ice_globalq_to_pfq(struct ice_pf *pf, u32 globalq) in ice_globalq_to_pfq()
1299 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) in ice_vf_lan_overflow_event()
1329 struct ice_pf *pf = np->vsi->back; in ice_set_vf_spoofchk() local
1389 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_cfg() local
1436 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_mac() local
1497 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_trust() local
1544 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_link_state() local
1584 static int ice_calc_all_vfs_min_tx_rate(struct ice_pf *pf) in ice_calc_all_vfs_min_tx_rate()
1648 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_bw() local
1717 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_stats() local
1799 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_port_vlan() local
1860 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event() local
1878 void ice_print_vfs_mdd_events(struct ice_pf *pf) in ice_print_vfs_mdd_events()
1924 void ice_restore_all_vfs_msi_state(struct ice_pf *pf) in ice_restore_all_vfs_msi_state()