Home
last modified time | relevance | path

Searched refs:vf (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.c27 struct ice_vf *vf; in ice_get_vf_by_id() local
30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) { in ice_get_vf_by_id()
31 if (vf->vf_id == vf_id) { in ice_get_vf_by_id()
34 if (kref_get_unless_zero(&vf->refcnt)) in ice_get_vf_by_id()
35 found = vf; in ice_get_vf_by_id()
57 struct ice_vf *vf = container_of(ref, struct ice_vf, refcnt); in ice_release_vf() local
59 vf->vf_ops->free(vf); in ice_release_vf()
64 * @vf: the VF structure to decrease reference count on
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
37 hash_for_each_safe(vfs->table, bkt, tmp, vf, entry) { in ice_free_vf_entries()
38 hash_del_rcu(&vf->entry); in ice_free_vf_entries()
39 ice_deinitialize_vf_entry(vf); in ice_free_vf_entries()
40 ice_put_vf(vf); in ice_free_vf_entries()
46 * @vf: pointer to the VF info
48 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res()
50 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
56 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
57 ice_vf_fdir_exit(vf); in ice_free_vf_res()
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.h32 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg);
33 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg);
34 void (*reset_vf)(struct ice_vf *vf);
35 int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
36 int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
37 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg);
38 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg);
39 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg);
40 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg);
41 int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg);
[all …]
H A Dice_virtchnl.c181 struct ice_vf *vf; in ice_vc_vf_broadcast() local
185 ice_for_each_vf(pf, bkt, vf) { in ice_vc_vf_broadcast()
187 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states) && in ice_vc_vf_broadcast()
188 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_vf_broadcast()
194 ice_aq_send_msg_to_vf(hw, vf->vf_id, v_opcode, v_retval, msg, in ice_vc_vf_broadcast()
202 * @vf: pointer to the VF structure
208 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link() argument
211 if (vf->driver_caps & VIRTCHNL_VF_CAP_ADV_LINK_SPEED) { in ice_set_pfe_link()
227 * @vf: pointer to the VF structure
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_vf_lib.h58 void (*free)(struct ice_vf *vf);
59 void (*clear_reset_state)(struct ice_vf *vf);
60 void (*clear_mbx_register)(struct ice_vf *vf);
61 void (*trigger_reset_register)(struct ice_vf *vf, bool is_vflr);
62 bool (*poll_reset_status)(struct ice_vf *vf);
63 void (*clear_reset_trigger)(struct ice_vf *vf);
64 void (*irq_close)(struct ice_vf *vf);
65 int (*create_vsi)(struct ice_vf *vf);
66 void (*post_vsi_rebuild)(struct ice_vf *vf);
145 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() argument
[all …]
H A Dice_virtchnl_fdir.c89 * @vf: pointer to the VF structure
97 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() argument
99 struct ice_pf *pf = vf->pf; in ice_vc_fdir_param_check()
104 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_fdir_param_check()
107 if (!(vf->driver_caps & VIRTCHNL_VF_OFFLOAD_FDIR_PF)) in ice_vc_fdir_param_check()
110 if (!ice_vc_isvalid_vsi_id(vf, vsi_id)) in ice_vc_fdir_param_check()
113 if (!ice_get_vf_vsi(vf)) in ice_vc_fdir_param_check()
121 * @vf: pointer to the VF structure
127 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() argument
129 struct ice_pf *pf = vf in ice_vf_start_ctrl_vsi()
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_eswitch.c22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule() argument
41 ctrl_vsi->rxq_map[vf->vf_id]; in ice_eswitch_add_vf_sp_rule()
45 rule_info.src_vsi = vf->lan_vsi_idx; in ice_eswitch_add_vf_sp_rule()
48 &vf->repr->sp_rule); in ice_eswitch_add_vf_sp_rule()
51 vf->vf_id); 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() argument
66 if (!vf->repr) in ice_eswitch_del_vf_sp_rule()
69 ice_rem_adv_rule_by_id(&vf->pf->hw, &vf->repr->sp_rule); in ice_eswitch_del_vf_sp_rule()
155 struct ice_vf *vf; in ice_eswitch_remap_rings_to_vectors() local
157 vf = ice_get_vf_by_id(pf, q_id); in ice_eswitch_remap_rings_to_vectors()
[all …]
H A Dice_repr.c17 return repr->vf->pf->hw.port_info->lport; in ice_repr_get_sw_port_id()
34 if (repr->vf->devlink_port.devlink) in ice_repr_get_phys_port_name()
38 repr->vf->vf_id); in ice_repr_get_phys_port_name()
56 if (ice_is_vf_disabled(np->repr->vf)) in ice_repr_get_stats64()
99 struct ice_vf *vf; in ice_repr_open() local
101 vf = repr->vf; in ice_repr_open()
102 vf->link_forced = true; in ice_repr_open()
103 vf->link_up = true; in ice_repr_open()
104 ice_vc_notify_vf_link_state(vf); in ice_repr_open()
125 struct ice_vf *vf; in ice_repr_stop() local
[all …]
H A Dice_vf_lib_private.h26 void ice_initialize_vf_entry(struct ice_vf *vf);
27 void ice_deinitialize_vf_entry(struct ice_vf *vf);
28 void ice_dis_vf_qs(struct ice_vf *vf);
29 int ice_check_vf_init(struct ice_vf *vf);
31 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
33 bool ice_is_vf_trusted(struct ice_vf *vf);
34 bool ice_vf_has_no_qs_ena(struct ice_vf *vf);
35 bool ice_is_vf_link_up(struct ice_vf *vf);
36 void ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf);
37 void ice_vf_ctrl_vsi_release(struct ice_vf *vf);
[all...]
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c22 struct ifcvf_hw *vf = arg; in ifcvf_config_changed() local
24 if (vf->config_cb.callback) in ifcvf_config_changed()
25 return vf->config_cb.callback(vf->config_cb.private); in ifcvf_config_changed()
42 struct ifcvf_hw *vf = arg; in ifcvf_vqs_reused_intr_handler() local
46 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_vqs_reused_intr_handler()
47 vring = &vf->vring[i]; in ifcvf_vqs_reused_intr_handler()
57 struct ifcvf_hw *vf = arg; in ifcvf_dev_intr_handler() local
60 isr = vp_ioread8(vf->isr); in ifcvf_dev_intr_handler()
72 static void ifcvf_free_per_vq_irq(struct ifcvf_hw *vf) in ifcvf_free_per_vq_irq() argument
74 struct pci_dev *pdev = vf->pdev; in ifcvf_free_per_vq_irq()
[all …]
/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() argument
193 return EFX_VI_BASE + vf->index * efx_vf_size(vf->efx) + index; in abs_index()
302 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter() argument
304 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter()
309 if (vf->tx_filter_id != -1) { in efx_siena_sriov_reset_tx_filter()
311 vf->tx_filter_id); in efx_siena_sriov_reset_tx_filter()
313 vf->pci_name, vf->tx_filter_id); in efx_siena_sriov_reset_tx_filter()
314 vf->tx_filter_id = -1; in efx_siena_sriov_reset_tx_filter()
317 if (is_zero_ether_addr(vf->addr.mac_addr)) in efx_siena_sriov_reset_tx_filter()
323 if (vf->tx_filter_mode == VF_TX_FILTER_AUTO && vf_max_tx_channels <= 2) in efx_siena_sriov_reset_tx_filter()
[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() argument
41 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
47 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
54 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
62 vf->pcifunc = msg->pcifunc; in otx2vf_process_vfaf_mbox_msg()
65 mbox_handler_msix_offset(vf, (struct msix_offset_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
68 mbox_handler_npa_lf_alloc(vf, (struct npa_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
71 mbox_handler_nix_lf_alloc(vf, (struct nix_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
74 mbox_handler_nix_bp_enable(vf, (struct nix_bp_cfg_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
78 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
[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
29 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
30 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast()
32 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast()
33 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
85 static void i40e_set_vf_link_state(struct i40e_vf *vf, in i40e_set_vf_link_state() argument
90 if (vf->link_forced) in i40e_set_vf_link_state()
91 link_status = vf->link_up; in i40e_set_vf_link_state()
93 if (vf->driver_caps & VIRTCHNL_VF_CAP_ADV_LINK_SPEED) { 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() argument
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
129 int vf = 0; in ixgbe_get_vfs() local
144 if (vf >= adapter->num_vfs) in ixgbe_get_vfs()
147 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
148 ++vf; in ixgbe_get_vfs()
208 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local
218 for (vf = 0; vf < num_vfs; ++vf) { in ixgbe_disable_sriov()
219 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov()
223 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
364 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() argument
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c30 struct bnx2x_virtf **vf,
78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb() argument
86 u32 func_encode = vf->abs_vfid; in bnx2x_vf_igu_ack_sb()
112 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs() argument
115 if (!bnx2x_leading_vfq(vf, sp_initialized)) { 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() argument
133 vf->abs_vfid, 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() argument
151 vf->abs_vfid, in bnx2x_vfop_qctor_dump_rx()
167 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep() argument
[all …]
H A Dbnx2x_sriov.h166 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs) argument
167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument
168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument
169 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument
170 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_filters) argument
171 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument
179 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument
180 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument
224 #define for_each_vfq(vf, var) \ argument
225 for ((var) = 0; (var) < vf_rxq_count(vf); (var)++)
[all …]
H A Dbnx2x_vfpf.c544 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init() argument
547 u8 cl_id = vfq_cl_id(vf, q); in bnx2x_leading_vfq_init()
548 u8 func_id = FW_VF_HANDLE(vf->abs_vfid); in bnx2x_leading_vfq_init()
553 bnx2x_vf_sp(bp, vf, mac_rdata), in bnx2x_leading_vfq_init()
554 bnx2x_vf_sp_map(bp, vf, mac_rdata), in bnx2x_leading_vfq_init()
556 &vf->filter_state, in bnx2x_leading_vfq_init()
558 &vf->vf_macs_pool); in bnx2x_leading_vfq_init()
562 bnx2x_vf_sp(bp, vf, vlan_rdata), in bnx2x_leading_vfq_init()
563 bnx2x_vf_sp_map(bp, vf, vlan_rdata), in bnx2x_leading_vfq_init()
565 &vf->filter_state, in bnx2x_leading_vfq_init()
[all …]
/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() argument
12 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 1), in cpt_send_msg_to_vf()
14 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 0), mbx->msg); in cpt_send_msg_to_vf()
20 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, in cpt_mbox_send_ack() argument
25 cpt_send_msg_to_vf(cpt, vf, mbx); in cpt_mbox_send_ack()
28 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) in cpt_clear_mbox_intr() argument
31 cpt_write_csr64(cpt->reg_base, CPTX_PF_MBOX_INTX(0, 0), (1 << 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() argument
41 pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf)); in cpt_cfg_qlen_for_vf()
44 cpt_write_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf), pf_qx_ctl.u); in cpt_cfg_qlen_for_vf()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c118 if (!nic_data->vf) in efx_ef10_sriov_free_vf_vports()
122 struct ef10_vf *vf = nic_data->vf + i; in efx_ef10_sriov_free_vf_vports() local
125 if (vf->pci_dev && pci_is_dev_assigned(vf->pci_dev)) in efx_ef10_sriov_free_vf_vports()
128 if (vf->vport_assigned) { in efx_ef10_sriov_free_vf_vports()
130 vf->vport_assigned = 0; in efx_ef10_sriov_free_vf_vports()
133 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_free_vf_vports()
134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
135 eth_zero_addr(vf->mac); in efx_ef10_sriov_free_vf_vports()
138 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
139 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
[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() argument
78 writeq(mbx->data, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1)); in otx_cpt_send_msg_to_vf()
79 writeq(mbx->msg, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0)); 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() argument
91 otx_cpt_send_msg_to_vf(cpt, vf, mbx); 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() argument
100 otx_cpt_send_msg_to_vf(cpt, vf, mbx); 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() argument
106 writeq(1ull << vf, cpt->reg_base + OTX_CPT_PF_MBOX_INTX(0)); 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() argument
[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
744 struct qlcnic_vport *vp = vf->vp; in qlcnic_sriov_pf_channel_cfg_cmd()
747 u16 func = vf->pci_func; in qlcnic_sriov_pf_channel_cfg_cmd()
751 adapter = vf->adapter; in qlcnic_sriov_pf_channel_cfg_cmd()
763 size = sizeof(*vf->sriov_vlans); in qlcnic_sriov_pf_channel_cfg_cmd()
765 memset(vf->sriov_vlans, 0, size); in qlcnic_sriov_pf_channel_cfg_cmd()
777 set_bit(QLC_BC_VF_STATE, &vf->state); in qlcnic_sriov_pf_channel_cfg_cmd()
779 clear_bit(QLC_BC_VF_STATE, &vf->state); in qlcnic_sriov_pf_channel_cfg_cmd()
789 struct qlcnic_vf_info *vf, in qlcnic_sriov_cfg_vf_def_mac() argument
800 vp = vf->vp; in qlcnic_sriov_cfg_vf_def_mac()
[all …]
/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() argument
25 if (vf != PORT_SELF_VF) { in enic_is_valid_pp_vf()
28 if (vf < 0 || vf >= enic->num_vfs) { in enic_is_valid_pp_vf()
42 if (vf == PORT_SELF_VF && !enic_is_dynamic(enic)) { in enic_is_valid_pp_vf()
54 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() argument
66 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_set_port_profile()
84 } else if (vf == PORT_SELF_VF) { in enic_set_port_profile()
88 "for VF %d\n", vf); in enic_set_port_profile()
120 ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnic_dev_init_prov2, (u8 *)vp, in enic_set_port_profile()
130 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() argument
[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() argument
38 if (vf) in bnxt_hwrm_fwd_async_event_cmpl()
39 req->encap_async_event_target_id = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_fwd_async_event_cmpl()
74 struct bnxt_vf_info *vf; in bnxt_set_vf_spoofchk() local
85 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_spoofchk()
86 if (vf->flags & BNXT_VF_SPOOFCHK) in bnxt_set_vf_spoofchk()
100 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_spoofchk()
105 vf->flags |= BNXT_VF_SPOOFCHK; in bnxt_set_vf_spoofchk()
107 vf->flags &= ~BNXT_VF_SPOOFCHK; in bnxt_set_vf_spoofchk()
113 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags() argument
[all …]
/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() argument
32 if (vf < 0 || vf >= app->pf->num_vfs) { in nfp_net_sriov_check()
34 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); 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() argument
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); 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() argument
70 err = nfp_net_sriov_check(app, vf, NFP_NET_VF_CFG_MB_CAP_MAC, "mac", true); in nfp_app_set_vf_mac()
77 mac, vf); in nfp_app_set_vf_mac()
82 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()
87 err = nfp_net_sriov_update(app, vf, NFP_NET_VF_CFG_MB_UPD_MAC, "MAC"); in nfp_app_set_vf_mac()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c40 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf, u16 func_id) in sriov_restore_guids() argument
47 if (sriov->vfs_ctx[vf].node_guid || in sriov_restore_guids()
48 sriov->vfs_ctx[vf].port_guid || in sriov_restore_guids()
49 sriov->vfs_ctx[vf].policy != MLX5_POLICY_INVALID) { in sriov_restore_guids()
54 in->node_guid = sriov->vfs_ctx[vf].node_guid; in sriov_restore_guids()
55 in->port_guid = sriov->vfs_ctx[vf].port_guid; in sriov_restore_guids()
56 in->policy = sriov->vfs_ctx[vf].policy; in sriov_restore_guids()
64 mlx5_core_warn(dev, "modify vport context failed, unable to restore VF %d settings\n", vf); in sriov_restore_guids()
75 int err, vf, num_msix_count; in mlx5_device_enable_sriov() local
86 for (vf = 0; vf < num_vfs; vf++) { in mlx5_device_enable_sriov()
[all …]

12345678910>>...12