Lines Matching defs:pf
24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries()
50 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local
90 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local
135 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res()
151 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
222 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local
256 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() local
386 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res()
427 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res()
515 static int ice_sriov_get_irqs(struct ice_pf *pf, u16 needed) in ice_sriov_get_irqs()
534 static void ice_sriov_free_irqs(struct ice_pf *pf, struct ice_vf *vf) in ice_sriov_free_irqs()
552 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res() local
579 static int ice_start_vfs(struct ice_pf *pf) in ice_start_vfs()
664 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register() local
679 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register() local
726 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status() local
795 static int ice_create_vf_entries(struct ice_pf *pf, u16 num_vfs) in ice_create_vf_entries()
854 static int ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) in ice_ena_vfs()
929 static int ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) in ice_pci_sriov_ena()
960 static int ice_check_sriov_allowed(struct ice_pf *pf) in ice_check_sriov_allowed()
990 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_get_vf_total_msix() local
995 static int ice_sriov_move_base_vector(struct ice_pf *pf, int move) in ice_sriov_move_base_vector()
1004 static void ice_sriov_remap_vectors(struct ice_pf *pf, u16 restricted_id) in ice_sriov_remap_vectors()
1058 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_set_msix_vec_count() local
1177 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_configure() local
1209 void ice_process_vflr_event(struct ice_pf *pf) in ice_process_vflr_event()
1247 static struct ice_vf *ice_get_vf_from_pfq(struct ice_pf *pf, u16 pfq) in ice_get_vf_from_pfq()
1283 static u32 ice_globalq_to_pfq(struct ice_pf *pf, u32 globalq) in ice_globalq_to_pfq()
1298 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) in ice_vf_lan_overflow_event()
1328 struct ice_pf *pf = np->vsi->back; in ice_set_vf_spoofchk() local
1388 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_cfg() local
1434 int __ice_set_vf_mac(struct ice_pf *pf, u16 vf_id, const u8 *mac) in __ice_set_vf_mac()
1512 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_trust() local
1559 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_link_state() local
1599 static int ice_calc_all_vfs_min_tx_rate(struct ice_pf *pf) in ice_calc_all_vfs_min_tx_rate()
1663 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_bw() local
1732 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_stats() local
1814 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_port_vlan() local
1875 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event() local
1893 struct ice_pf *pf = vf->pf; in ice_print_vf_tx_mdd_event() local
1911 void ice_print_vfs_mdd_events(struct ice_pf *pf) in ice_print_vfs_mdd_events()
1952 void ice_restore_all_vfs_msi_state(struct ice_pf *pf) in ice_restore_all_vfs_msi_state()