Lines Matching defs:vf

29 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf)  in ice_check_vf_init()
86 struct ice_vf *vf = &pf->vf[i]; in ice_vc_vf_broadcast() local
109 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link()
133 static bool ice_vf_has_no_qs_ena(struct ice_vf *vf) in ice_vf_has_no_qs_ena()
143 static bool ice_is_vf_link_up(struct ice_vf *vf) in ice_is_vf_link_up()
165 static void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state()
188 static void ice_vf_invalidate_vsi(struct ice_vf *vf) in ice_vf_invalidate_vsi()
198 static void ice_vf_vsi_release(struct ice_vf *vf) in ice_vf_vsi_release()
208 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res()
244 static void ice_dis_vf_mappings(struct ice_vf *vf) in ice_dis_vf_mappings()
314 void ice_set_vf_state_qs_dis(struct ice_vf *vf) in ice_set_vf_state_qs_dis()
326 static void ice_dis_vf_qs(struct ice_vf *vf) in ice_dis_vf_qs()
418 static void ice_trigger_vf_reset(struct ice_vf *vf, bool is_vflr, bool is_pfr) in ice_trigger_vf_reset()
530 static struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf) in ice_vf_get_port_info()
542 static struct ice_vsi *ice_vf_vsi_setup(struct ice_vf *vf) in ice_vf_vsi_setup()
574 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx()
586 static int ice_vf_rebuild_host_vlan_cfg(struct ice_vf *vf) in ice_vf_rebuild_host_vlan_cfg()
623 static int ice_vf_rebuild_host_mac_cfg(struct ice_vf *vf) in ice_vf_rebuild_host_mac_cfg()
659 static void ice_vf_set_host_trust_cfg(struct ice_vf *vf) in ice_vf_set_host_trust_cfg()
675 static void ice_ena_vf_msix_mappings(struct ice_vf *vf) in ice_ena_vf_msix_mappings()
725 static void ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) in ice_ena_vf_q_mappings()
773 static void ice_ena_vf_mappings(struct ice_vf *vf) in ice_ena_vf_mappings()
825 int ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) in ice_calc_vf_reg_idx()
984 static void ice_clear_vf_reset_trigger(struct ice_vf *vf) in ice_clear_vf_reset_trigger()
1006 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m, in ice_vf_set_vsi_promisc()
1036 static void ice_vf_clear_counters(struct ice_vf *vf) in ice_vf_clear_counters()
1053 static void ice_vf_pre_vsi_rebuild(struct ice_vf *vf) in ice_vf_pre_vsi_rebuild()
1063 static void ice_vf_rebuild_host_cfg(struct ice_vf *vf) in ice_vf_rebuild_host_cfg()
1085 static int ice_vf_rebuild_vsi_with_release(struct ice_vf *vf) in ice_vf_rebuild_vsi_with_release()
1101 static int ice_vf_rebuild_vsi(struct ice_vf *vf) in ice_vf_rebuild_vsi()
1129 static void ice_vf_set_initialized(struct ice_vf *vf) in ice_vf_set_initialized()
1142 static void ice_vf_post_vsi_rebuild(struct ice_vf *vf) in ice_vf_post_vsi_rebuild()
1172 struct ice_vf *vf; in ice_reset_all_vfs() local
1240 static bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled()
1261 bool ice_reset_vf(struct ice_vf *vf, bool is_vflr) in ice_reset_vf()
1383 static void ice_vc_notify_vf_reset(struct ice_vf *vf) in ice_vc_notify_vf_reset()
1417 static int ice_init_vf_vsi_res(struct ice_vf *vf) in ice_init_vf_vsi_res()
1468 struct ice_vf *vf = &pf->vf[i]; in ice_start_vfs() local
1489 struct ice_vf *vf = &pf->vf[i]; in ice_start_vfs() local
1507 struct ice_vf *vf = &pf->vf[i]; in ice_set_dflt_settings_vfs() local
1712 struct ice_vf *vf = &pf->vf[vf_id]; in ice_process_vflr_event() local
1729 static void ice_vc_reset_vf(struct ice_vf *vf) in ice_vc_reset_vf()
1748 struct ice_vf *vf = &pf->vf[vf_id]; in ice_get_vf_from_pfq() local
1785 struct ice_vf *vf; in ice_vf_lan_overflow_event() local
1812 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf()
1865 static int ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_ver_msg()
1888 static int ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_vf_res_msg()
1992 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg()
2023 static bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id()
2041 static bool ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) in ice_vc_isvalid_q_id()
2070 static int ice_vc_config_rss_key(struct ice_vf *vf, u8 *msg) in ice_vc_config_rss_key()
2118 static int ice_vc_config_rss_lut(struct ice_vf *vf, u8 *msg) in ice_vc_config_rss_lut()
2165 static void ice_wait_on_vf_reset(struct ice_vf *vf) in ice_wait_on_vf_reset()
2184 static int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg()
2216 struct ice_vf *vf; in ice_set_vf_spoofchk() local
2294 struct ice_vf *vf = &pf->vf[vf_idx]; in ice_is_any_vf_in_promisc() local
2312 static int ice_vc_cfg_promiscuous_mode_msg(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_promiscuous_mode_msg()
2457 static int ice_vc_get_stats_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_stats_msg()
2561 static int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_ena_qs_msg()
2652 static int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_dis_qs_msg()
2771 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, u16 vector_id, in ice_cfg_interrupt()
2819 static int ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_irq_map_msg()
2899 static int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_qs_msg()
2999 static bool ice_is_vf_trusted(struct ice_vf *vf) in ice_is_vf_trusted()
3010 static bool ice_can_vf_change_mac(struct ice_vf *vf) in ice_can_vf_change_mac()
3029 ice_vc_add_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, u8 *mac_addr) in ice_vc_add_mac_addr()
3073 ice_vc_del_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, u8 *mac_addr) in ice_vc_del_mac_addr()
3110 ice_vc_handle_mac_addr_msg(struct ice_vf *vf, u8 *msg, bool set) in ice_vc_handle_mac_addr_msg()
3183 static int ice_vc_add_mac_addr_msg(struct ice_vf *vf, u8 *msg) in ice_vc_add_mac_addr_msg()
3195 static int ice_vc_del_mac_addr_msg(struct ice_vf *vf, u8 *msg) in ice_vc_del_mac_addr_msg()
3210 static int ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_request_qs_msg()
3276 struct ice_vf *vf; in ice_set_vf_port_vlan() local
3340 static int ice_vc_process_vlan_msg(struct ice_vf *vf, u8 *msg, bool add_v) in ice_vc_process_vlan_msg()
3521 static int ice_vc_add_vlan_msg(struct ice_vf *vf, u8 *msg) in ice_vc_add_vlan_msg()
3533 static int ice_vc_remove_vlan_msg(struct ice_vf *vf, u8 *msg) in ice_vc_remove_vlan_msg()
3544 static int ice_vc_ena_vlan_stripping(struct ice_vf *vf) in ice_vc_ena_vlan_stripping()
3575 static int ice_vc_dis_vlan_stripping(struct ice_vf *vf) in ice_vc_dis_vlan_stripping()
3615 static int ice_vf_init_vlan_stripping(struct ice_vf *vf) in ice_vf_init_vlan_stripping()
3646 struct ice_vf *vf = NULL; in ice_vc_process_vf_msg() local
3772 struct ice_vf *vf; in ice_get_vf_cfg() local
3846 struct ice_vf *vf; in ice_set_vf_mac() local
3903 struct ice_vf *vf; in ice_set_vf_trust() local
3937 struct ice_vf *vf; in ice_set_vf_link_state() local
3981 struct ice_vf *vf; in ice_get_vf_stats() local
4019 void ice_print_vf_rx_mdd_event(struct ice_vf *vf) in ice_print_vf_rx_mdd_event()
4056 struct ice_vf *vf = &pf->vf[i]; in ice_print_vfs_mdd_events() local