Lines Matching defs:pf
14 static int ice_validate_vf_id(struct ice_pf *pf, u16 vf_id) in ice_validate_vf_id()
29 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init()
79 ice_vc_vf_broadcast(struct ice_pf *pf, enum virtchnl_ops v_opcode, in ice_vc_vf_broadcast()
145 struct ice_pf *pf = vf->pf; in ice_is_vf_link_up() local
210 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local
246 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local
291 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res()
328 struct ice_pf *pf = vf->pf; in ice_dis_vf_qs() local
342 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
420 struct ice_pf *pf = vf->pf; in ice_trigger_vf_reset() local
545 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local
574 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx()
679 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() local
792 ice_determine_res(struct ice_pf *pf, u16 avail_res, u16 max_res, u16 min_res) in ice_determine_res()
827 struct ice_pf *pf; in ice_calc_vf_reg_idx() local
877 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res()
917 static int ice_set_per_vf_res(struct ice_pf *pf) in ice_set_per_vf_res()
1009 struct ice_pf *pf = vf->pf; in ice_vf_set_vsi_promisc() local
1103 struct ice_pf *pf = vf->pf; in ice_vf_rebuild_vsi() local
1144 struct ice_pf *pf = vf->pf; in ice_vf_post_vsi_rebuild() local
1168 bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr) in ice_reset_all_vfs()
1242 struct ice_pf *pf = vf->pf; in ice_is_vf_disabled() local
1263 struct ice_pf *pf = vf->pf; in ice_reset_vf() local
1352 void ice_vc_notify_link_state(struct ice_pf *pf) in ice_vc_notify_link_state()
1366 void ice_vc_notify_reset(struct ice_pf *pf) in ice_vc_notify_reset()
1386 struct ice_pf *pf; in ice_vc_notify_vf_reset() local
1419 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res() local
1462 static int ice_start_vfs(struct ice_pf *pf) in ice_start_vfs()
1502 static void ice_set_dflt_settings_vfs(struct ice_pf *pf) in ice_set_dflt_settings_vfs()
1524 static int ice_alloc_vfs(struct ice_pf *pf, int num_vfs) in ice_alloc_vfs()
1544 static int ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) in ice_ena_vfs()
1604 static int ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) in ice_pci_sriov_ena()
1636 static int ice_check_sriov_allowed(struct ice_pf *pf) in ice_check_sriov_allowed()
1669 struct ice_pf *pf = pci_get_drvdata(pdev); in ice_sriov_configure() local
1701 void ice_process_vflr_event(struct ice_pf *pf) in ice_process_vflr_event()
1743 static struct ice_vf *ice_get_vf_from_pfq(struct ice_pf *pf, u16 pfq) in ice_get_vf_from_pfq()
1767 static u32 ice_globalq_to_pfq(struct ice_pf *pf, u32 globalq) in ice_globalq_to_pfq()
1782 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) in ice_vf_lan_overflow_event()
1817 struct ice_pf *pf; in ice_vc_send_msg_to_vf() local
1892 struct ice_pf *pf = vf->pf; in ice_vc_get_vf_res_msg() local
2005 static struct ice_vsi *ice_find_vsi_from_id(struct ice_pf *pf, u16 id) in ice_find_vsi_from_id()
2025 struct ice_pf *pf = vf->pf; in ice_vc_isvalid_vsi_id() local
2075 struct ice_pf *pf = vf->pf; in ice_vc_config_rss_key() local
2122 struct ice_pf *pf = vf->pf; in ice_vc_config_rss_lut() local
2186 struct ice_pf *pf; in ice_check_vf_ready_for_cfg() local
2211 struct ice_pf *pf = np->vsi->back; in ice_set_vf_spoofchk() local
2289 bool ice_is_any_vf_in_promisc(struct ice_pf *pf) in ice_is_any_vf_in_promisc()
2317 struct ice_pf *pf = vf->pf; in ice_vc_cfg_promiscuous_mode_msg() local
2463 struct ice_pf *pf = vf->pf; in ice_vc_get_stats_msg() local
2566 struct ice_pf *pf = vf->pf; in ice_vc_ena_qs_msg() local
2657 struct ice_pf *pf = vf->pf; in ice_vc_dis_qs_msg() local
2825 struct ice_pf *pf = vf->pf; in ice_vc_cfg_irq_map_msg() local
2906 struct ice_pf *pf = vf->pf; in ice_vc_cfg_qs_msg() local
3117 struct ice_pf *pf = vf->pf; in ice_vc_handle_mac_addr_msg() local
3216 struct ice_pf *pf = vf->pf; in ice_vc_request_qs_msg() local
3274 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_port_vlan() local
3345 struct ice_pf *pf = vf->pf; in ice_vc_process_vlan_msg() local
3547 struct ice_pf *pf = vf->pf; in ice_vc_ena_vlan_stripping() local
3578 struct ice_pf *pf = vf->pf; in ice_vc_dis_vlan_stripping() local
3640 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event) in ice_vc_process_vf_msg()
3771 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_cfg() local
3809 static bool ice_unicast_mac_exists(struct ice_pf *pf, u8 *umac) in ice_unicast_mac_exists()
3845 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_mac() local
3902 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_trust() local
3936 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_set_vf_link_state() local
3978 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_vf_stats() local
4021 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event() local
4039 void ice_print_vfs_mdd_events(struct ice_pf *pf) in ice_print_vfs_mdd_events()