Home
last modified time | relevance | path

Searched defs:vf (Results 1 – 25 of 177) sorted by relevance

12345678

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.c27 struct ice_vf *vf; in ice_get_vf_by_id() local
57 struct ice_vf *vf = container_of(ref, struct ice_vf, refcnt); in ice_release_vf() local
73 void ice_put_vf(struct ice_vf *vf) in ice_put_vf() argument
105 struct ice_vf *vf; ice_get_num_vfs() local
121 ice_get_vf_vsi(struct ice_vf * vf) ice_get_vf_vsi() argument
141 ice_is_vf_disabled(struct ice_vf * vf) ice_is_vf_disabled() argument
156 ice_wait_on_vf_reset(struct ice_vf * vf) ice_wait_on_vf_reset() argument
175 ice_check_vf_ready_for_cfg(struct ice_vf * vf) ice_check_vf_ready_for_cfg() argument
198 ice_trigger_vf_reset(struct ice_vf * vf,bool is_vflr,bool is_pfr) ice_trigger_vf_reset() argument
219 ice_vf_clear_counters(struct ice_vf * vf) ice_vf_clear_counters() argument
238 ice_vf_pre_vsi_rebuild(struct ice_vf * vf) ice_vf_pre_vsi_rebuild() argument
257 ice_vf_recreate_vsi(struct ice_vf * vf) ice_vf_recreate_vsi() argument
284 ice_vf_rebuild_vsi(struct ice_vf * vf) ice_vf_rebuild_vsi() argument
314 ice_vf_rebuild_host_vlan_cfg(struct ice_vf * vf,struct ice_vsi * vsi) ice_vf_rebuild_host_vlan_cfg() argument
355 ice_vf_rebuild_host_tx_rate_cfg(struct ice_vf * vf) ice_vf_rebuild_host_tx_rate_cfg() argument
389 ice_vf_set_host_trust_cfg(struct ice_vf * vf) ice_vf_set_host_trust_cfg() argument
401 ice_vf_rebuild_host_mac_cfg(struct ice_vf * vf) ice_vf_rebuild_host_mac_cfg() argument
478 ice_vf_rebuild_host_cfg(struct ice_vf * vf) ice_vf_rebuild_host_cfg() argument
512 ice_set_vf_state_qs_dis(struct ice_vf * vf) ice_set_vf_state_qs_dis() argument
527 ice_vf_set_initialized(struct ice_vf * vf) ice_vf_set_initialized() argument
544 ice_vf_post_vsi_rebuild(struct ice_vf * vf) ice_vf_post_vsi_rebuild() argument
563 struct ice_vf *vf; ice_is_any_vf_in_unicast_promisc() local
590 ice_vf_get_promisc_masks(struct ice_vf * vf,struct ice_vsi * vsi,u8 * ucast_m,u8 * mcast_m) ice_vf_get_promisc_masks() argument
611 ice_vf_clear_all_promisc_modes(struct ice_vf * vf,struct ice_vsi * vsi) ice_vf_clear_all_promisc_modes() argument
653 ice_vf_set_vsi_promisc(struct ice_vf * vf,struct ice_vsi * vsi,u8 promisc_m) ice_vf_set_vsi_promisc() argument
682 ice_vf_clear_vsi_promisc(struct ice_vf * vf,struct ice_vsi * vsi,u8 promisc_m) ice_vf_clear_vsi_promisc() argument
719 struct ice_vf *vf; ice_reset_all_vfs() local
793 ice_notify_vf_reset(struct ice_vf * vf) ice_notify_vf_reset() argument
827 ice_reset_vf(struct ice_vf * vf,u32 flags) ice_reset_vf() argument
965 ice_set_vf_state_dis(struct ice_vf * vf) ice_set_vf_state_dis() argument
977 ice_initialize_vf_entry(struct ice_vf * vf) ice_initialize_vf_entry() argument
1006 ice_dis_vf_qs(struct ice_vf * vf) ice_dis_vf_qs() argument
1046 ice_check_vf_init(struct ice_vf * vf) ice_check_vf_init() argument
1062 ice_vf_get_port_info(struct ice_vf * vf) ice_vf_get_port_info() argument
1163 ice_is_vf_trusted(struct ice_vf * vf) ice_is_vf_trusted() argument
1175 ice_vf_has_no_qs_ena(struct ice_vf * vf) ice_vf_has_no_qs_ena() argument
1185 ice_is_vf_link_up(struct ice_vf * vf) ice_is_vf_link_up() argument
1205 ice_vf_ctrl_invalidate_vsi(struct ice_vf * vf) ice_vf_ctrl_invalidate_vsi() argument
1214 ice_vf_ctrl_vsi_release(struct ice_vf * vf) ice_vf_ctrl_vsi_release() argument
1227 ice_vf_ctrl_vsi_setup(struct ice_vf * vf) ice_vf_ctrl_vsi_setup() argument
1256 ice_vf_init_host_cfg(struct ice_vf * vf,struct ice_vsi * vsi) ice_vf_init_host_cfg() argument
1305 ice_vf_invalidate_vsi(struct ice_vf * vf) ice_vf_invalidate_vsi() argument
1318 ice_vf_vsi_release(struct ice_vf * vf) ice_vf_vsi_release() argument
1346 struct ice_vf *vf; ice_get_vf_ctrl_vsi() local
[all...]
H A Dice_sriov.c28 struct ice_vf *vf; in ice_free_vf_entries() local
47 ice_free_vf_res(struct ice_vf * vf) ice_free_vf_res() argument
87 ice_dis_vf_mappings(struct ice_vf * vf) ice_dis_vf_mappings() argument
155 struct ice_vf *vf; ice_free_vfs() local
222 ice_vf_vsi_setup(struct ice_vf * vf) ice_vf_vsi_setup() argument
259 ice_calc_vf_first_vector_idx(struct ice_pf * pf,struct ice_vf * vf) ice_calc_vf_first_vector_idx() argument
272 ice_ena_vf_msix_mappings(struct ice_vf * vf) ice_ena_vf_msix_mappings() argument
322 ice_ena_vf_q_mappings(struct ice_vf * vf,u16 max_txq,u16 max_rxq) ice_ena_vf_q_mappings() argument
373 ice_ena_vf_mappings(struct ice_vf * vf) ice_ena_vf_mappings() argument
389 ice_calc_vf_reg_idx(struct ice_vf * vf,struct ice_q_vector * q_vector) ice_calc_vf_reg_idx() argument
536 ice_init_vf_vsi_res(struct ice_vf * vf) ice_init_vf_vsi_res() argument
567 struct ice_vf *vf; ice_start_vfs() local
612 ice_sriov_free_vf(struct ice_vf * vf) ice_sriov_free_vf() argument
623 ice_sriov_clear_reset_state(struct ice_vf * vf) ice_sriov_clear_reset_state() argument
638 ice_sriov_clear_mbx_register(struct ice_vf * vf) ice_sriov_clear_mbx_register() argument
653 ice_sriov_trigger_reset_register(struct ice_vf * vf,bool is_vflr) ice_sriov_trigger_reset_register() argument
700 ice_sriov_poll_reset_status(struct ice_vf * vf) ice_sriov_poll_reset_status() argument
725 ice_sriov_clear_reset_trigger(struct ice_vf * vf) ice_sriov_clear_reset_trigger() argument
743 ice_sriov_create_vsi(struct ice_vf * vf) ice_sriov_create_vsi() argument
758 ice_sriov_post_vsi_rebuild(struct ice_vf * vf) ice_sriov_post_vsi_rebuild() argument
793 struct ice_vf *vf; ice_create_vf_entries() local
1005 struct ice_vf *vf; ice_process_vflr_event() local
1042 struct ice_vf *vf; ice_get_vf_from_pfq() local
1094 struct ice_vf *vf; ice_vf_lan_overflow_event() local
1125 struct ice_vf *vf; ice_set_vf_spoofchk() local
1183 struct ice_vf *vf; ice_get_vf_cfg() local
1230 struct ice_vf *vf; ice_set_vf_mac() local
1291 struct ice_vf *vf; ice_set_vf_trust() local
1338 struct ice_vf *vf; ice_set_vf_link_state() local
1379 struct ice_vf *vf; ice_calc_all_vfs_min_tx_rate() local
1404 ice_min_tx_rate_oversubscribed(struct ice_vf * vf,int min_tx_rate) ice_min_tx_rate_oversubscribed() argument
1444 struct ice_vf *vf; ice_set_vf_bw() local
1513 struct ice_vf *vf; ice_get_vf_stats() local
1595 struct ice_vf *vf; ice_set_vf_port_vlan() local
1651 ice_print_vf_rx_mdd_event(struct ice_vf * vf) ice_print_vf_rx_mdd_event() argument
1675 struct ice_vf *vf; ice_print_vfs_mdd_events() local
[all...]
H A Dice_virtchnl.c181 struct ice_vf *vf; in ice_vc_vf_broadcast() local
208 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link() argument
231 void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state() argument
256 struct ice_vf *vf; ice_vc_notify_link_state() local
295 ice_vc_send_msg_to_vf(struct ice_vf * vf,u32 v_opcode,enum virtchnl_status_code v_retval,u8 * msg,u16 msglen) ice_vc_send_msg_to_vf() argument
324 ice_vc_get_ver_msg(struct ice_vf * vf,u8 * msg) ice_vc_get_ver_msg() argument
349 ice_vc_get_max_frame_size(struct ice_vf * vf) ice_vc_get_max_frame_size() argument
372 ice_vc_get_vlan_caps(struct ice_hw * hw,struct ice_vf * vf,struct ice_vsi * vsi,u32 driver_caps) ice_vc_get_vlan_caps() argument
417 ice_vc_get_vf_res_msg(struct ice_vf * vf,u8 * msg) ice_vc_get_vf_res_msg() argument
533 ice_vc_reset_vf_msg(struct ice_vf * vf) ice_vc_reset_vf_msg() argument
546 ice_vc_isvalid_vsi_id(struct ice_vf * vf,u16 vsi_id) ice_vc_isvalid_vsi_id() argument
589 ice_vc_validate_pattern(struct ice_vf * vf,struct virtchnl_proto_hdrs * proto) ice_vc_validate_pattern() argument
758 ice_vc_handle_rss_cfg(struct ice_vf * vf,u8 * msg,bool add) ice_vc_handle_rss_cfg() argument
889 ice_vc_config_rss_key(struct ice_vf * vf,u8 * msg) ice_vc_config_rss_key() argument
936 ice_vc_config_rss_lut(struct ice_vf * vf,u8 * msg) ice_vc_config_rss_lut() argument
982 ice_vc_cfg_promiscuous_mode_msg(struct ice_vf * vf,u8 * msg) ice_vc_cfg_promiscuous_mode_msg() argument
1122 ice_vc_get_stats_msg(struct ice_vf * vf,u8 * msg) ice_vc_get_stats_msg() argument
1225 ice_vc_ena_qs_msg(struct ice_vf * vf,u8 * msg) ice_vc_ena_qs_msg() argument
1317 ice_vf_vsi_dis_single_txq(struct ice_vf * vf,struct ice_vsi * vsi,u16 q_id) ice_vf_vsi_dis_single_txq() argument
1353 ice_vc_dis_qs_msg(struct ice_vf * vf,u8 * msg) ice_vc_dis_qs_msg() argument
1456 ice_cfg_interrupt(struct ice_vf * vf,struct ice_vsi * vsi,u16 vector_id,struct virtchnl_vector_map * map,struct ice_q_vector * q_vector) ice_cfg_interrupt() argument
1504 ice_vc_cfg_irq_map_msg(struct ice_vf * vf,u8 * msg) ice_vc_cfg_irq_map_msg() argument
1584 ice_vc_cfg_qs_msg(struct ice_vf * vf,u8 * msg) ice_vc_cfg_qs_msg() argument
1763 ice_can_vf_change_mac(struct ice_vf * vf) ice_can_vf_change_mac() argument
1818 ice_vfhw_mac_add(struct ice_vf * vf,struct virtchnl_ether_addr * vc_ether_addr) ice_vfhw_mac_add() argument
1856 ice_vc_add_mac_addr(struct ice_vf * vf,struct ice_vsi * vsi,struct virtchnl_ether_addr * vc_ether_addr) ice_vc_add_mac_addr() argument
1912 ice_update_legacy_cached_mac(struct ice_vf * vf,struct virtchnl_ether_addr * vc_ether_addr) ice_update_legacy_cached_mac() argument
1929 ice_vfhw_mac_del(struct ice_vf * vf,struct virtchnl_ether_addr * vc_ether_addr) ice_vfhw_mac_del() argument
1954 ice_vc_del_mac_addr(struct ice_vf * vf,struct ice_vsi * vsi,struct virtchnl_ether_addr * vc_ether_addr) ice_vc_del_mac_addr() argument
1992 ice_vc_handle_mac_addr_msg(struct ice_vf * vf,u8 * msg,bool set) ice_vc_handle_mac_addr_msg() argument
2066 ice_vc_add_mac_addr_msg(struct ice_vf * vf,u8 * msg) ice_vc_add_mac_addr_msg() argument
2078 ice_vc_del_mac_addr_msg(struct ice_vf * vf,u8 * msg) ice_vc_del_mac_addr_msg() argument
2093 ice_vc_request_qs_msg(struct ice_vf * vf,u8 * msg) ice_vc_request_qs_msg() argument
2158 ice_is_vlan_promisc_allowed(struct ice_vf * vf) ice_is_vlan_promisc_allowed() argument
2221 ice_vf_has_max_vlans(struct ice_vf * vf,struct ice_vsi * vsi) ice_vf_has_max_vlans() argument
2239 ice_vc_process_vlan_msg(struct ice_vf * vf,u8 * msg,bool add_v) ice_vc_process_vlan_msg() argument
2419 ice_vc_add_vlan_msg(struct ice_vf * vf,u8 * msg) ice_vc_add_vlan_msg() argument
2431 ice_vc_remove_vlan_msg(struct ice_vf * vf,u8 * msg) ice_vc_remove_vlan_msg() argument
2442 ice_vc_ena_vlan_stripping(struct ice_vf * vf) ice_vc_ena_vlan_stripping() argument
2477 ice_vc_dis_vlan_stripping(struct ice_vf * vf) ice_vc_dis_vlan_stripping() argument
2510 ice_vc_get_rss_hena(struct ice_vf * vf) ice_vc_get_rss_hena() argument
2549 ice_vc_set_rss_hena(struct ice_vf * vf,u8 * msg) ice_vc_set_rss_hena() argument
2615 ice_vc_query_rxdid(struct ice_vf * vf) ice_vc_query_rxdid() argument
2673 ice_vf_init_vlan_stripping(struct ice_vf * vf) ice_vf_init_vlan_stripping() argument
2692 ice_vc_get_max_vlan_fltrs(struct ice_vf * vf) ice_vc_get_max_vlan_fltrs() argument
2707 ice_vf_outer_vlan_not_allowed(struct ice_vf * vf) ice_vf_outer_vlan_not_allowed() argument
2726 ice_vc_set_dvm_caps(struct ice_vf * vf,struct virtchnl_vlan_caps * caps) ice_vc_set_dvm_caps() argument
2807 ice_vc_set_svm_caps(struct ice_vf * vf,struct virtchnl_vlan_caps * caps) ice_vc_set_svm_caps() argument
2862 ice_vc_get_offload_vlan_v2_caps(struct ice_vf * vf) ice_vc_get_offload_vlan_v2_caps() argument
3036 ice_vc_del_vlans(struct ice_vf * vf,struct ice_vsi * vsi,struct virtchnl_vlan_filter_list_v2 * vfl) ice_vc_del_vlans() argument
3103 ice_vc_remove_vlan_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_remove_vlan_v2_msg() argument
3142 ice_vc_add_vlans(struct ice_vf * vf,struct ice_vsi * vsi,struct virtchnl_vlan_filter_list_v2 * vfl) ice_vc_add_vlans() argument
3239 ice_vc_add_vlan_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_add_vlan_v2_msg() argument
3432 ice_vc_ena_vlan_stripping_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_ena_vlan_stripping_v2_msg() argument
3506 ice_vc_dis_vlan_stripping_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_dis_vlan_stripping_v2_msg() argument
3576 ice_vc_ena_vlan_insertion_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_ena_vlan_insertion_v2_msg() argument
3635 ice_vc_dis_vlan_insertion_v2_msg(struct ice_vf * vf,u8 * msg) ice_vc_dis_vlan_insertion_v2_msg() argument
3721 ice_virtchnl_set_dflt_ops(struct ice_vf * vf) ice_virtchnl_set_dflt_ops() argument
3735 ice_vc_repr_add_mac(struct ice_vf * vf,u8 * msg) ice_vc_repr_add_mac() argument
3790 ice_vc_repr_del_mac(struct ice_vf __always_unused * vf,u8 __always_unused * msg) ice_vc_repr_del_mac() argument
3802 ice_vc_repr_cfg_promiscuous_mode(struct ice_vf * vf,u8 __always_unused * msg) ice_vc_repr_cfg_promiscuous_mode() argument
3850 ice_virtchnl_set_repr_ops(struct ice_vf * vf) ice_virtchnl_set_repr_ops() argument
3864 ice_is_malicious_vf(struct ice_vf * vf,struct ice_mbx_data * mbxdata) ice_is_malicious_vf() argument
3913 struct ice_vf *vf = NULL; ice_vc_process_vf_msg() local
[all...]
H A Dice_virtchnl_fdir.c97 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() argument
127 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() argument
171 ice_vc_fdir_alloc_prof(struct ice_vf * vf,enum ice_fltr_ptype flow) ice_vc_fdir_alloc_prof() argument
201 ice_vc_fdir_free_prof(struct ice_vf * vf,enum ice_fltr_ptype flow) ice_vc_fdir_free_prof() argument
219 ice_vc_fdir_free_prof_all(struct ice_vf * vf) ice_vc_fdir_free_prof_all() argument
287 ice_vc_fdir_set_flow_fld(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf,struct ice_flow_seg_info * seg) ice_vc_fdir_set_flow_fld() argument
331 ice_vc_fdir_set_flow_hdr(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf,struct ice_flow_seg_info * seg) ice_vc_fdir_set_flow_hdr() argument
476 ice_vc_fdir_rem_prof(struct ice_vf * vf,enum ice_fltr_ptype flow,int tun) ice_vc_fdir_rem_prof() argument
530 ice_vc_fdir_rem_prof_all(struct ice_vf * vf) ice_vc_fdir_rem_prof_all() argument
568 ice_vc_fdir_has_prof_conflict(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_has_prof_conflict() argument
636 ice_vc_fdir_write_flow_prof(struct ice_vf * vf,enum ice_fltr_ptype flow,struct ice_flow_seg_info * seg,int tun) ice_vc_fdir_write_flow_prof() argument
751 ice_vc_fdir_config_input_set(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf,int tun) ice_vc_fdir_config_input_set() argument
817 ice_vc_fdir_parse_pattern(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_parse_pattern() argument
1041 ice_vc_fdir_parse_action(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_parse_action() argument
1115 ice_vc_validate_fdir_fltr(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_validate_fdir_fltr() argument
1179 ice_vc_fdir_is_dup_fltr(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_is_dup_fltr() argument
1207 ice_vc_fdir_insert_entry(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf,u32 * id) ice_vc_fdir_insert_entry() argument
1231 ice_vc_fdir_remove_entry(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf,u32 id) ice_vc_fdir_remove_entry() argument
1248 ice_vc_fdir_lookup_entry(struct ice_vf * vf,u32 id) ice_vc_fdir_lookup_entry() argument
1257 ice_vc_fdir_flush_entry(struct ice_vf * vf) ice_vc_fdir_flush_entry() argument
1279 ice_vc_fdir_write_fltr(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf,bool add,bool is_tun) ice_vc_fdir_write_fltr() argument
1343 struct ice_vf *vf; ice_vf_fdir_timer() local
1379 struct ice_vf *vf = ctrl_vsi->vf; ice_vc_fdir_irq_handler() local
1422 ice_vf_fdir_dump_info(struct ice_vf * vf) ice_vf_fdir_dump_info() argument
1461 ice_vf_verify_rx_desc(struct ice_vf * vf,struct ice_vf_fdir_ctx * ctx,enum virtchnl_fdir_prgm_status * status) ice_vf_verify_rx_desc() argument
1545 ice_vc_add_fdir_fltr_post(struct ice_vf * vf,struct ice_vf_fdir_ctx * ctx,enum virtchnl_fdir_prgm_status status,bool success) ice_vc_add_fdir_fltr_post() argument
1610 ice_vc_del_fdir_fltr_post(struct ice_vf * vf,struct ice_vf_fdir_ctx * ctx,enum virtchnl_fdir_prgm_status status,bool success) ice_vc_del_fdir_fltr_post() argument
1670 struct ice_vf *vf; ice_flush_fdir_ctx() local
1745 ice_vc_fdir_set_irq_ctx(struct ice_vf * vf,struct virtchnl_fdir_fltr_conf * conf,enum virtchnl_ops v_opcode) ice_vc_fdir_set_irq_ctx() argument
1780 ice_vc_fdir_clear_irq_ctx(struct ice_vf * vf) ice_vc_fdir_clear_irq_ctx() argument
1798 ice_vc_add_fdir_fltr(struct ice_vf * vf,u8 * msg) ice_vc_add_fdir_fltr() argument
1938 ice_vc_del_fdir_fltr(struct ice_vf * vf,u8 * msg) ice_vc_del_fdir_fltr() argument
2019 ice_vf_fdir_init(struct ice_vf * vf) ice_vf_fdir_init() argument
2036 ice_vf_fdir_exit(struct ice_vf * vf) ice_vf_fdir_exit() argument
[all...]
H A Dice_virtchnl_allowlist.c115 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed()
132 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes()
144 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist()
153 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist()
167 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist()
177 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
H A Dice_eswitch.c22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule()
64 static void ice_eswitch_del_vf_sp_rule(struct ice_vf *vf) in ice_eswitch_del_vf_sp_rule()
155 struct ice_vf *vf; in ice_eswitch_remap_rings_to_vectors() local
197 struct ice_vf *vf; in ice_eswitch_release_reprs() local
228 struct ice_vf *vf; in ice_eswitch_setup_reprs() local
306 struct ice_vf *vf; in ice_eswitch_update_repr() local
432 struct ice_vf *vf; in ice_eswitch_napi_del() local
447 struct ice_vf *vf; in ice_eswitch_napi_enable() local
462 struct ice_vf *vf; in ice_eswitch_napi_disable() local
657 struct ice_vf *vf; in ice_eswitch_start_all_tx_queues() local
[all …]
H A Dice_vf_lib.h145 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id()
150 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf) in ice_vf_get_port_vlan_prio()
155 static inline bool ice_vf_is_port_vlan_ena(struct ice_vf *vf) in ice_vf_is_port_vlan_ena()
160 static inline u16 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) in ice_vf_get_port_vlan_tpid()
190 #define ice_for_each_vf(pf, bkt, vf) \ argument
207 #define ice_for_each_vf_rcu(pf, bkt, vf) \ argument
236 static inline void ice_put_vf(struct ice_vf *vf) in ice_put_vf()
250 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi()
255 static inline bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled()
260 static inline int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg()
[all …]
H A Dice_repr.c99 struct ice_vf *vf; in ice_repr_open() local
125 struct ice_vf *vf; in ice_repr_stop() local
285 static int ice_repr_add(struct ice_vf *vf) in ice_repr_add()
355 static void ice_repr_rem(struct ice_vf *vf) in ice_repr_rem()
379 struct ice_vf *vf; in ice_repr_rem_from_all_vfs() local
403 struct ice_vf *vf; in ice_repr_add_for_all_vfs() local
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c22 struct ifcvf_hw *vf = arg; in ifcvf_config_changed() local
42 struct ifcvf_hw *vf = arg; in ifcvf_vqs_reused_intr_handler() local
57 struct ifcvf_hw *vf = arg; in ifcvf_dev_intr_handler() local
72 static void ifcvf_free_per_vq_irq(struct ifcvf_hw *vf) in ifcvf_free_per_vq_irq()
85 static void ifcvf_free_vqs_reused_irq(struct ifcvf_hw *vf) in ifcvf_free_vqs_reused_irq()
96 static void ifcvf_free_vq_irq(struct ifcvf_hw *vf) in ifcvf_free_vq_irq()
104 static void ifcvf_free_config_irq(struct ifcvf_hw *vf) in ifcvf_free_config_irq()
121 static void ifcvf_free_irq(struct ifcvf_hw *vf) in ifcvf_free_irq()
136 static int ifcvf_alloc_vectors(struct ifcvf_hw *vf) in ifcvf_alloc_vectors()
158 static int ifcvf_request_per_vq_irq(struct ifcvf_hw *vf) in ifcvf_request_per_vq_irq()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb()
112 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs()
126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx()
142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx()
167 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep()
235 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create()
274 static int bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_destroy()
318 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); in bnx2x_vf_set_igu_info() local
334 static int bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_vlan_mac_clear()
379 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_mac_vlan_config()
[all …]
H A Dbnx2x_vfpf.c544 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init()
1126 struct bnx2x_virtf *vf) in bnx2x_vf_mbx_resp_single_tlv()
1142 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_send_msg()
1206 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp()
1214 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_phys_port()
1237 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_fp_hsi_ver()
1256 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp()
1382 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_chk_dorq()
1399 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire()
1469 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c129 int vf = 0; in ixgbe_get_vfs() local
208 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local
364 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts()
442 u32 vf) in ixgbe_set_vf_vlan()
474 static int ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) in ixgbe_set_vf_lpe()
559 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr()
570 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir()
577 static void ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vf_vlans()
639 int vf, int index, unsigned char *mac_addr) in ixgbe_set_vf_macvlan()
696 static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_event()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c26 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local
85 static void i40e_set_vf_link_state(struct i40e_vf *vf, in i40e_set_vf_link_state()
110 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state()
189 void i40e_vc_notify_vf_reset(struct i40e_vf *vf) in i40e_vc_notify_vf_reset()
219 static void i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) in i40e_vc_reset_vf()
260 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id()
276 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id()
292 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id()
309 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id()
338 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c37 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, in otx2vf_process_vfaf_mbox_msg()
115 static int otx2vf_process_mbox_msg_up(struct otx2_nic *vf, in otx2vf_process_mbox_msg_up()
156 struct otx2_nic *vf; in otx2vf_vfaf_mbox_up_handler() local
184 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; in otx2vf_vfaf_mbox_intr_handler() local
235 static void otx2vf_disable_mbox_intr(struct otx2_nic *vf) in otx2vf_disable_mbox_intr()
244 static int otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) in otx2vf_register_mbox_intr()
288 static void otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) in otx2vf_vfaf_mbox_destroy()
304 static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf) in otx2vf_vfaf_mbox_init()
365 struct otx2_nic *vf; in otx2vf_open() local
390 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() local
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c743 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_channel_cfg_cmd() local
789 struct qlcnic_vf_info *vf, in qlcnic_sriov_cfg_vf_def_mac()
856 struct qlcnic_vf_info *vf, in qlcnic_83xx_cfg_default_mac_vlan()
887 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_create_rx_ctx_cmd() local
915 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_mac_address_cmd() local
947 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_create_tx_ctx_cmd() local
970 static int qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_rx_ctx()
985 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_rx_ctx_cmd() local
1005 static int qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_tx_ctx()
1020 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_tx_ctx_cmd() local
[all …]
H A Dqlcnic_sriov_common.c146 struct qlcnic_vf_info *vf; in qlcnic_sriov_init() local
265 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local
824 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans()
850 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd()
893 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_wait_for_channel_free() local
920 static int __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) in __qlcnic_sriov_issue_bc_post()
938 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_issue_bc_post() local
967 struct qlcnic_vf_info *vf, u8 type) in __qlcnic_sriov_send_bc_msg()
1009 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local
1051 struct qlcnic_vf_info *vf = container_of(work, struct qlcnic_vf_info, in qlcnic_sriov_process_bc_cmd() local
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_mbox.c74 static void otx_cpt_send_msg_to_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_send_msg_to_vf()
86 static void otx_cpt_mbox_send_ack(struct otx_cpt_device *cpt, int vf, in otx_cpt_mbox_send_ack()
95 static void otx_cptpf_mbox_send_nack(struct otx_cpt_device *cpt, int vf, in otx_cptpf_mbox_send_nack()
103 static void otx_cpt_clear_mbox_intr(struct otx_cpt_device *cpt, u32 vf) in otx_cpt_clear_mbox_intr()
112 static void otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_cfg_qlen_for_vf()
126 static void otx_cpt_cfg_vq_priority(struct otx_cpt_device *cpt, int vf, u32 pri) in otx_cpt_cfg_vq_priority()
178 static void otx_cpt_handle_mbox_intr(struct otx_cpt_device *cpt, int vf) in otx_cpt_handle_mbox_intr()
243 u8 vf; in otx_cpt_mbox_intr_handler() local
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptpf_mbox.c8 static void cpt_send_msg_to_vf(struct cpt_device *cpt, int vf, in cpt_send_msg_to_vf()
20 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, in cpt_mbox_send_ack()
28 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) in cpt_clear_mbox_intr()
37 static void cpt_cfg_qlen_for_vf(struct cpt_device *cpt, int vf, u32 size) in cpt_cfg_qlen_for_vf()
50 static void cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) in cpt_cfg_vq_priority()
86 static void cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) in cpt_handle_mbox_intr()
149 u8 vf; in cpt_mbox_intr_handler() local
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_pp.c23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf()
54 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile()
130 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile()
174 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate()
180 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate()
202 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr()
241 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate()
289 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request()
306 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) in nfp_net_sriov_check()
42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update()
64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac()
96 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan()
147 int nfp_app_set_vf_rate(struct net_device *netdev, int vf, in nfp_app_set_vf_rate()
178 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_spoofchk()
202 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_trust()
226 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf, in nfp_app_set_vf_link_state()
260 int nfp_app_get_vf_config(struct net_device *netdev, int vf, in nfp_app_get_vf_config()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c191 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index()
302 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter()
346 static void efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_rx_filter()
385 static void __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) in __efx_siena_sriov_update_vf_addr()
400 static void __efx_siena_sriov_push_vf_status(struct siena_vf *vf) in __efx_siena_sriov_push_vf_status()
530 static int efx_vfdi_init_evq(struct siena_vf *vf) in efx_vfdi_init_evq()
571 static int efx_vfdi_init_rxq(struct siena_vf *vf) in efx_vfdi_init_rxq()
612 static int efx_vfdi_init_txq(struct siena_vf *vf) in efx_vfdi_init_txq()
659 static bool efx_vfdi_flush_wake(struct siena_vf *vf) in efx_vfdi_flush_wake()
668 static void efx_vfdi_flush_clear(struct siena_vf *vf) in efx_vfdi_flush_clear()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c28 struct bnxt_vf_info *vf, u16 event_id) in bnxt_hwrm_fwd_async_event_cmpl()
74 struct bnxt_vf_info *vf; in bnxt_set_vf_spoofchk() local
113 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags()
132 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf()
141 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf()
164 struct bnxt_vf_info *vf; in bnxt_set_vf_trust() local
183 struct bnxt_vf_info *vf; in bnxt_get_vf_config() local
220 struct bnxt_vf_info *vf; in bnxt_set_vf_mac() local
252 struct bnxt_vf_info *vf; in bnxt_set_vf_vlan() local
294 struct bnxt_vf_info *vf; in bnxt_set_vf_bw() local
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dib_virt.c50 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_config()
92 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, in mlx5_ib_set_vf_link_state()
120 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, in mlx5_ib_get_vf_stats()
151 static int set_vf_node_guid(struct ib_device *device, int vf, u32 port, in set_vf_node_guid()
175 static int set_vf_port_guid(struct ib_device *device, int vf, u32 port, in set_vf_port_guid()
199 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_set_vf_guid()
210 int mlx5_ib_get_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_guid()
/openbmc/linux/drivers/net/netdevsim/
H A Dnetdev.c82 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac()
95 static int nsim_set_vf_vlan(struct net_device *dev, int vf, in nsim_set_vf_vlan()
111 static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) in nsim_set_vf_rate()
130 static int nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) in nsim_set_vf_spoofchk()
142 static int nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) in nsim_set_vf_rss_query_en()
154 static int nsim_set_vf_trust(struct net_device *dev, int vf, bool val) in nsim_set_vf_trust()
167 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) in nsim_get_vf_config()
190 static int nsim_set_vf_link_state(struct net_device *dev, int vf, int state) in nsim_set_vf_link_state()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr()
124 static u64 nic_get_mbx_addr(int vf) in nic_get_mbx_addr()
133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf()
158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready()
188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack()
200 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack()
253 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs()
550 static void nic_send_rss_size(struct nicpf *nic, int vf) in nic_send_rss_size()
786 int vf, struct reset_stat_cfg *cfg) in nic_reset_stat_counters()
827 static void nic_enable_tunnel_parsing(struct nicpf *nic, int vf) in nic_enable_tunnel_parsing()
[all …]

12345678