Home
last modified time | relevance | path

Searched refs:vf (Results 1 - 25 of 426) sorted by relevance

12345678910>>...18

/kernel/linux/linux-6.6/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_put_vf(vf); in ice_free_vf_entries()
45 * @vf: pointer to the VF info
47 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res() argument
49 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
55 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
56 ice_vf_fdir_exit(vf); in ice_free_vf_res()
58 if (vf in ice_free_vf_res()
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.h23 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg);
24 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg);
25 void (*reset_vf)(struct ice_vf *vf);
26 int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
27 int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
28 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg);
29 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg);
30 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg);
31 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg);
32 int (*cfg_irq_map_msg)(struct ice_vf *vf, u
69 ice_virtchnl_set_dflt_ops(struct ice_vf *vf) ice_virtchnl_set_dflt_ops() argument
70 ice_virtchnl_set_repr_ops(struct ice_vf *vf) ice_virtchnl_set_repr_ops() argument
71 ice_vc_notify_vf_link_state(struct ice_vf *vf) ice_vc_notify_vf_link_state() argument
76 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
82 ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) ice_vc_isvalid_vsi_id() argument
[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
530 ice_vc_reset_vf_msg(struct ice_vf *vf) ice_vc_reset_vf_msg() argument
543 ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) ice_vc_isvalid_vsi_id() argument
561 ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) ice_vc_isvalid_q_id() argument
593 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto) ice_vc_validate_pattern() argument
762 ice_vc_handle_rss_cfg(struct ice_vf *vf, u8 *msg, bool add) ice_vc_handle_rss_cfg() argument
893 ice_vc_config_rss_key(struct ice_vf *vf, u8 *msg) ice_vc_config_rss_key() argument
940 ice_vc_config_rss_lut(struct ice_vf *vf, u8 *msg) ice_vc_config_rss_lut() argument
986 ice_vc_cfg_promiscuous_mode_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_promiscuous_mode_msg() argument
1126 ice_vc_get_stats_msg(struct ice_vf *vf, u8 *msg) ice_vc_get_stats_msg() argument
1229 ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_ena_qs_msg() argument
1321 ice_vf_vsi_dis_single_txq(struct ice_vf *vf, struct ice_vsi *vsi, u16 q_id) ice_vf_vsi_dis_single_txq() argument
1357 ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_dis_qs_msg() argument
1460 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
1508 ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_irq_map_msg() argument
1588 ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_qs_msg() argument
1756 ice_can_vf_change_mac(struct ice_vf *vf) ice_can_vf_change_mac() argument
1811 ice_vfhw_mac_add(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) ice_vfhw_mac_add() argument
1849 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
1905 ice_update_legacy_cached_mac(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) ice_update_legacy_cached_mac() argument
1922 ice_vfhw_mac_del(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) ice_vfhw_mac_del() argument
1947 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
1985 ice_vc_handle_mac_addr_msg(struct ice_vf *vf, u8 *msg, bool set) ice_vc_handle_mac_addr_msg() argument
2059 ice_vc_add_mac_addr_msg(struct ice_vf *vf, u8 *msg) ice_vc_add_mac_addr_msg() argument
2071 ice_vc_del_mac_addr_msg(struct ice_vf *vf, u8 *msg) ice_vc_del_mac_addr_msg() argument
2086 ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_request_qs_msg() argument
2151 ice_is_vlan_promisc_allowed(struct ice_vf *vf) ice_is_vlan_promisc_allowed() argument
2214 ice_vf_has_max_vlans(struct ice_vf *vf, struct ice_vsi *vsi) ice_vf_has_max_vlans() argument
2232 ice_vc_process_vlan_msg(struct ice_vf *vf, u8 *msg, bool add_v) ice_vc_process_vlan_msg() argument
2412 ice_vc_add_vlan_msg(struct ice_vf *vf, u8 *msg) ice_vc_add_vlan_msg() argument
2424 ice_vc_remove_vlan_msg(struct ice_vf *vf, u8 *msg) ice_vc_remove_vlan_msg() argument
2435 ice_vc_ena_vlan_stripping(struct ice_vf *vf) ice_vc_ena_vlan_stripping() argument
2470 ice_vc_dis_vlan_stripping(struct ice_vf *vf) ice_vc_dis_vlan_stripping() argument
2503 ice_vc_get_rss_hena(struct ice_vf *vf) ice_vc_get_rss_hena() argument
2542 ice_vc_set_rss_hena(struct ice_vf *vf, u8 *msg) ice_vc_set_rss_hena() argument
2608 ice_vc_query_rxdid(struct ice_vf *vf) ice_vc_query_rxdid() argument
2666 ice_vf_init_vlan_stripping(struct ice_vf *vf) ice_vf_init_vlan_stripping() argument
2685 ice_vc_get_max_vlan_fltrs(struct ice_vf *vf) ice_vc_get_max_vlan_fltrs() argument
2700 ice_vf_outer_vlan_not_allowed(struct ice_vf *vf) ice_vf_outer_vlan_not_allowed() argument
2719 ice_vc_set_dvm_caps(struct ice_vf *vf, struct virtchnl_vlan_caps *caps) ice_vc_set_dvm_caps() argument
2800 ice_vc_set_svm_caps(struct ice_vf *vf, struct virtchnl_vlan_caps *caps) ice_vc_set_svm_caps() argument
2855 ice_vc_get_offload_vlan_v2_caps(struct ice_vf *vf) ice_vc_get_offload_vlan_v2_caps() argument
3029 ice_vc_del_vlans(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_vlan_filter_list_v2 *vfl) ice_vc_del_vlans() argument
3096 ice_vc_remove_vlan_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_remove_vlan_v2_msg() argument
3135 ice_vc_add_vlans(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_vlan_filter_list_v2 *vfl) ice_vc_add_vlans() argument
3232 ice_vc_add_vlan_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_add_vlan_v2_msg() argument
3425 ice_vc_ena_vlan_stripping_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_ena_vlan_stripping_v2_msg() argument
3499 ice_vc_dis_vlan_stripping_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_dis_vlan_stripping_v2_msg() argument
3569 ice_vc_ena_vlan_insertion_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_ena_vlan_insertion_v2_msg() argument
3628 ice_vc_dis_vlan_insertion_v2_msg(struct ice_vf *vf, u8 *msg) ice_vc_dis_vlan_insertion_v2_msg() argument
3714 ice_virtchnl_set_dflt_ops(struct ice_vf *vf) ice_virtchnl_set_dflt_ops() argument
3728 ice_vc_repr_add_mac(struct ice_vf *vf, u8 *msg) ice_vc_repr_add_mac() argument
3783 ice_vc_repr_del_mac(struct ice_vf __always_unused *vf, u8 __always_unused *msg) ice_vc_repr_del_mac() argument
3795 ice_vc_repr_cfg_promiscuous_mode(struct ice_vf *vf, u8 __always_unused *msg) ice_vc_repr_cfg_promiscuous_mode() argument
3843 ice_virtchnl_set_repr_ops(struct ice_vf *vf) ice_virtchnl_set_repr_ops() argument
3857 ice_is_malicious_vf(struct ice_vf *vf, struct ice_mbx_data *mbxdata) ice_is_malicious_vf() argument
3906 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
150 ice_vf_get_port_vlan_prio(struct ice_vf *vf) ice_vf_get_port_vlan_prio() argument
155 ice_vf_is_port_vlan_ena(struct ice_vf *vf) ice_vf_is_port_vlan_ena() argument
160 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) ice_vf_get_port_vlan_tpid() argument
236 ice_put_vf(struct ice_vf *vf) ice_put_vf() argument
250 ice_get_vf_vsi(struct ice_vf *vf) ice_get_vf_vsi() argument
255 ice_is_vf_disabled(struct ice_vf *vf) ice_is_vf_disabled() argument
260 ice_check_vf_ready_for_cfg(struct ice_vf *vf) ice_check_vf_ready_for_cfg() argument
265 ice_set_vf_state_dis(struct ice_vf *vf) ice_set_vf_state_dis() argument
275 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) ice_vf_set_vsi_promisc() argument
281 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) ice_vf_clear_vsi_promisc() argument
286 ice_reset_vf(struct ice_vf *vf, u32 flags) ice_reset_vf() argument
[all...]
/kernel/linux/linux-6.6/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
85 ifcvf_free_vqs_reused_irq(struct ifcvf_hw *vf) ifcvf_free_vqs_reused_irq() argument
96 ifcvf_free_vq_irq(struct ifcvf_hw *vf) ifcvf_free_vq_irq() argument
104 ifcvf_free_config_irq(struct ifcvf_hw *vf) ifcvf_free_config_irq() argument
121 ifcvf_free_irq(struct ifcvf_hw *vf) ifcvf_free_irq() argument
136 ifcvf_alloc_vectors(struct ifcvf_hw *vf) ifcvf_alloc_vectors() argument
158 ifcvf_request_per_vq_irq(struct ifcvf_hw *vf) ifcvf_request_per_vq_irq() argument
192 ifcvf_request_vqs_reused_irq(struct ifcvf_hw *vf) ifcvf_request_vqs_reused_irq() argument
225 ifcvf_request_dev_irq(struct ifcvf_hw *vf) ifcvf_request_dev_irq() argument
266 ifcvf_request_vq_irq(struct ifcvf_hw *vf) ifcvf_request_vq_irq() argument
278 ifcvf_request_config_irq(struct ifcvf_hw *vf) ifcvf_request_config_irq() argument
318 ifcvf_request_irq(struct ifcvf_hw *vf) ifcvf_request_irq() argument
367 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_device_features() local
384 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_driver_features() local
398 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_driver_features() local
408 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_status() local
415 struct ifcvf_hw *vf; ifcvf_vdpa_set_status() local
439 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_reset() local
454 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_num_max() local
462 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_state() local
471 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_state() local
479 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_cb() local
487 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_ready() local
494 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_ready() local
502 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_num() local
511 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_address() local
518 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_kick_vq() local
525 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_generation() local
532 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_device_id() local
552 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_config_size() local
566 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_config() local
575 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_config() local
583 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_config_cb() local
592 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_irq() local
603 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_get_vq_notification() local
685 struct ifcvf_hw *vf; ifcvf_vdpa_dev_add() local
750 struct ifcvf_hw *vf; ifcvf_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c27 * @vf: the pointer to the VF to check
29 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init() argument
31 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states)) { in ice_check_vf_init()
33 vf->vf_id); in ice_check_vf_init()
86 struct ice_vf *vf = &pf->vf[i]; in ice_vc_vf_broadcast() local
89 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states) && in ice_vc_vf_broadcast()
90 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_vf_broadcast()
96 ice_aq_send_msg_to_vf(hw, vf->vf_id, v_opcode, v_retval, msg, in ice_vc_vf_broadcast()
103 * @vf
109 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, int ice_link_speed, bool link_up) ice_set_pfe_link() argument
133 ice_vf_has_no_qs_ena(struct ice_vf *vf) ice_vf_has_no_qs_ena() argument
143 ice_is_vf_link_up(struct ice_vf *vf) ice_is_vf_link_up() argument
165 ice_vc_notify_vf_link_state(struct ice_vf *vf) ice_vc_notify_vf_link_state() argument
188 ice_vf_invalidate_vsi(struct ice_vf *vf) ice_vf_invalidate_vsi() argument
198 ice_vf_vsi_release(struct ice_vf *vf) ice_vf_vsi_release() argument
208 ice_free_vf_res(struct ice_vf *vf) ice_free_vf_res() argument
244 ice_dis_vf_mappings(struct ice_vf *vf) ice_dis_vf_mappings() argument
314 ice_set_vf_state_qs_dis(struct ice_vf *vf) ice_set_vf_state_qs_dis() argument
326 ice_dis_vf_qs(struct ice_vf *vf) ice_dis_vf_qs() argument
367 struct ice_vf *vf = &pf->vf[i]; ice_free_vfs() local
423 ice_trigger_vf_reset(struct ice_vf *vf, bool is_vflr, bool is_pfr) ice_trigger_vf_reset() argument
537 ice_vf_get_port_info(struct ice_vf *vf) ice_vf_get_port_info() argument
549 ice_vf_vsi_setup(struct ice_vf *vf) ice_vf_vsi_setup() argument
581 ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) ice_calc_vf_first_vector_idx() argument
593 ice_vf_rebuild_host_vlan_cfg(struct ice_vf *vf) ice_vf_rebuild_host_vlan_cfg() argument
630 ice_vf_rebuild_host_mac_cfg(struct ice_vf *vf) ice_vf_rebuild_host_mac_cfg() argument
666 ice_vf_set_host_trust_cfg(struct ice_vf *vf) ice_vf_set_host_trust_cfg() argument
682 ice_ena_vf_msix_mappings(struct ice_vf *vf) ice_ena_vf_msix_mappings() argument
732 ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) ice_ena_vf_q_mappings() argument
780 ice_ena_vf_mappings(struct ice_vf *vf) ice_ena_vf_mappings() argument
832 ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) ice_calc_vf_reg_idx() argument
991 ice_clear_vf_reset_trigger(struct ice_vf *vf) ice_clear_vf_reset_trigger() argument
1013 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m, bool rm_promisc) ice_vf_set_vsi_promisc() argument
1043 ice_vf_clear_counters(struct ice_vf *vf) ice_vf_clear_counters() argument
1060 ice_vf_pre_vsi_rebuild(struct ice_vf *vf) ice_vf_pre_vsi_rebuild() argument
1070 ice_vf_rebuild_host_cfg(struct ice_vf *vf) ice_vf_rebuild_host_cfg() argument
1092 ice_vf_rebuild_vsi_with_release(struct ice_vf *vf) ice_vf_rebuild_vsi_with_release() argument
1108 ice_vf_rebuild_vsi(struct ice_vf *vf) ice_vf_rebuild_vsi() argument
1136 ice_vf_set_initialized(struct ice_vf *vf) ice_vf_set_initialized() argument
1149 ice_vf_post_vsi_rebuild(struct ice_vf *vf) ice_vf_post_vsi_rebuild() argument
1179 struct ice_vf *vf; ice_reset_all_vfs() local
1251 ice_is_vf_disabled(struct ice_vf *vf) ice_is_vf_disabled() argument
1272 ice_reset_vf(struct ice_vf *vf, bool is_vflr) ice_reset_vf() argument
1400 ice_vc_notify_vf_reset(struct ice_vf *vf) ice_vc_notify_vf_reset() argument
1434 ice_init_vf_vsi_res(struct ice_vf *vf) ice_init_vf_vsi_res() argument
1485 struct ice_vf *vf = &pf->vf[i]; ice_start_vfs() local
1506 struct ice_vf *vf = &pf->vf[i]; ice_start_vfs() local
1524 struct ice_vf *vf = &pf->vf[i]; ice_set_dflt_settings_vfs() local
1731 struct ice_vf *vf = &pf->vf[vf_id]; ice_process_vflr_event() local
1751 ice_vc_reset_vf(struct ice_vf *vf) ice_vc_reset_vf() argument
1770 struct ice_vf *vf = &pf->vf[vf_id]; ice_get_vf_from_pfq() local
1807 struct ice_vf *vf; ice_vf_lan_overflow_event() local
1836 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
1871 ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) ice_vc_get_ver_msg() argument
1896 ice_vc_get_max_frame_size(struct ice_vf *vf) ice_vc_get_max_frame_size() argument
1917 ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) ice_vc_get_vf_res_msg() argument
2022 ice_vc_reset_vf_msg(struct ice_vf *vf) ice_vc_reset_vf_msg() argument
2053 ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) ice_vc_isvalid_vsi_id() argument
2071 ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) ice_vc_isvalid_q_id() argument
2100 ice_vc_config_rss_key(struct ice_vf *vf, u8 *msg) ice_vc_config_rss_key() argument
2148 ice_vc_config_rss_lut(struct ice_vf *vf, u8 *msg) ice_vc_config_rss_lut() argument
2195 ice_wait_on_vf_reset(struct ice_vf *vf) ice_wait_on_vf_reset() argument
2214 ice_check_vf_ready_for_cfg(struct ice_vf *vf) ice_check_vf_ready_for_cfg() argument
2246 struct ice_vf *vf; ice_set_vf_spoofchk() local
2324 struct ice_vf *vf = &pf->vf[vf_idx]; ice_is_any_vf_in_promisc() local
2342 ice_vc_cfg_promiscuous_mode_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_promiscuous_mode_msg() argument
2487 ice_vc_get_stats_msg(struct ice_vf *vf, u8 *msg) ice_vc_get_stats_msg() argument
2591 ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_ena_qs_msg() argument
2682 ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_dis_qs_msg() argument
2801 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
2849 ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_irq_map_msg() argument
2929 ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_cfg_qs_msg() argument
3036 ice_is_vf_trusted(struct ice_vf *vf) ice_is_vf_trusted() argument
3047 ice_can_vf_change_mac(struct ice_vf *vf) ice_can_vf_change_mac() argument
3066 ice_vc_add_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, u8 *mac_addr) ice_vc_add_mac_addr() argument
3114 ice_vc_del_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, u8 *mac_addr) ice_vc_del_mac_addr() argument
3151 ice_vc_handle_mac_addr_msg(struct ice_vf *vf, u8 *msg, bool set) ice_vc_handle_mac_addr_msg() argument
3224 ice_vc_add_mac_addr_msg(struct ice_vf *vf, u8 *msg) ice_vc_add_mac_addr_msg() argument
3236 ice_vc_del_mac_addr_msg(struct ice_vf *vf, u8 *msg) ice_vc_del_mac_addr_msg() argument
3251 ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg) ice_vc_request_qs_msg() argument
3317 struct ice_vf *vf; ice_set_vf_port_vlan() local
3384 ice_vc_process_vlan_msg(struct ice_vf *vf, u8 *msg, bool add_v) ice_vc_process_vlan_msg() argument
3565 ice_vc_add_vlan_msg(struct ice_vf *vf, u8 *msg) ice_vc_add_vlan_msg() argument
3577 ice_vc_remove_vlan_msg(struct ice_vf *vf, u8 *msg) ice_vc_remove_vlan_msg() argument
3588 ice_vc_ena_vlan_stripping(struct ice_vf *vf) ice_vc_ena_vlan_stripping() argument
3619 ice_vc_dis_vlan_stripping(struct ice_vf *vf) ice_vc_dis_vlan_stripping() argument
3659 ice_vf_init_vlan_stripping(struct ice_vf *vf) ice_vf_init_vlan_stripping() argument
3690 struct ice_vf *vf = NULL; ice_vc_process_vf_msg() local
3827 struct ice_vf *vf; ice_get_vf_cfg() local
3901 struct ice_vf *vf; ice_set_vf_mac() local
3961 struct ice_vf *vf; ice_set_vf_trust() local
3999 struct ice_vf *vf; ice_set_vf_link_state() local
4043 struct ice_vf *vf; ice_get_vf_stats() local
4081 ice_print_vf_rx_mdd_event(struct ice_vf *vf) ice_print_vf_rx_mdd_event() argument
4118 struct ice_vf *vf = &pf->vf[i]; ice_print_vfs_mdd_events() local
[all...]
/kernel/linux/linux-6.6/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 in otx2vf_process_vfaf_mbox_msg()
115 otx2vf_process_mbox_msg_up(struct otx2_nic *vf, struct mbox_msghdr *req) otx2vf_process_mbox_msg_up() argument
156 struct otx2_nic *vf; otx2vf_vfaf_mbox_up_handler() local
184 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; otx2vf_vfaf_mbox_intr_handler() local
235 otx2vf_disable_mbox_intr(struct otx2_nic *vf) otx2vf_disable_mbox_intr() argument
244 otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) otx2vf_register_mbox_intr() argument
288 otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) otx2vf_vfaf_mbox_destroy() argument
304 otx2vf_vfaf_mbox_init(struct otx2_nic *vf) otx2vf_vfaf_mbox_init() argument
365 struct otx2_nic *vf; otx2vf_open() local
390 struct otx2_nic *vf = netdev_priv(netdev); otx2vf_xmit() local
415 struct otx2_nic *vf = netdev_priv(netdev); otx2vf_set_rx_mode() local
422 struct otx2_nic *vf = container_of(work, struct otx2_nic, rx_mode_work); otx2vf_do_set_rx_mode() local
469 struct otx2_nic *vf = container_of(work, struct otx2_nic, reset_task); otx2vf_reset_task() local
503 otx2_wq_init(struct otx2_nic *vf) otx2_wq_init() argument
514 otx2vf_realloc_msix_vectors(struct otx2_nic *vf) otx2vf_realloc_msix_vectors() argument
540 struct otx2_nic *vf; otx2vf_probe() local
746 struct otx2_nic *vf; otx2vf_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
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()
301 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter() argument
303 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter()
308 if (vf->tx_filter_id != -1) { in efx_siena_sriov_reset_tx_filter()
310 vf->tx_filter_id); in efx_siena_sriov_reset_tx_filter()
311 netif_dbg(efx, hw, efx->net_dev, "Removed vf %s tx filter %d\n", in efx_siena_sriov_reset_tx_filter()
312 vf->pci_name, vf in efx_siena_sriov_reset_tx_filter()
345 efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) efx_siena_sriov_reset_rx_filter() argument
384 __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) __efx_siena_sriov_update_vf_addr() argument
399 __efx_siena_sriov_push_vf_status(struct siena_vf *vf) __efx_siena_sriov_push_vf_status() argument
529 efx_vfdi_init_evq(struct siena_vf *vf) efx_vfdi_init_evq() argument
570 efx_vfdi_init_rxq(struct siena_vf *vf) efx_vfdi_init_rxq() argument
611 efx_vfdi_init_txq(struct siena_vf *vf) efx_vfdi_init_txq() argument
658 efx_vfdi_flush_wake(struct siena_vf *vf) efx_vfdi_flush_wake() argument
667 efx_vfdi_flush_clear(struct siena_vf *vf) efx_vfdi_flush_clear() argument
677 efx_vfdi_fini_all_queues(struct siena_vf *vf) efx_vfdi_fini_all_queues() argument
760 efx_vfdi_insert_filter(struct siena_vf *vf) efx_vfdi_insert_filter() argument
792 efx_vfdi_remove_all_filters(struct siena_vf *vf) efx_vfdi_remove_all_filters() argument
804 efx_vfdi_set_status_page(struct siena_vf *vf) efx_vfdi_set_status_page() argument
849 efx_vfdi_clear_status_page(struct siena_vf *vf) efx_vfdi_clear_status_page() argument
873 struct siena_vf *vf = container_of(work, struct siena_vf, req); efx_siena_sriov_vfdi() local
940 efx_siena_sriov_reset_vf(struct siena_vf *vf, struct efx_buffer *buffer) efx_siena_sriov_reset_vf() argument
1010 struct siena_vf *vf = container_of(work, struct siena_vf, req); efx_siena_sriov_reset_vf_work() local
1083 struct siena_vf *vf; efx_siena_sriov_peer_work() local
1196 struct siena_vf *vf; efx_siena_sriov_vf_alloc() local
1225 struct siena_vf *vf; efx_siena_sriov_vfs_fini() local
1246 struct siena_vf *vf; efx_siena_sriov_vfs_init() local
1370 struct siena_vf *vf; efx_siena_sriov_fini() local
1405 struct siena_vf *vf; efx_siena_sriov_event() local
1462 struct siena_vf *vf; efx_siena_sriov_flr() local
1493 struct siena_vf *vf; efx_siena_sriov_tx_flush_done() local
1512 struct siena_vf *vf; efx_siena_sriov_rx_flush_done() local
1537 struct siena_vf *vf; efx_siena_sriov_desc_fetch_err() local
1556 struct siena_vf *vf; efx_siena_sriov_reset() local
1597 struct siena_vf *vf; efx_siena_sriov_set_vf_mac() local
1615 struct siena_vf *vf; efx_siena_sriov_set_vf_vlan() local
1635 struct siena_vf *vf; efx_siena_sriov_set_vf_spoofchk() local
1659 struct siena_vf *vf; efx_siena_sriov_get_vf_config() local
[all...]
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 && in efx_ef10_sriov_free_vf_vports()
126 vf->pci_dev->dev_flags & PCI_DEV_FLAGS_ASSIGNED) in efx_ef10_sriov_free_vf_vports()
129 if (vf->vport_assigned) { in efx_ef10_sriov_free_vf_vports()
131 vf->vport_assigned = 0; in efx_ef10_sriov_free_vf_vports()
134 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_free_vf_vports()
135 efx_ef10_vport_del_mac(efx, vf->vport_id, vf in efx_ef10_sriov_free_vf_vports()
161 struct ef10_vf *vf = nic_data->vf + vf_i; efx_ef10_sriov_assign_vf_vport() local
491 struct ef10_vf *vf; efx_ef10_sriov_set_vf_mac() local
564 struct ef10_vf *vf; efx_ef10_sriov_set_vf_vlan() local
784 struct ef10_vf *vf; efx_ef10_sriov_get_vf_config() local
[all...]
/kernel/linux/linux-6.6/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()
312 netif_dbg(efx, hw, efx->net_dev, "Removed vf %s tx filter %d\n", in efx_siena_sriov_reset_tx_filter()
313 vf->pci_name, vf in efx_siena_sriov_reset_tx_filter()
346 efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) efx_siena_sriov_reset_rx_filter() argument
385 __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) __efx_siena_sriov_update_vf_addr() argument
400 __efx_siena_sriov_push_vf_status(struct siena_vf *vf) __efx_siena_sriov_push_vf_status() argument
530 efx_vfdi_init_evq(struct siena_vf *vf) efx_vfdi_init_evq() argument
571 efx_vfdi_init_rxq(struct siena_vf *vf) efx_vfdi_init_rxq() argument
612 efx_vfdi_init_txq(struct siena_vf *vf) efx_vfdi_init_txq() argument
659 efx_vfdi_flush_wake(struct siena_vf *vf) efx_vfdi_flush_wake() argument
668 efx_vfdi_flush_clear(struct siena_vf *vf) efx_vfdi_flush_clear() argument
678 efx_vfdi_fini_all_queues(struct siena_vf *vf) efx_vfdi_fini_all_queues() argument
761 efx_vfdi_insert_filter(struct siena_vf *vf) efx_vfdi_insert_filter() argument
793 efx_vfdi_remove_all_filters(struct siena_vf *vf) efx_vfdi_remove_all_filters() argument
805 efx_vfdi_set_status_page(struct siena_vf *vf) efx_vfdi_set_status_page() argument
850 efx_vfdi_clear_status_page(struct siena_vf *vf) efx_vfdi_clear_status_page() argument
874 struct siena_vf *vf = container_of(work, struct siena_vf, req); efx_siena_sriov_vfdi() local
941 efx_siena_sriov_reset_vf(struct siena_vf *vf, struct efx_buffer *buffer) efx_siena_sriov_reset_vf() argument
1011 struct siena_vf *vf = container_of(work, struct siena_vf, req); efx_siena_sriov_reset_vf_work() local
1084 struct siena_vf *vf; efx_siena_sriov_peer_work() local
1197 struct siena_vf *vf; efx_siena_sriov_vf_alloc() local
1226 struct siena_vf *vf; efx_siena_sriov_vfs_fini() local
1247 struct siena_vf *vf; efx_siena_sriov_vfs_init() local
1371 struct siena_vf *vf; efx_siena_sriov_fini() local
1406 struct siena_vf *vf; efx_siena_sriov_event() local
1463 struct siena_vf *vf; efx_siena_sriov_flr() local
1494 struct siena_vf *vf; efx_siena_sriov_tx_flush_done() local
1513 struct siena_vf *vf; efx_siena_sriov_rx_flush_done() local
1538 struct siena_vf *vf; efx_siena_sriov_desc_fetch_err() local
1557 struct siena_vf *vf; efx_siena_sriov_reset() local
1598 struct siena_vf *vf; efx_siena_sriov_set_vf_mac() local
1616 struct siena_vf *vf; efx_siena_sriov_set_vf_vlan() local
1636 struct siena_vf *vf; efx_siena_sriov_set_vf_spoofchk() local
1660 struct siena_vf *vf; efx_siena_sriov_get_vf_config() local
[all...]
/kernel/linux/linux-5.10/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()
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()
111 bnx2x_validate_vf_sp_objs(struct bnx2x *bp, struct bnx2x_virtf *vf, bool print_err) bnx2x_validate_vf_sp_objs() argument
166 bnx2x_vfop_qctor_prep(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q, struct bnx2x_vf_queue_construct_params *p, unsigned long q_type) bnx2x_vfop_qctor_prep() argument
234 bnx2x_vf_queue_create(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) bnx2x_vf_queue_create() argument
274 bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_destroy() argument
318 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); bnx2x_vf_set_igu_info() local
334 bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, bool drv_only, int type) bnx2x_vf_vlan_mac_clear() argument
378 bnx2x_vf_mac_vlan_config(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_mac_vlan_filter *filter, bool drv_only) bnx2x_vf_mac_vlan_config() argument
434 bnx2x_vf_mac_vlan_config_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mac_vlan_filters *filters, int qid, bool drv_only) bnx2x_vf_mac_vlan_config_list() argument
473 bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) bnx2x_vf_queue_setup() argument
493 bnx2x_vf_queue_flr(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_flr() argument
537 bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, bnx2x_mac_addr_t *mcasts, int mc_num, bool drv_only) bnx2x_vf_mcast() argument
587 bnx2x_vf_prep_rx_mode(struct bnx2x *bp, u8 qid, struct bnx2x_rx_mode_ramrod_params *ramrod, struct bnx2x_virtf *vf, unsigned long accept_flags) bnx2x_vf_prep_rx_mode() argument
612 bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, unsigned long accept_flags) bnx2x_vf_rxmode() argument
625 bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_teardown() argument
715 bnx2x_vf_igu_reset(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_igu_reset() argument
785 bnx2x_vf_enable_traffic(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_enable_traffic() argument
798 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); bnx2x_vf_is_pcie_pending() local
827 bnx2x_iov_static_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_iov_static_resc() argument
846 bnx2x_vf_free_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_free_resc() argument
853 bnx2x_vf_flr_clnup_hw(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_flr_clnup_hw() argument
873 bnx2x_vf_flr(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_flr() argument
909 struct bnx2x_virtf *vf; bnx2x_vf_flr_clnup() local
969 struct bnx2x_virtf *vf = BP_VF(bp, i); bnx2x_vf_handle_flr_event() local
1061 bnx2x_vf_set_bars(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_set_bars() argument
1415 bnx2x_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) bnx2x_vfq_init() argument
1455 struct bnx2x_virtf *vf; bnx2x_iov_link_update_vf() local
1517 struct bnx2x_virtf *vf = BP_VF(bp, idx); bnx2x_set_vf_link_state() local
1558 struct bnx2x_virtf *vf = BP_VF(bp, vfid); bnx2x_iov_nic_init() local
1611 struct bnx2x_virtf *vf = BP_VF(bp, vfid); bnx2x_iov_nic_init() local
1703 bnx2x_vf_handle_mcast_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_mcast_eqe() argument
1722 bnx2x_vf_handle_filters_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_filters_eqe() argument
1730 bnx2x_vf_handle_rss_update_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_rss_update_eqe() argument
1738 struct bnx2x_virtf *vf; bnx2x_iov_eq_sp_event() local
1852 struct bnx2x_virtf *vf; bnx2x_iov_set_queue_sp_obj() local
1905 struct bnx2x_virtf *vf = BP_VF(bp, i); bnx2x_iov_adjust_stats_req() local
1971 bnx2x_vf_clr_qtbl(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_clr_qtbl() argument
1980 bnx2x_vf_igu_disable(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_igu_disable() argument
1993 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_max_queue_cnt() argument
2000 bnx2x_vf_chk_avail_resc(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *req_resc) bnx2x_vf_chk_avail_resc() argument
2014 bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *resc) bnx2x_vf_acquire() argument
2099 bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf, dma_addr_t *sb_map) bnx2x_vf_init() argument
2151 struct bnx2x_virtf *vf; global() member
2162 bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_close() argument
2209 bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_free() argument
2242 bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_config_rss_params *rss) bnx2x_vf_rss_update() argument
2250 bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_tpa_tlv *tlv, struct bnx2x_queue_update_tpa_params *params) bnx2x_vf_tpa_update() argument
2289 bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_release() argument
2305 bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs tlv) bnx2x_lock_vf_pf_channel() argument
2325 bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs expected_tlv) bnx2x_unlock_vf_pf_channel() argument
2471 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); bnx2x_enable_sriov() local
2502 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); bnx2x_enable_sriov() local
2567 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) bnx2x_vf_op_prep() argument
2616 struct bnx2x_virtf *vf = NULL; bnx2x_get_vf_config() local
2694 struct bnx2x_virtf *vf = NULL; bnx2x_set_vf_mac() local
2770 bnx2x_set_vf_vlan_acceptance(struct bnx2x *bp, struct bnx2x_virtf *vf, bool accept) bnx2x_set_vf_vlan_acceptance() argument
2789 bnx2x_set_vf_vlan_filter(struct bnx2x *bp, struct bnx2x_virtf *vf, u16 vlan, bool add) bnx2x_set_vf_vlan_filter() argument
2821 struct bnx2x_virtf *vf = NULL; bnx2x_set_vf_vlan() local
2960 struct bnx2x_virtf *vf; bnx2x_set_vf_spoofchk() local
[all...]
/kernel/linux/linux-6.6/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()
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()
111 bnx2x_validate_vf_sp_objs(struct bnx2x *bp, struct bnx2x_virtf *vf, bool print_err) bnx2x_validate_vf_sp_objs() argument
166 bnx2x_vfop_qctor_prep(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q, struct bnx2x_vf_queue_construct_params *p, unsigned long q_type) bnx2x_vfop_qctor_prep() argument
234 bnx2x_vf_queue_create(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) bnx2x_vf_queue_create() argument
274 bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_destroy() argument
318 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); bnx2x_vf_set_igu_info() local
334 bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, bool drv_only, int type) bnx2x_vf_vlan_mac_clear() argument
378 bnx2x_vf_mac_vlan_config(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_mac_vlan_filter *filter, bool drv_only) bnx2x_vf_mac_vlan_config() argument
434 bnx2x_vf_mac_vlan_config_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mac_vlan_filters *filters, int qid, bool drv_only) bnx2x_vf_mac_vlan_config_list() argument
473 bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) bnx2x_vf_queue_setup() argument
493 bnx2x_vf_queue_flr(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_flr() argument
537 bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, bnx2x_mac_addr_t *mcasts, int mc_num, bool drv_only) bnx2x_vf_mcast() argument
587 bnx2x_vf_prep_rx_mode(struct bnx2x *bp, u8 qid, struct bnx2x_rx_mode_ramrod_params *ramrod, struct bnx2x_virtf *vf, unsigned long accept_flags) bnx2x_vf_prep_rx_mode() argument
612 bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, unsigned long accept_flags) bnx2x_vf_rxmode() argument
625 bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) bnx2x_vf_queue_teardown() argument
715 bnx2x_vf_igu_reset(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_igu_reset() argument
785 bnx2x_vf_enable_traffic(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_enable_traffic() argument
798 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); bnx2x_vf_is_pcie_pending() local
827 bnx2x_iov_static_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_iov_static_resc() argument
846 bnx2x_vf_free_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_free_resc() argument
853 bnx2x_vf_flr_clnup_hw(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_flr_clnup_hw() argument
873 bnx2x_vf_flr(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_flr() argument
909 struct bnx2x_virtf *vf; bnx2x_vf_flr_clnup() local
969 struct bnx2x_virtf *vf = BP_VF(bp, i); bnx2x_vf_handle_flr_event() local
1061 bnx2x_vf_set_bars(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_set_bars() argument
1414 bnx2x_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) bnx2x_vfq_init() argument
1454 struct bnx2x_virtf *vf; bnx2x_iov_link_update_vf() local
1516 struct bnx2x_virtf *vf = BP_VF(bp, idx); bnx2x_set_vf_link_state() local
1557 struct bnx2x_virtf *vf = BP_VF(bp, vfid); bnx2x_iov_nic_init() local
1610 struct bnx2x_virtf *vf = BP_VF(bp, vfid); bnx2x_iov_nic_init() local
1702 bnx2x_vf_handle_mcast_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_mcast_eqe() argument
1721 bnx2x_vf_handle_filters_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_filters_eqe() argument
1729 bnx2x_vf_handle_rss_update_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_handle_rss_update_eqe() argument
1737 struct bnx2x_virtf *vf; bnx2x_iov_eq_sp_event() local
1851 struct bnx2x_virtf *vf; bnx2x_iov_set_queue_sp_obj() local
1899 struct bnx2x_virtf *vf = BP_VF(bp, i); bnx2x_iov_adjust_stats_req() local
1964 bnx2x_vf_clr_qtbl(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_clr_qtbl() argument
1973 bnx2x_vf_igu_disable(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_igu_disable() argument
1986 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_max_queue_cnt() argument
1993 bnx2x_vf_chk_avail_resc(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *req_resc) bnx2x_vf_chk_avail_resc() argument
2007 bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *resc) bnx2x_vf_acquire() argument
2092 bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf, dma_addr_t *sb_map) bnx2x_vf_init() argument
2144 struct bnx2x_virtf *vf; global() member
2155 bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_close() argument
2202 bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_free() argument
2235 bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_config_rss_params *rss) bnx2x_vf_rss_update() argument
2243 bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_tpa_tlv *tlv, struct bnx2x_queue_update_tpa_params *params) bnx2x_vf_tpa_update() argument
2282 bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf) bnx2x_vf_release() argument
2298 bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs tlv) bnx2x_lock_vf_pf_channel() argument
2318 bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs expected_tlv) bnx2x_unlock_vf_pf_channel() argument
2464 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); bnx2x_enable_sriov() local
2495 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); bnx2x_enable_sriov() local
2560 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) bnx2x_vf_op_prep() argument
2609 struct bnx2x_virtf *vf = NULL; bnx2x_get_vf_config() local
2687 struct bnx2x_virtf *vf = NULL; bnx2x_set_vf_mac() local
2763 bnx2x_set_vf_vlan_acceptance(struct bnx2x *bp, struct bnx2x_virtf *vf, bool accept) bnx2x_set_vf_vlan_acceptance() argument
2782 bnx2x_set_vf_vlan_filter(struct bnx2x *bp, struct bnx2x_virtf *vf, u16 vlan, bool add) bnx2x_set_vf_vlan_filter() argument
2814 struct bnx2x_virtf *vf = NULL; bnx2x_set_vf_vlan() local
2953 struct bnx2x_virtf *vf; bnx2x_set_vf_spoofchk() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c30 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, in otx2vf_process_vfaf_mbox_msg() argument
34 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
40 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
47 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg()
55 vf->pcifunc = msg->pcifunc; in otx2vf_process_vfaf_mbox_msg()
58 mbox_handler_msix_offset(vf, (struct msix_offset_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
61 mbox_handler_npa_lf_alloc(vf, (struct npa_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
64 mbox_handler_nix_lf_alloc(vf, (struct nix_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
67 mbox_handler_nix_txsch_alloc(vf, in otx2vf_process_vfaf_mbox_msg()
71 mbox_handler_nix_bp_enable(vf, (struc in otx2vf_process_vfaf_mbox_msg()
108 otx2vf_process_mbox_msg_up(struct otx2_nic *vf, struct mbox_msghdr *req) otx2vf_process_mbox_msg_up() argument
149 struct otx2_nic *vf; otx2vf_vfaf_mbox_up_handler() local
174 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; otx2vf_vfaf_mbox_intr_handler() local
217 otx2vf_disable_mbox_intr(struct otx2_nic *vf) otx2vf_disable_mbox_intr() argument
226 otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) otx2vf_register_mbox_intr() argument
270 otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) otx2vf_vfaf_mbox_destroy() argument
287 otx2vf_vfaf_mbox_init(struct otx2_nic *vf) otx2vf_vfaf_mbox_init() argument
338 struct otx2_nic *vf; otx2vf_open() local
363 struct otx2_nic *vf = netdev_priv(netdev); otx2vf_xmit() local
406 struct otx2_nic *vf = container_of(work, struct otx2_nic, reset_task); otx2vf_reset_task() local
429 otx2vf_realloc_msix_vectors(struct otx2_nic *vf) otx2vf_realloc_msix_vectors() argument
454 struct otx2_nic *vf; otx2vf_probe() local
616 struct otx2_nic *vf; otx2vf_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local
27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
28 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast()
30 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast()
31 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
77 * @vf: pointer to the VF structure
81 * set a link state on a single vf
83 static void i40e_set_vf_link_state(struct i40e_vf *vf, in i40e_set_vf_link_state() argument
88 if (vf in i40e_set_vf_link_state()
108 i40e_vc_notify_vf_link_state(struct i40e_vf *vf) i40e_vc_notify_vf_link_state() argument
187 i40e_vc_notify_vf_reset(struct i40e_vf *vf) i40e_vc_notify_vf_reset() argument
217 i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) i40e_vc_reset_vf() argument
258 i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) i40e_vc_isvalid_vsi_id() argument
274 i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, u16 qid) i40e_vc_isvalid_queue_id() argument
290 i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) i40e_vc_isvalid_vector_id() argument
307 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, u8 vsi_queue_id) i40e_vc_get_pf_queue_id() argument
336 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) i40e_get_real_pf_qid() argument
368 i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, struct virtchnl_vector_map *vecmap) i40e_config_irq_link_list() argument
474 i40e_release_rdma_qvlist(struct i40e_vf *vf) i40e_release_rdma_qvlist() argument
527 i40e_config_rdma_qvlist(struct i40e_vf *vf, struct virtchnl_rdma_qvlist_info *qvlist_info) i40e_config_rdma_qvlist() argument
630 i40e_config_vsi_tx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_txq_info *info) i40e_config_vsi_tx_queue() argument
707 i40e_config_vsi_rx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_rxq_info *info) i40e_config_vsi_rx_queue() argument
799 i40e_alloc_vsi_res(struct i40e_vf *vf, u8 idx) i40e_alloc_vsi_res() argument
889 i40e_map_pf_queues_to_vsi(struct i40e_vf *vf) i40e_map_pf_queues_to_vsi() argument
936 i40e_map_pf_to_vf_queues(struct i40e_vf *vf) i40e_map_pf_to_vf_queues() argument
974 i40e_enable_vf_mappings(struct i40e_vf *vf) i40e_enable_vf_mappings() argument
1003 i40e_disable_vf_mappings(struct i40e_vf *vf) i40e_disable_vf_mappings() argument
1023 i40e_free_vf_res(struct i40e_vf *vf) i40e_free_vf_res() argument
1104 i40e_alloc_vf_res(struct i40e_vf *vf) i40e_alloc_vf_res() argument
1179 i40e_quiesce_vf_pci(struct i40e_vf *vf) i40e_quiesce_vf_pci() argument
1278 i40e_set_vsi_promisc(struct i40e_vf *vf, u16 seid, bool multi_enable, bool unicast_enable, s16 *vl, u16 num_vlans) i40e_set_vsi_promisc() argument
1370 i40e_config_vf_promiscuous_mode(struct i40e_vf *vf, u16 vsi_id, bool allmulti, bool alluni) i40e_config_vf_promiscuous_mode() argument
1442 i40e_trigger_vf_reset(struct i40e_vf *vf, bool flr) i40e_trigger_vf_reset() argument
1502 i40e_cleanup_reset_vf(struct i40e_vf *vf) i40e_cleanup_reset_vf() argument
1556 i40e_reset_vf(struct i40e_vf *vf, bool flr) i40e_reset_vf() argument
1630 struct i40e_vf *vf; i40e_reset_all_vfs() local
1980 i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen) i40e_vc_send_msg_to_vf() argument
2016 i40e_vc_send_resp_to_vf(struct i40e_vf *vf, enum virtchnl_ops opcode, int retval) i40e_vc_send_resp_to_vf() argument
2031 i40e_sync_vf_state(struct i40e_vf *vf, enum i40e_vf_states state) i40e_sync_vf_state() argument
2056 i40e_vc_get_version_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_version_msg() argument
2075 i40e_del_qch(struct i40e_vf *vf) i40e_del_qch() argument
2101 i40e_vc_get_max_frame_size(struct i40e_vf *vf) i40e_vc_get_max_frame_size() argument
2118 i40e_vc_get_vf_resources_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_vf_resources_msg() argument
2247 i40e_vc_config_promiscuous_mode_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_promiscuous_mode_msg() argument
2332 i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_queues_msg() argument
2456 i40e_validate_queue_map(struct i40e_vf *vf, u16 vsi_id, unsigned long queuemap) i40e_validate_queue_map() argument
2484 i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_irq_map_msg() argument
2600 i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_enable_queues_msg() argument
2666 i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_disable_queues_msg() argument
2712 i40e_check_enough_queue(struct i40e_vf *vf, u16 needed) i40e_check_enough_queue() argument
2768 i40e_vc_request_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_request_queues_msg() argument
2816 i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_stats_msg() argument
2857 i40e_can_vf_change_mac(struct i40e_vf *vf) i40e_can_vf_change_mac() argument
2901 i40e_check_vf_permission(struct i40e_vf *vf, struct virtchnl_ether_addr_list *al) i40e_check_vf_permission() argument
3016 i40e_update_vf_mac_addr(struct i40e_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) i40e_update_vf_mac_addr() argument
3043 i40e_vc_add_mac_addr_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_mac_addr_msg() argument
3111 i40e_vc_del_mac_addr_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_del_mac_addr_msg() argument
3198 i40e_vc_add_vlan_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_vlan_msg() argument
3269 i40e_vc_remove_vlan_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_remove_vlan_msg() argument
3327 i40e_vc_rdma_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) i40e_vc_rdma_msg() argument
3356 i40e_vc_rdma_qvmap_msg(struct i40e_vf *vf, u8 *msg, bool config) i40e_vc_rdma_qvmap_msg() argument
3390 i40e_vc_config_rss_key(struct i40e_vf *vf, u8 *msg) i40e_vc_config_rss_key() argument
3420 i40e_vc_config_rss_lut(struct i40e_vf *vf, u8 *msg) i40e_vc_config_rss_lut() argument
3457 i40e_vc_get_rss_hena(struct i40e_vf *vf, u8 *msg) i40e_vc_get_rss_hena() argument
3492 i40e_vc_set_rss_hena(struct i40e_vf *vf, u8 *msg) i40e_vc_set_rss_hena() argument
3520 i40e_vc_enable_vlan_stripping(struct i40e_vf *vf, u8 *msg) i40e_vc_enable_vlan_stripping() argument
3546 i40e_vc_disable_vlan_stripping(struct i40e_vf *vf, u8 *msg) i40e_vc_disable_vlan_stripping() argument
3572 i40e_validate_cloud_filter(struct i40e_vf *vf, struct virtchnl_filter *tc_filter) i40e_validate_cloud_filter() argument
3703 i40e_find_vsi_from_seid(struct i40e_vf *vf, u16 seid) i40e_find_vsi_from_seid() argument
3723 i40e_del_all_cloud_filters(struct i40e_vf *vf) i40e_del_all_cloud_filters() argument
3766 i40e_vc_del_cloud_filter(struct i40e_vf *vf, u8 *msg) i40e_vc_del_cloud_filter() argument
3898 i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg) i40e_vc_add_cloud_filter() argument
4010 i40e_vc_add_qch_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_qch_msg() argument
4126 i40e_vc_del_qch_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_del_qch_msg() argument
4177 struct i40e_vf *vf; i40e_vc_process_vf_msg() local
4307 struct i40e_vf *vf; i40e_vc_process_vflr_event() local
4350 struct i40e_vf *vf; i40e_validate_vf() local
4376 i40e_check_vf_init_timeout(struct i40e_vf *vf) i40e_check_vf_init_timeout() argument
4413 struct i40e_vf *vf; i40e_ndo_set_vf_mac() local
4505 struct i40e_vf *vf; i40e_ndo_set_vf_port_vlan() local
4660 struct i40e_vf *vf; i40e_ndo_set_vf_bw() local
4711 struct i40e_vf *vf; i40e_ndo_get_vf_config() local
4773 struct i40e_vf *vf; i40e_ndo_set_vf_link_state() local
4860 struct i40e_vf *vf; i40e_ndo_set_vf_spoofchk() local
4915 struct i40e_vf *vf; i40e_ndo_set_vf_trust() local
4978 struct i40e_vf *vf; i40e_get_vf_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/vdpa/ifcvf/
H A Difcvf_main.c23 struct ifcvf_hw *vf = arg; in ifcvf_config_changed() local
25 if (vf->config_cb.callback) in ifcvf_config_changed()
26 return vf->config_cb.callback(vf->config_cb.private); in ifcvf_config_changed()
49 struct ifcvf_hw *vf = &adapter->vf; in ifcvf_free_irq() local
54 devm_free_irq(&pdev->dev, vf->vring[i].irq, &vf->vring[i]); in ifcvf_free_irq()
55 vf->vring[i].irq = -EINVAL; in ifcvf_free_irq()
58 devm_free_irq(&pdev->dev, vf in ifcvf_free_irq()
65 struct ifcvf_hw *vf = &adapter->vf; ifcvf_request_irq() local
112 struct ifcvf_hw *vf = ifcvf_private_to_vf(private); ifcvf_start_datapath() local
129 struct ifcvf_hw *vf = ifcvf_private_to_vf(private); ifcvf_stop_datapath() local
142 struct ifcvf_hw *vf = ifcvf_private_to_vf(adapter); ifcvf_reset_vring() local
172 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_features() local
182 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_features() local
191 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_status() local
199 struct ifcvf_hw *vf; ifcvf_vdpa_set_status() local
248 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_state() local
257 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_state() local
265 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_cb() local
273 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_ready() local
280 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_ready() local
288 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_num() local
297 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_vq_address() local
308 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_kick_vq() local
315 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_generation() local
339 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_config() local
349 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_config() local
358 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_set_config_cb() local
367 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); ifcvf_vdpa_get_vq_irq() local
404 struct ifcvf_hw *vf; ifcvf_probe() local
[all...]
/kernel/linux/linux-6.6/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 in efx_ef10_sriov_free_vf_vports()
160 struct ef10_vf *vf = nic_data->vf + vf_i; efx_ef10_sriov_assign_vf_vport() local
490 struct ef10_vf *vf; efx_ef10_sriov_set_vf_mac() local
557 struct ef10_vf *vf; efx_ef10_sriov_set_vf_vlan() local
773 struct ef10_vf *vf; efx_ef10_sriov_get_vf_config() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local
27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
28 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast()
30 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast()
31 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
44 * @vf: pointer to the VF structure
48 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state() argument
51 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state()
54 int abs_vf_id = vf in i40e_vc_notify_vf_link_state()
134 i40e_vc_notify_vf_reset(struct i40e_vf *vf) i40e_vc_notify_vf_reset() argument
164 i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) i40e_vc_reset_vf() argument
205 i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) i40e_vc_isvalid_vsi_id() argument
221 i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, u16 qid) i40e_vc_isvalid_queue_id() argument
237 i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) i40e_vc_isvalid_vector_id() argument
254 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, u8 vsi_queue_id) i40e_vc_get_pf_queue_id() argument
283 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) i40e_get_real_pf_qid() argument
315 i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, struct virtchnl_vector_map *vecmap) i40e_config_irq_link_list() argument
421 i40e_release_iwarp_qvlist(struct i40e_vf *vf) i40e_release_iwarp_qvlist() argument
473 i40e_config_iwarp_qvlist(struct i40e_vf *vf, struct virtchnl_iwarp_qvlist_info *qvlist_info) i40e_config_iwarp_qvlist() argument
575 i40e_config_vsi_tx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_txq_info *info) i40e_config_vsi_tx_queue() argument
652 i40e_config_vsi_rx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_rxq_info *info) i40e_config_vsi_rx_queue() argument
744 i40e_alloc_vsi_res(struct i40e_vf *vf, u8 idx) i40e_alloc_vsi_res() argument
834 i40e_map_pf_queues_to_vsi(struct i40e_vf *vf) i40e_map_pf_queues_to_vsi() argument
881 i40e_map_pf_to_vf_queues(struct i40e_vf *vf) i40e_map_pf_to_vf_queues() argument
919 i40e_enable_vf_mappings(struct i40e_vf *vf) i40e_enable_vf_mappings() argument
948 i40e_disable_vf_mappings(struct i40e_vf *vf) i40e_disable_vf_mappings() argument
968 i40e_free_vf_res(struct i40e_vf *vf) i40e_free_vf_res() argument
1049 i40e_alloc_vf_res(struct i40e_vf *vf) i40e_alloc_vf_res() argument
1124 i40e_quiesce_vf_pci(struct i40e_vf *vf) i40e_quiesce_vf_pci() argument
1223 i40e_set_vsi_promisc(struct i40e_vf *vf, u16 seid, bool multi_enable, bool unicast_enable, s16 *vl, u16 num_vlans) i40e_set_vsi_promisc() argument
1315 i40e_config_vf_promiscuous_mode(struct i40e_vf *vf, u16 vsi_id, bool allmulti, bool alluni) i40e_config_vf_promiscuous_mode() argument
1387 i40e_trigger_vf_reset(struct i40e_vf *vf, bool flr) i40e_trigger_vf_reset() argument
1447 i40e_cleanup_reset_vf(struct i40e_vf *vf) i40e_cleanup_reset_vf() argument
1501 i40e_reset_vf(struct i40e_vf *vf, bool flr) i40e_reset_vf() argument
1575 struct i40e_vf *vf; i40e_reset_all_vfs() local
1925 i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen) i40e_vc_send_msg_to_vf() argument
1961 i40e_vc_send_resp_to_vf(struct i40e_vf *vf, enum virtchnl_ops opcode, i40e_status retval) i40e_vc_send_resp_to_vf() argument
1976 i40e_sync_vf_state(struct i40e_vf *vf, enum i40e_vf_states state) i40e_sync_vf_state() argument
2001 i40e_vc_get_version_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_version_msg() argument
2020 i40e_del_qch(struct i40e_vf *vf) i40e_del_qch() argument
2046 i40e_vc_get_max_frame_size(struct i40e_vf *vf) i40e_vc_get_max_frame_size() argument
2063 i40e_vc_get_vf_resources_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_vf_resources_msg() argument
2187 i40e_vc_config_promiscuous_mode_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_promiscuous_mode_msg() argument
2272 i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_queues_msg() argument
2396 i40e_validate_queue_map(struct i40e_vf *vf, u16 vsi_id, unsigned long queuemap) i40e_validate_queue_map() argument
2424 i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_config_irq_map_msg() argument
2540 i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_enable_queues_msg() argument
2606 i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_disable_queues_msg() argument
2652 i40e_check_enough_queue(struct i40e_vf *vf, u16 needed) i40e_check_enough_queue() argument
2708 i40e_vc_request_queues_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_request_queues_msg() argument
2756 i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_get_stats_msg() argument
2814 i40e_check_vf_permission(struct i40e_vf *vf, struct virtchnl_ether_addr_list *al) i40e_check_vf_permission() argument
2875 i40e_vc_add_mac_addr_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_mac_addr_msg() argument
2946 i40e_vc_del_mac_addr_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_del_mac_addr_msg() argument
3020 i40e_vc_add_vlan_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_vlan_msg() argument
3091 i40e_vc_remove_vlan_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_remove_vlan_msg() argument
3149 i40e_vc_iwarp_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) i40e_vc_iwarp_msg() argument
3178 i40e_vc_iwarp_qvmap_msg(struct i40e_vf *vf, u8 *msg, bool config) i40e_vc_iwarp_qvmap_msg() argument
3212 i40e_vc_config_rss_key(struct i40e_vf *vf, u8 *msg) i40e_vc_config_rss_key() argument
3242 i40e_vc_config_rss_lut(struct i40e_vf *vf, u8 *msg) i40e_vc_config_rss_lut() argument
3279 i40e_vc_get_rss_hena(struct i40e_vf *vf, u8 *msg) i40e_vc_get_rss_hena() argument
3314 i40e_vc_set_rss_hena(struct i40e_vf *vf, u8 *msg) i40e_vc_set_rss_hena() argument
3342 i40e_vc_enable_vlan_stripping(struct i40e_vf *vf, u8 *msg) i40e_vc_enable_vlan_stripping() argument
3368 i40e_vc_disable_vlan_stripping(struct i40e_vf *vf, u8 *msg) i40e_vc_disable_vlan_stripping() argument
3394 i40e_validate_cloud_filter(struct i40e_vf *vf, struct virtchnl_filter *tc_filter) i40e_validate_cloud_filter() argument
3525 i40e_find_vsi_from_seid(struct i40e_vf *vf, u16 seid) i40e_find_vsi_from_seid() argument
3545 i40e_del_all_cloud_filters(struct i40e_vf *vf) i40e_del_all_cloud_filters() argument
3588 i40e_vc_del_cloud_filter(struct i40e_vf *vf, u8 *msg) i40e_vc_del_cloud_filter() argument
3720 i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg) i40e_vc_add_cloud_filter() argument
3830 i40e_vc_add_qch_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_add_qch_msg() argument
3964 i40e_vc_del_qch_msg(struct i40e_vf *vf, u8 *msg) i40e_vc_del_qch_msg() argument
4015 struct i40e_vf *vf; i40e_vc_process_vf_msg() local
4150 struct i40e_vf *vf; i40e_vc_process_vflr_event() local
4193 struct i40e_vf *vf; i40e_validate_vf() local
4224 struct i40e_vf *vf; i40e_ndo_set_vf_mac() local
4331 struct i40e_vf *vf; i40e_ndo_set_vf_port_vlan() local
4486 struct i40e_vf *vf; i40e_ndo_set_vf_bw() local
4539 struct i40e_vf *vf; i40e_ndo_get_vf_config() local
4600 struct i40e_vf *vf; i40e_ndo_set_vf_link_state() local
4693 struct i40e_vf *vf; i40e_ndo_set_vf_spoofchk() local
4750 struct i40e_vf *vf; i40e_ndo_set_vf_trust() local
4808 struct i40e_vf *vf; i40e_get_vf_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
121 * ixgbe_get_vfs - Find and take references to all vf devices
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
217 /* put the reference to all of the vf devices */ in ixgbe_disable_sriov()
218 for (vf = 0; vf < num_vf in ixgbe_disable_sriov()
363 ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_multicasts() argument
442 ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, u32 vf) ixgbe_set_vf_vlan() argument
475 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) ixgbe_set_vf_lpe() argument
560 ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) ixgbe_set_vmolr() argument
571 ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) ixgbe_clear_vmvir() argument
578 ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) ixgbe_clear_vf_vlans() argument
639 ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter, int vf, int index, unsigned char *mac_addr) ixgbe_set_vf_macvlan() argument
697 ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_reset_event() argument
766 ixgbe_vf_clear_mbx(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_clear_mbx() argument
778 ixgbe_set_vf_mac(struct ixgbe_adapter *adapter, int vf, unsigned char *mac_addr) ixgbe_set_vf_mac() argument
807 ixgbe_write_qde(struct ixgbe_adapter *adapter, u32 vf, u32 qde) ixgbe_write_qde() argument
835 ixgbe_set_vf_rx_tx(struct ixgbe_adapter *adapter, int vf) ixgbe_set_vf_rx_tx() argument
879 ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_reset_msg() argument
949 ixgbe_set_vf_mac_addr(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_mac_addr() argument
971 ixgbe_set_vf_vlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_vlan_msg() argument
993 ixgbe_set_vf_macvlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_macvlan_msg() argument
1037 ixgbe_negotiate_vf_api(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_negotiate_vf_api() argument
1059 ixgbe_get_vf_queues(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_queues() argument
1101 ixgbe_get_vf_reta(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_reta() argument
1136 ixgbe_get_vf_rss_key(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_rss_key() argument
1160 ixgbe_update_vf_xcast_mode(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_update_vf_xcast_mode() argument
1236 ixgbe_get_vf_link_state(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_link_state() argument
1256 ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) ixgbe_rcv_msg_from_vf() argument
1349 ixgbe_rcv_ack_from_vf(struct ixgbe_adapter *adapter, u32 vf) ixgbe_rcv_ack_from_vf() argument
1363 u32 vf; ixgbe_msg_task() local
1382 ixgbe_ping_vf(struct ixgbe_adapter *adapter, int vf) ixgbe_ping_vf() argument
1422 ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) ixgbe_ndo_set_vf_mac() argument
1470 ixgbe_enable_port_vlan(struct ixgbe_adapter *adapter, int vf, u16 vlan, u8 qos) ixgbe_enable_port_vlan() argument
1506 ixgbe_disable_port_vlan(struct ixgbe_adapter *adapter, int vf) ixgbe_disable_port_vlan() argument
1528 ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) ixgbe_ndo_set_vf_vlan() argument
1573 ixgbe_set_vf_rate_limit(struct ixgbe_adapter *adapter, int vf) ixgbe_set_vf_rate_limit() argument
1647 ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) ixgbe_ndo_set_vf_bw() argument
1683 ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_spoofchk() argument
1727 ixgbe_set_vf_link_state(struct ixgbe_adapter *adapter, int vf, int state) ixgbe_set_vf_link_state() argument
1761 ixgbe_ndo_set_vf_link_state(struct net_device *netdev, int vf, int state) ixgbe_ndo_set_vf_link_state() argument
1797 ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_rss_query_en() argument
1817 ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_trust() argument
1839 ixgbe_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) ixgbe_ndo_get_vf_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
121 * ixgbe_get_vfs - Find and take references to all vf devices
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
217 /* put the reference to all of the vf devices */ in ixgbe_disable_sriov()
218 for (vf = 0; vf < num_vf in ixgbe_disable_sriov()
363 ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_multicasts() argument
442 ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, u32 vf) ixgbe_set_vf_vlan() argument
475 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) ixgbe_set_vf_lpe() argument
560 ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) ixgbe_set_vmolr() argument
571 ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) ixgbe_clear_vmvir() argument
578 ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) ixgbe_clear_vf_vlans() argument
639 ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter, int vf, int index, unsigned char *mac_addr) ixgbe_set_vf_macvlan() argument
697 ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_reset_event() argument
766 ixgbe_vf_clear_mbx(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_clear_mbx() argument
778 ixgbe_set_vf_mac(struct ixgbe_adapter *adapter, int vf, unsigned char *mac_addr) ixgbe_set_vf_mac() argument
807 ixgbe_write_qde(struct ixgbe_adapter *adapter, u32 vf, u32 qde) ixgbe_write_qde() argument
835 ixgbe_set_vf_rx_tx(struct ixgbe_adapter *adapter, int vf) ixgbe_set_vf_rx_tx() argument
879 ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) ixgbe_vf_reset_msg() argument
949 ixgbe_set_vf_mac_addr(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_mac_addr() argument
971 ixgbe_set_vf_vlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_vlan_msg() argument
993 ixgbe_set_vf_macvlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_set_vf_macvlan_msg() argument
1037 ixgbe_negotiate_vf_api(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_negotiate_vf_api() argument
1059 ixgbe_get_vf_queues(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_queues() argument
1101 ixgbe_get_vf_reta(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_reta() argument
1136 ixgbe_get_vf_rss_key(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_rss_key() argument
1160 ixgbe_update_vf_xcast_mode(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_update_vf_xcast_mode() argument
1236 ixgbe_get_vf_link_state(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) ixgbe_get_vf_link_state() argument
1256 ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) ixgbe_rcv_msg_from_vf() argument
1349 ixgbe_rcv_ack_from_vf(struct ixgbe_adapter *adapter, u32 vf) ixgbe_rcv_ack_from_vf() argument
1363 u32 vf; ixgbe_msg_task() local
1382 ixgbe_ping_vf(struct ixgbe_adapter *adapter, int vf) ixgbe_ping_vf() argument
1422 ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) ixgbe_ndo_set_vf_mac() argument
1470 ixgbe_enable_port_vlan(struct ixgbe_adapter *adapter, int vf, u16 vlan, u8 qos) ixgbe_enable_port_vlan() argument
1506 ixgbe_disable_port_vlan(struct ixgbe_adapter *adapter, int vf) ixgbe_disable_port_vlan() argument
1528 ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) ixgbe_ndo_set_vf_vlan() argument
1573 ixgbe_set_vf_rate_limit(struct ixgbe_adapter *adapter, int vf) ixgbe_set_vf_rate_limit() argument
1647 ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) ixgbe_ndo_set_vf_bw() argument
1683 ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_spoofchk() argument
1727 ixgbe_set_vf_link_state(struct ixgbe_adapter *adapter, int vf, int state) ixgbe_set_vf_link_state() argument
1761 ixgbe_ndo_set_vf_link_state(struct net_device *netdev, int vf, int state) ixgbe_ndo_set_vf_link_state() argument
1797 ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_rss_query_en() argument
1817 ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting) ixgbe_ndo_set_vf_trust() argument
1839 ixgbe_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) ixgbe_ndo_get_vf_config() argument
[all...]
/kernel/linux/linux-5.10/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()
84 * @vf: VF to which ACK to be sent
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, cp in otx_cpt_clear_mbox_intr()
112 otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, u32 size) otx_cpt_cfg_qlen_for_vf() argument
126 otx_cpt_cfg_vq_priority(struct otx_cpt_device *cpt, int vf, u32 pri) otx_cpt_cfg_vq_priority() argument
178 otx_cpt_handle_mbox_intr(struct otx_cpt_device *cpt, int vf) otx_cpt_handle_mbox_intr() argument
243 u8 vf; otx_cpt_mbox_intr_handler() local
[all...]
/kernel/linux/linux-6.6/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()
84 * @vf: VF to which ACK to be sent
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, cp in otx_cpt_clear_mbox_intr()
112 otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, u32 size) otx_cpt_cfg_qlen_for_vf() argument
126 otx_cpt_cfg_vq_priority(struct otx_cpt_device *cpt, int vf, u32 pri) otx_cpt_cfg_vq_priority() argument
178 otx_cpt_handle_mbox_intr(struct otx_cpt_device *cpt, int vf) otx_cpt_handle_mbox_intr() argument
243 u8 vf; otx_cpt_mbox_intr_handler() local
[all...]
/kernel/linux/linux-5.10/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()
18 * @vf: VF to which ACK to be sent
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()
50 cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) cpt_cfg_vq_priority() argument
86 cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) cpt_handle_mbox_intr() argument
149 u8 vf; cpt_mbox_intr_handler() local
[all...]
/kernel/linux/linux-6.6/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()
18 * @vf: VF to which ACK to be sent
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()
50 cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) cpt_cfg_vq_priority() argument
86 cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) cpt_handle_mbox_intr() argument
149 u8 vf; cpt_mbox_intr_handler() local
[all...]
/kernel/linux/linux-5.10/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()
788 qlcnic_sriov_cfg_vf_def_mac(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, u16 vlan, u8 op) qlcnic_sriov_cfg_vf_def_mac() argument
855 qlcnic_83xx_cfg_default_mac_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, int opcode) qlcnic_83xx_cfg_default_mac_vlan() argument
887 struct qlcnic_vf_info *vf = tran->vf; qlcnic_sriov_pf_create_rx_ctx_cmd() local
915 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_mac_address_cmd() local
947 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_create_tx_ctx_cmd() local
970 qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_del_rx_ctx() argument
985 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_del_rx_ctx_cmd() local
1005 qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_del_tx_ctx() argument
1020 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_del_tx_ctx_cmd() local
1039 qlcnic_sriov_validate_cfg_lro(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_cfg_lro() argument
1051 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_lro_cmd() local
1068 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_ip_cmd() local
1079 qlcnic_sriov_validate_cfg_intrpt(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_cfg_intrpt() argument
1097 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_intrpt_cmd() local
1110 qlcnic_sriov_validate_mtu(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_mtu() argument
1126 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_set_mtu_cmd() local
1139 qlcnic_sriov_validate_get_nic_info(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_get_nic_info() argument
1155 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_get_nic_info_cmd() local
1169 qlcnic_sriov_validate_cfg_rss(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_cfg_rss() argument
1181 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_rss_cmd() local
1194 qlcnic_sriov_validate_cfg_intrcoal(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_cfg_intrcoal() argument
1240 struct qlcnic_vf_info *vf = tran->vf; qlcnic_sriov_pf_cfg_intrcoal_cmd() local
1254 qlcnic_sriov_validate_cfg_macvlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_cfg_macvlan() argument
1282 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_macvlan_cmd() local
1296 qlcnic_sriov_validate_linkevent(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_validate_linkevent() argument
1308 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_linkevent_cmd() local
1325 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_cfg_promisc_cmd() local
1338 struct qlcnic_vf_info *vf = trans->vf; qlcnic_sriov_pf_get_acl_cmd() local
1368 qlcnic_sriov_pf_del_guest_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_pf_del_guest_vlan() argument
1393 qlcnic_sriov_pf_add_guest_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) qlcnic_sriov_pf_add_guest_vlan() argument
1434 struct qlcnic_vf_info *vf = tran->vf; qlcnic_sriov_pf_cfg_guest_vlan_cmd() local
1595 qlcnic_sriov_del_rx_ctx(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf) qlcnic_sriov_del_rx_ctx() argument
1621 qlcnic_sriov_del_tx_ctx(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf) qlcnic_sriov_del_tx_ctx() argument
1647 qlcnic_sriov_add_act_list_irqsave(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, struct qlcnic_bc_trans *trans) qlcnic_sriov_add_act_list_irqsave() argument
1662 __qlcnic_sriov_process_flr(struct qlcnic_vf_info *vf) __qlcnic_sriov_process_flr() argument
1688 struct qlcnic_vf_info *vf; qlcnic_sriov_pf_process_flr() local
1695 qlcnic_sriov_schedule_flr(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, work_func_t func) qlcnic_sriov_schedule_flr() argument
1706 qlcnic_sriov_handle_soft_flr(struct qlcnic_adapter *adapter, struct qlcnic_bc_trans *trans, struct qlcnic_vf_info *vf) qlcnic_sriov_handle_soft_flr() argument
1721 qlcnic_sriov_soft_flr_check(struct qlcnic_adapter *adapter, struct qlcnic_bc_trans *trans, struct qlcnic_vf_info *vf) qlcnic_sriov_soft_flr_check() argument
1737 qlcnic_sriov_pf_handle_flr(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf) qlcnic_sriov_pf_handle_flr() argument
1766 struct qlcnic_vf_info *vf; qlcnic_sriov_pf_reset() local
1802 qlcnic_sriov_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) qlcnic_sriov_set_vf_mac() argument
1849 qlcnic_sriov_set_vf_tx_rate(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) qlcnic_sriov_set_vf_tx_rate() argument
1914 qlcnic_sriov_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) qlcnic_sriov_set_vf_vlan() argument
1970 qlcnic_sriov_get_vf_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vport *vp, int vf) qlcnic_sriov_get_vf_vlan() argument
1993 qlcnic_sriov_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) qlcnic_sriov_get_vf_config() argument
2024 qlcnic_sriov_set_vf_spoofchk(struct net_device *netdev, int vf, bool chk) qlcnic_sriov_set_vf_spoofchk() argument
[all...]

Completed in 28 milliseconds

12345678910>>...18