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

12345678910

/linux-master/tools/testing/selftests/powerpc/eeh/
H A Deeh-vf-unaware.sh17 for vf in $vf_list ; do
18 log "Testing $vf"
20 if eeh_can_recover $vf ; then
21 log "Driver for $vf supports error recovery. Unbinding..."
22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
25 log "Breaking $vf..."
26 if ! eeh_one_dev $vf ; then
27 log "$vf failed to recover"
H A Deeh-vf-aware.sh18 for vf in $vf_list ; do
19 log "Testing $vf"
21 if ! eeh_can_recover $vf ; then
22 log "Driver for $vf doesn't support error recovery, skipping"
28 log "Breaking $vf..."
29 if ! eeh_one_dev $vf ; then
30 log "$vf failed to recover"
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_allowlist.h8 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode);
10 void ice_vc_set_default_allowlist(struct ice_vf *vf);
11 void ice_vc_set_working_allowlist(struct ice_vf *vf);
12 void ice_vc_set_caps_allowlist(struct ice_vf *vf);
H A Dice_vf_lib_private.h26 int ice_vf_reconfig_vsi(struct ice_vf *vf);
27 void ice_initialize_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...]
H A Dice_vf_lib.c27 struct ice_vf *vf; local
30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) {
31 if (vf->vf_id == vf_id) {
34 if (kref_get_unless_zero(&vf->refcnt))
35 found = vf;
57 struct ice_vf *vf = container_of(ref, struct ice_vf, refcnt); local
59 pci_dev_put(vf->vfdev);
61 vf->vf_ops->free(vf);
66 * @vf
75 ice_put_vf(struct ice_vf *vf) argument
107 struct ice_vf *vf; local
123 ice_get_vf_vsi(struct ice_vf *vf) argument
143 ice_is_vf_disabled(struct ice_vf *vf) argument
158 ice_wait_on_vf_reset(struct ice_vf *vf) argument
177 ice_check_vf_ready_for_cfg(struct ice_vf *vf) argument
200 ice_trigger_vf_reset(struct ice_vf *vf, bool is_vflr, bool is_pfr) argument
221 ice_vf_clear_counters(struct ice_vf *vf) argument
240 ice_vf_pre_vsi_rebuild(struct ice_vf *vf) argument
259 ice_vf_reconfig_vsi(struct ice_vf *vf) argument
295 ice_vf_rebuild_vsi(struct ice_vf *vf) argument
324 ice_vf_rebuild_host_vlan_cfg(struct ice_vf *vf, struct ice_vsi *vsi) argument
365 ice_vf_rebuild_host_tx_rate_cfg(struct ice_vf *vf) argument
399 ice_vf_set_host_trust_cfg(struct ice_vf *vf) argument
411 ice_vf_rebuild_host_mac_cfg(struct ice_vf *vf) argument
488 ice_vf_rebuild_host_cfg(struct ice_vf *vf) argument
522 ice_set_vf_state_qs_dis(struct ice_vf *vf) argument
537 ice_vf_set_initialized(struct ice_vf *vf) argument
554 ice_vf_post_vsi_rebuild(struct ice_vf *vf) argument
573 struct ice_vf *vf; local
600 ice_vf_get_promisc_masks(struct ice_vf *vf, struct ice_vsi *vsi, u8 *ucast_m, u8 *mcast_m) argument
621 ice_vf_clear_all_promisc_modes(struct ice_vf *vf, struct ice_vsi *vsi) argument
663 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument
692 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument
729 struct ice_vf *vf; local
802 ice_notify_vf_reset(struct ice_vf *vf) argument
836 ice_reset_vf(struct ice_vf *vf, u32 flags) argument
974 ice_set_vf_state_dis(struct ice_vf *vf) argument
986 ice_initialize_vf_entry(struct ice_vf *vf) argument
1015 ice_dis_vf_qs(struct ice_vf *vf) argument
1055 ice_check_vf_init(struct ice_vf *vf) argument
1071 ice_vf_get_port_info(struct ice_vf *vf) argument
1172 ice_is_vf_trusted(struct ice_vf *vf) argument
1184 ice_vf_has_no_qs_ena(struct ice_vf *vf) argument
1194 ice_is_vf_link_up(struct ice_vf *vf) argument
1214 ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf) argument
1223 ice_vf_ctrl_vsi_release(struct ice_vf *vf) argument
1236 ice_vf_ctrl_vsi_setup(struct ice_vf *vf) argument
1265 ice_vf_init_host_cfg(struct ice_vf *vf, struct ice_vsi *vsi) argument
1314 ice_vf_invalidate_vsi(struct ice_vf *vf) argument
1326 ice_vf_vsi_release(struct ice_vf *vf) argument
1354 struct ice_vf *vf; 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, u
79 ice_virtchnl_set_dflt_ops(struct ice_vf *vf) argument
80 ice_virtchnl_set_repr_ops(struct ice_vf *vf) argument
81 ice_vc_notify_vf_link_state(struct ice_vf *vf) argument
86 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, enum virtchnl_status_code v_retval, u8 *msg, u16 msglen) argument
92 ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) argument
[all...]
H A Dice_sriov.c28 struct ice_vf *vf; local
37 hash_for_each_safe(vfs->table, bkt, tmp, vf, entry) {
38 hash_del_rcu(&vf->entry);
39 ice_put_vf(vf);
45 * @vf: pointer to the VF info
47 static void ice_free_vf_res(struct ice_vf *vf) argument
49 struct ice_pf *pf = vf->pf;
55 clear_bit(ICE_VF_STATE_INIT, vf->vf_states);
56 ice_vf_fdir_exit(vf);
58 if (vf
87 ice_dis_vf_mappings(struct ice_vf *vf) argument
155 struct ice_vf *vf; local
223 ice_vf_vsi_setup(struct ice_vf *vf) argument
256 ice_ena_vf_msix_mappings(struct ice_vf *vf) argument
302 ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) argument
349 ice_ena_vf_mappings(struct ice_vf *vf) argument
365 ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) argument
537 ice_sriov_free_irqs(struct ice_pf *pf, struct ice_vf *vf) argument
553 ice_init_vf_vsi_res(struct ice_vf *vf) argument
586 struct ice_vf *vf; local
639 ice_sriov_free_vf(struct ice_vf *vf) argument
650 ice_sriov_clear_reset_state(struct ice_vf *vf) argument
665 ice_sriov_clear_mbx_register(struct ice_vf *vf) argument
680 ice_sriov_trigger_reset_register(struct ice_vf *vf, bool is_vflr) argument
727 ice_sriov_poll_reset_status(struct ice_vf *vf) argument
752 ice_sriov_clear_reset_trigger(struct ice_vf *vf) argument
767 ice_sriov_post_vsi_rebuild(struct ice_vf *vf) argument
803 struct ice_vf *vf; local
1071 struct ice_vf *vf; local
1212 struct ice_vf *vf; local
1249 struct ice_vf *vf; local
1301 struct ice_vf *vf; local
1331 struct ice_vf *vf; local
1389 struct ice_vf *vf; local
1436 struct ice_vf *vf; local
1497 struct ice_vf *vf; local
1544 struct ice_vf *vf; local
1585 struct ice_vf *vf; local
1610 ice_min_tx_rate_oversubscribed(struct ice_vf *vf, int min_tx_rate) argument
1650 struct ice_vf *vf; local
1719 struct ice_vf *vf; local
1801 struct ice_vf *vf; local
1857 ice_print_vf_rx_mdd_event(struct ice_vf *vf) argument
1881 struct ice_vf *vf; local
1925 struct ice_vf *vf; 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 void (*post_vsi_rebuild)(struct ice_vf *vf);
144 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) argument
146 return vf
149 ice_vf_get_port_vlan_prio(struct ice_vf *vf) argument
154 ice_vf_is_port_vlan_ena(struct ice_vf *vf) argument
159 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) argument
235 ice_put_vf(struct ice_vf *vf) argument
249 ice_get_vf_vsi(struct ice_vf *vf) argument
254 ice_is_vf_disabled(struct ice_vf *vf) argument
259 ice_check_vf_ready_for_cfg(struct ice_vf *vf) argument
264 ice_set_vf_state_dis(struct ice_vf *vf) argument
274 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument
280 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument
285 ice_reset_vf(struct ice_vf *vf, u32 flags) argument
[all...]
H A Dice_virtchnl_allowlist.c111 * @vf: pointer to VF structure
116 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) argument
121 return test_bit(opcode, vf->opcodes_allowlist);
126 * @vf: pointer to VF structure
133 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) argument
138 set_bit(opcodes[i], vf->opcodes_allowlist);
143 * @vf: pointer to VF structure
145 static void ice_vc_clear_allowlist(struct ice_vf *vf) argument
147 bitmap_zero(vf->opcodes_allowlist, VIRTCHNL_OP_MAX);
152 * @vf
154 ice_vc_set_default_allowlist(struct ice_vf *vf) argument
168 ice_vc_set_working_allowlist(struct ice_vf *vf) argument
178 ice_vc_set_caps_allowlist(struct ice_vf *vf) argument
[all...]
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_pp.h7 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \
9 if (enic_is_valid_pp_vf(enic, vf, err)) \
10 pp = (vf == PORT_SELF_VF) ? enic->pp : enic->pp + vf; \
15 int enic_process_set_pp_request(struct enic *enic, int vf,
17 int enic_process_get_pp_request(struct enic *enic, int vf,
19 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err);
H A Denic_pp.c20 * Checks validity of vf index that came in
23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) argument
25 if (vf != PORT_SELF_VF) {
28 if (vf < 0 || vf >= enic->num_vfs) {
42 if (vf == PORT_SELF_VF && !enic_is_dynamic(enic)) {
54 static int enic_set_port_profile(struct enic *enic, int vf) argument
66 ENIC_PP_BY_INDEX(enic, vf, pp, &err);
84 } else if (vf == PORT_SELF_VF) {
88 "for VF %d\n", vf);
130 enic_unset_port_profile(struct enic *enic, int vf) argument
174 enic_pp_preassociate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
180 enic_pp_disassociate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
202 enic_pp_preassociate_rr(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
241 enic_pp_associate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
289 enic_process_set_pp_request(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
306 enic_process_get_pp_request(struct enic *enic, int vf, int request, u16 *response) argument
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_pf_msg.c15 struct adf_accel_vf_info *vf; local
20 for (i = 0, vf = accel_dev->pf.vf_info; i < num_vfs; i++, vf++) {
21 vf->restarting = false;
22 if (!vf->init)
27 else if (vf->vf_compat_ver >= ADF_PFVF_COMPAT_FALLBACK)
28 vf->restarting = true;
36 struct adf_accel_vf_info *vf; local
42 for (i = 0, vf = accel_dev->pf.vf_info; i < num_vfs; i++, vf
58 struct adf_accel_vf_info *vf; local
73 struct adf_accel_vf_info *vf; local
[all...]
/linux-master/drivers/vdpa/ifcvf/
H A Difcvf_main.c22 struct ifcvf_hw *vf = arg; local
24 if (vf->config_cb.callback)
25 return vf->config_cb.callback(vf->config_cb.private);
42 struct ifcvf_hw *vf = arg; local
46 for (i = 0; i < vf->nr_vring; i++) {
47 vring = &vf->vring[i];
57 struct ifcvf_hw *vf = arg; local
60 isr = vp_ioread8(vf->isr);
72 static void ifcvf_free_per_vq_irq(struct ifcvf_hw *vf) argument
85 ifcvf_free_vqs_reused_irq(struct ifcvf_hw *vf) argument
96 ifcvf_free_vq_irq(struct ifcvf_hw *vf) argument
104 ifcvf_free_config_irq(struct ifcvf_hw *vf) argument
121 ifcvf_free_irq(struct ifcvf_hw *vf) argument
136 ifcvf_alloc_vectors(struct ifcvf_hw *vf) argument
158 ifcvf_request_per_vq_irq(struct ifcvf_hw *vf) argument
192 ifcvf_request_vqs_reused_irq(struct ifcvf_hw *vf) argument
225 ifcvf_request_dev_irq(struct ifcvf_hw *vf) argument
266 ifcvf_request_vq_irq(struct ifcvf_hw *vf) argument
278 ifcvf_request_config_irq(struct ifcvf_hw *vf) argument
318 ifcvf_request_irq(struct ifcvf_hw *vf) argument
367 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
384 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
398 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
408 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
415 struct ifcvf_hw *vf; local
439 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
454 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
467 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
476 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
484 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
492 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
499 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
507 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
516 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
523 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
530 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
537 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
557 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
571 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
580 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
588 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
597 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
608 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
616 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); local
700 struct ifcvf_hw *vf; local
765 struct ifcvf_hw *vf; local
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c26 struct i40e_vf *vf = pf->vf; local
29 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) {
30 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id;
32 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) &&
33 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states))
79 * @vf: pointer to the VF structure
83 * set a link state on a single vf
85 static void i40e_set_vf_link_state(struct i40e_vf *vf, argument
90 if (vf
110 i40e_vc_notify_vf_link_state(struct i40e_vf *vf) argument
189 i40e_vc_notify_vf_reset(struct i40e_vf *vf) argument
219 i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) argument
260 i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) argument
276 i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, u16 qid) argument
292 i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) argument
309 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, u8 vsi_queue_id) argument
338 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) argument
370 i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, struct virtchnl_vector_map *vecmap) argument
476 i40e_release_rdma_qvlist(struct i40e_vf *vf) argument
527 i40e_config_rdma_qvlist(struct i40e_vf *vf, struct virtchnl_rdma_qvlist_info *qvlist_info) argument
628 i40e_config_vsi_tx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_txq_info *info) argument
703 i40e_config_vsi_rx_queue(struct i40e_vf *vf, u16 vsi_id, u16 vsi_queue_id, struct virtchnl_rxq_info *info) argument
795 i40e_alloc_vsi_res(struct i40e_vf *vf, u8 idx) argument
885 i40e_map_pf_queues_to_vsi(struct i40e_vf *vf) argument
932 i40e_map_pf_to_vf_queues(struct i40e_vf *vf) argument
970 i40e_enable_vf_mappings(struct i40e_vf *vf) argument
999 i40e_disable_vf_mappings(struct i40e_vf *vf) argument
1019 i40e_free_vf_res(struct i40e_vf *vf) argument
1100 i40e_alloc_vf_res(struct i40e_vf *vf) argument
1175 i40e_quiesce_vf_pci(struct i40e_vf *vf) argument
1274 i40e_set_vsi_promisc(struct i40e_vf *vf, u16 seid, bool multi_enable, bool unicast_enable, s16 *vl, u16 num_vlans) argument
1366 i40e_config_vf_promiscuous_mode(struct i40e_vf *vf, u16 vsi_id, bool allmulti, bool alluni) argument
1438 i40e_trigger_vf_reset(struct i40e_vf *vf, bool flr) argument
1498 i40e_cleanup_reset_vf(struct i40e_vf *vf) argument
1552 i40e_reset_vf(struct i40e_vf *vf, bool flr) argument
1626 struct i40e_vf *vf; local
1974 i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen) argument
2010 i40e_vc_send_resp_to_vf(struct i40e_vf *vf, enum virtchnl_ops opcode, int retval) argument
2025 i40e_sync_vf_state(struct i40e_vf *vf, enum i40e_vf_states state) argument
2050 i40e_vc_get_version_msg(struct i40e_vf *vf, u8 *msg) argument
2069 i40e_del_qch(struct i40e_vf *vf) argument
2095 i40e_vc_get_max_frame_size(struct i40e_vf *vf) argument
2112 i40e_vc_get_vf_resources_msg(struct i40e_vf *vf, u8 *msg) argument
2241 i40e_vc_config_promiscuous_mode_msg(struct i40e_vf *vf, u8 *msg) argument
2326 i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg) argument
2450 i40e_validate_queue_map(struct i40e_vf *vf, u16 vsi_id, unsigned long queuemap) argument
2478 i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg) argument
2594 i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg) argument
2660 i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg) argument
2706 i40e_check_enough_queue(struct i40e_vf *vf, u16 needed) argument
2762 i40e_vc_request_queues_msg(struct i40e_vf *vf, u8 *msg) argument
2810 i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg) argument
2851 i40e_can_vf_change_mac(struct i40e_vf *vf) argument
2895 i40e_check_vf_permission(struct i40e_vf *vf, struct virtchnl_ether_addr_list *al) argument
3010 i40e_update_vf_mac_addr(struct i40e_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) argument
3037 i40e_vc_add_mac_addr_msg(struct i40e_vf *vf, u8 *msg) argument
3105 i40e_vc_del_mac_addr_msg(struct i40e_vf *vf, u8 *msg) argument
3193 i40e_vc_add_vlan_msg(struct i40e_vf *vf, u8 *msg) argument
3264 i40e_vc_remove_vlan_msg(struct i40e_vf *vf, u8 *msg) argument
3322 i40e_vc_rdma_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) argument
3351 i40e_vc_rdma_qvmap_msg(struct i40e_vf *vf, u8 *msg, bool config) argument
3385 i40e_vc_config_rss_key(struct i40e_vf *vf, u8 *msg) argument
3415 i40e_vc_config_rss_lut(struct i40e_vf *vf, u8 *msg) argument
3452 i40e_vc_get_rss_hena(struct i40e_vf *vf, u8 *msg) argument
3487 i40e_vc_set_rss_hena(struct i40e_vf *vf, u8 *msg) argument
3515 i40e_vc_enable_vlan_stripping(struct i40e_vf *vf, u8 *msg) argument
3541 i40e_vc_disable_vlan_stripping(struct i40e_vf *vf, u8 *msg) argument
3567 i40e_validate_cloud_filter(struct i40e_vf *vf, struct virtchnl_filter *tc_filter) argument
3698 i40e_find_vsi_from_seid(struct i40e_vf *vf, u16 seid) argument
3718 i40e_del_all_cloud_filters(struct i40e_vf *vf) argument
3761 i40e_vc_del_cloud_filter(struct i40e_vf *vf, u8 *msg) argument
3893 i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg) argument
4005 i40e_vc_add_qch_msg(struct i40e_vf *vf, u8 *msg) argument
4121 i40e_vc_del_qch_msg(struct i40e_vf *vf, u8 *msg) argument
4172 struct i40e_vf *vf; local
4302 struct i40e_vf *vf; local
4345 struct i40e_vf *vf; local
4371 i40e_check_vf_init_timeout(struct i40e_vf *vf) argument
4408 struct i40e_vf *vf; local
4500 struct i40e_vf *vf; local
4655 struct i40e_vf *vf; local
4706 struct i40e_vf *vf; local
4767 struct i40e_vf *vf; local
4854 struct i40e_vf *vf; local
4909 struct i40e_vf *vf; local
4972 struct i40e_vf *vf; local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c191 static unsigned abs_index(struct siena_vf *vf, unsigned index) argument
193 return EFX_VI_BASE + vf->index * efx_vf_size(vf->efx) + index;
302 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) argument
304 struct efx_nic *efx = vf->efx;
309 if (vf->tx_filter_id != -1) {
311 vf->tx_filter_id);
312 netif_dbg(efx, hw, efx->net_dev, "Removed vf %s tx filter %d\n",
313 vf->pci_name, vf
346 efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) argument
385 __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) argument
400 __efx_siena_sriov_push_vf_status(struct siena_vf *vf) argument
530 efx_vfdi_init_evq(struct siena_vf *vf) argument
571 efx_vfdi_init_rxq(struct siena_vf *vf) argument
612 efx_vfdi_init_txq(struct siena_vf *vf) argument
659 efx_vfdi_flush_wake(struct siena_vf *vf) argument
668 efx_vfdi_flush_clear(struct siena_vf *vf) argument
678 efx_vfdi_fini_all_queues(struct siena_vf *vf) argument
761 efx_vfdi_insert_filter(struct siena_vf *vf) argument
793 efx_vfdi_remove_all_filters(struct siena_vf *vf) argument
805 efx_vfdi_set_status_page(struct siena_vf *vf) argument
850 efx_vfdi_clear_status_page(struct siena_vf *vf) argument
874 struct siena_vf *vf = container_of(work, struct siena_vf, req); local
941 efx_siena_sriov_reset_vf(struct siena_vf *vf, struct efx_buffer *buffer) argument
1011 struct siena_vf *vf = container_of(work, struct siena_vf, req); local
1084 struct siena_vf *vf; local
1197 struct siena_vf *vf; local
1226 struct siena_vf *vf; local
1247 struct siena_vf *vf; local
1371 struct siena_vf *vf; local
1406 struct siena_vf *vf; local
1463 struct siena_vf *vf; local
1494 struct siena_vf *vf; local
1513 struct siena_vf *vf; local
1538 struct siena_vf *vf; local
1557 struct siena_vf *vf; local
1598 struct siena_vf *vf; local
1616 struct siena_vf *vf; local
1636 struct siena_vf *vf; local
1660 struct siena_vf *vf; local
[all...]
/linux-master/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, argument
78 writeq(mbx->data, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1));
79 writeq(mbx->msg, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0));
84 * @vf: VF to which ACK to be sent
86 static void otx_cpt_mbox_send_ack(struct otx_cpt_device *cpt, int vf, argument
91 otx_cpt_send_msg_to_vf(cpt, vf, mbx);
95 static void otx_cptpf_mbox_send_nack(struct otx_cpt_device *cpt, int vf, argument
100 otx_cpt_send_msg_to_vf(cpt, vf, mbx);
103 static void otx_cpt_clear_mbox_intr(struct otx_cpt_device *cpt, u32 vf) argument
106 writeq(1ull << vf, cp
112 otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, u32 size) argument
126 otx_cpt_cfg_vq_priority(struct otx_cpt_device *cpt, int vf, u32 pri) argument
178 otx_cpt_handle_mbox_intr(struct otx_cpt_device *cpt, int vf) argument
243 u8 vf; local
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c37 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, argument
41 dev_err(vf->dev,
47 dev_err(vf->dev,
54 dev_err(vf->dev,
62 vf->pcifunc = msg->pcifunc;
65 mbox_handler_msix_offset(vf, (struct msix_offset_rsp *)msg);
68 mbox_handler_npa_lf_alloc(vf, (struct npa_lf_alloc_rsp *)msg);
71 mbox_handler_nix_lf_alloc(vf, (struct nix_lf_alloc_rsp *)msg);
74 mbox_handler_nix_bp_enable(vf, (struct nix_bp_cfg_rsp *)msg);
78 dev_err(vf
115 otx2vf_process_mbox_msg_up(struct otx2_nic *vf, struct mbox_msghdr *req) argument
156 struct otx2_nic *vf; local
184 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; local
235 otx2vf_disable_mbox_intr(struct otx2_nic *vf) argument
244 otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) argument
288 otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) argument
304 otx2vf_vfaf_mbox_init(struct otx2_nic *vf) argument
365 struct otx2_nic *vf; local
390 struct otx2_nic *vf = netdev_priv(netdev); local
415 struct otx2_nic *vf = netdev_priv(netdev); local
422 struct otx2_nic *vf = container_of(work, struct otx2_nic, rx_mode_work); local
469 struct otx2_nic *vf = container_of(work, struct otx2_nic, reset_task); local
503 otx2_wq_init(struct otx2_nic *vf) argument
514 otx2vf_realloc_msix_vectors(struct otx2_nic *vf) argument
540 struct otx2_nic *vf; local
746 struct otx2_nic *vf; local
[all...]
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptpf_mbox.c8 static void cpt_send_msg_to_vf(struct cpt_device *cpt, int vf, argument
12 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 1),
14 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 0), mbx->msg);
18 * @vf: VF to which ACK to be sent
20 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, argument
25 cpt_send_msg_to_vf(cpt, vf, mbx);
28 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) argument
31 cpt_write_csr64(cpt->reg_base, CPTX_PF_MBOX_INTX(0, 0), (1 << vf));
37 static void cpt_cfg_qlen_for_vf(struct cpt_device *cpt, int vf, u32 size) argument
41 pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf));
50 cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) argument
86 cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) argument
149 u8 vf; local
[all...]
/linux-master/drivers/net/ethernet/intel/igbvf/
H A DMakefile9 igbvf-objs := vf.o \
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.h26 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate,
28 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
29 int ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf,
31 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting);
33 int vf, struct ifla_vf_info *ivi);
34 int ixgbe_ndo_set_vf_link_state(struct net_device *netdev, int vf, int state);
36 void ixgbe_set_vf_link_state(struct ixgbe_adapter *adapter, int vf, int state);
44 u16 vid, u16 qos, u32 vf)
49 IXGBE_WRITE_REG(hw, IXGBE_VMVIR(vf), vmvir);
43 ixgbe_set_vmvir(struct ixgbe_adapter *adapter, u16 vid, u16 qos, u32 vf) argument
H A Dixgbe_sriov.c43 mv_list[i].vf = -1;
121 * ixgbe_get_vfs - Find and take references to all vf devices
129 int vf = 0; local
144 if (vf >= adapter->num_vfs)
147 adapter->vfinfo[vf].vfdev = vfdev;
148 ++vf;
208 unsigned int num_vfs = adapter->num_vfs, vf; local
217 /* put the reference to all of the vf devices */
218 for (vf = 0; vf < num_vf
363 ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
441 ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, u32 vf) argument
474 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) argument
559 ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) argument
570 ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) argument
577 ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) argument
638 ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter, int vf, int index, unsigned char *mac_addr) argument
694 ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) argument
763 ixgbe_vf_clear_mbx(struct ixgbe_adapter *adapter, u32 vf) argument
775 ixgbe_set_vf_mac(struct ixgbe_adapter *adapter, int vf, unsigned char *mac_addr) argument
804 ixgbe_write_qde(struct ixgbe_adapter *adapter, u32 vf, u32 qde) argument
832 ixgbe_set_vf_rx_tx(struct ixgbe_adapter *adapter, int vf) argument
876 ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) argument
946 ixgbe_set_vf_mac_addr(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
968 ixgbe_set_vf_vlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
990 ixgbe_set_vf_macvlan_msg(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1033 ixgbe_negotiate_vf_api(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1055 ixgbe_get_vf_queues(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1097 ixgbe_get_vf_reta(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1132 ixgbe_get_vf_rss_key(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1156 ixgbe_update_vf_xcast_mode(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1232 ixgbe_get_vf_link_state(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) argument
1252 ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) argument
1345 ixgbe_rcv_ack_from_vf(struct ixgbe_adapter *adapter, u32 vf) argument
1359 u32 vf; local
1378 ixgbe_ping_vf(struct ixgbe_adapter *adapter, int vf) argument
1418 ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
1466 ixgbe_enable_port_vlan(struct ixgbe_adapter *adapter, int vf, u16 vlan, u8 qos) argument
1502 ixgbe_disable_port_vlan(struct ixgbe_adapter *adapter, int vf) argument
1524 ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument
1569 ixgbe_set_vf_rate_limit(struct ixgbe_adapter *adapter, int vf) argument
1643 ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) argument
1679 ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting) argument
1723 ixgbe_set_vf_link_state(struct ixgbe_adapter *adapter, int vf, int state) argument
1757 ixgbe_ndo_set_vf_link_state(struct net_device *netdev, int vf, int state) argument
1793 ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, bool setting) argument
1813 ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting) argument
1835 ixgbe_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c743 struct qlcnic_vf_info *vf = trans->vf; local
744 struct qlcnic_vport *vp = vf->vp;
747 u16 func = vf->pci_func;
751 adapter = vf->adapter;
763 size = sizeof(*vf->sriov_vlans);
765 memset(vf->sriov_vlans, 0, size);
777 set_bit(QLC_BC_VF_STATE, &vf->state);
779 clear_bit(QLC_BC_VF_STATE, &vf->state);
789 struct qlcnic_vf_info *vf,
788 qlcnic_sriov_cfg_vf_def_mac(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, u16 vlan, u8 op) argument
855 qlcnic_83xx_cfg_default_mac_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, int opcode) argument
887 struct qlcnic_vf_info *vf = tran->vf; local
915 struct qlcnic_vf_info *vf = trans->vf; local
947 struct qlcnic_vf_info *vf = trans->vf; local
970 qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
985 struct qlcnic_vf_info *vf = trans->vf; local
1005 qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1020 struct qlcnic_vf_info *vf = trans->vf; local
1039 qlcnic_sriov_validate_cfg_lro(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1051 struct qlcnic_vf_info *vf = trans->vf; local
1068 struct qlcnic_vf_info *vf = trans->vf; local
1079 qlcnic_sriov_validate_cfg_intrpt(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1097 struct qlcnic_vf_info *vf = trans->vf; local
1110 qlcnic_sriov_validate_mtu(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1126 struct qlcnic_vf_info *vf = trans->vf; local
1139 qlcnic_sriov_validate_get_nic_info(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1155 struct qlcnic_vf_info *vf = trans->vf; local
1169 qlcnic_sriov_validate_cfg_rss(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1181 struct qlcnic_vf_info *vf = trans->vf; local
1194 qlcnic_sriov_validate_cfg_intrcoal(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1240 struct qlcnic_vf_info *vf = tran->vf; local
1254 qlcnic_sriov_validate_cfg_macvlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1282 struct qlcnic_vf_info *vf = trans->vf; local
1296 qlcnic_sriov_validate_linkevent(struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1308 struct qlcnic_vf_info *vf = trans->vf; local
1325 struct qlcnic_vf_info *vf = trans->vf; local
1338 struct qlcnic_vf_info *vf = trans->vf; local
1368 qlcnic_sriov_pf_del_guest_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1393 qlcnic_sriov_pf_add_guest_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf, struct qlcnic_cmd_args *cmd) argument
1434 struct qlcnic_vf_info *vf = tran->vf; local
1595 qlcnic_sriov_del_rx_ctx(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf) argument
1621 qlcnic_sriov_del_tx_ctx(struct qlcnic_adapter *adapter, struct qlcnic_vf_info *vf) argument
1647 qlcnic_sriov_add_act_list_irqsave(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, struct qlcnic_bc_trans *trans) argument
1662 __qlcnic_sriov_process_flr(struct qlcnic_vf_info *vf) argument
1688 struct qlcnic_vf_info *vf; local
1695 qlcnic_sriov_schedule_flr(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, work_func_t func) argument
1706 qlcnic_sriov_handle_soft_flr(struct qlcnic_adapter *adapter, struct qlcnic_bc_trans *trans, struct qlcnic_vf_info *vf) argument
1721 qlcnic_sriov_soft_flr_check(struct qlcnic_adapter *adapter, struct qlcnic_bc_trans *trans, struct qlcnic_vf_info *vf) argument
1737 qlcnic_sriov_pf_handle_flr(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf) argument
1766 struct qlcnic_vf_info *vf; local
1802 qlcnic_sriov_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
1849 qlcnic_sriov_set_vf_tx_rate(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) argument
1912 qlcnic_sriov_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument
1968 qlcnic_sriov_get_vf_vlan(struct qlcnic_adapter *adapter, struct qlcnic_vport *vp, int vf) argument
1991 qlcnic_sriov_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
2022 qlcnic_sriov_set_vf_spoofchk(struct net_device *netdev, int vf, bool chk) argument
[all...]
/linux-master/arch/arm/boot/dts/nxp/
H A DMakefile6 subdir-y += vf
/linux-master/scripts/dtc/include-prefixes/arm/nxp/
H A DMakefile6 subdir-y += vf
/linux-master/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) argument
32 if (vf < 0 || vf >= app->pf->num_vfs) {
34 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf);
42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) argument
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM);
64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
70 err = nfp_net_sriov_check(app, vf, NFP_NET_VF_CFG_MB_CAP_MAC, "mac", true);
77 mac, vf);
82 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_S
96 nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument
147 nfp_app_set_vf_rate(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) argument
178 nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) argument
202 nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) argument
226 nfp_app_set_vf_link_state(struct net_device *netdev, int vf, int link_state) argument
260 nfp_app_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
[all...]

Completed in 762 milliseconds

12345678910