Searched refs:vf (Results 26 - 50 of 248) sorted by relevance

12345678910

/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...]
H A Dnfp_net_sriov.h59 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac);
60 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos,
62 int nfp_app_set_vf_rate(struct net_device *netdev, int vf, int min_tx_rate,
64 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
65 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool setting);
66 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf,
68 int nfp_app_get_vf_config(struct net_device *netdev, int vf,
H A Dnfp_netvf_main.c86 struct nfp_net_vf *vf; local
96 vf = kzalloc(sizeof(*vf), GFP_KERNEL);
97 if (!vf)
99 pci_set_drvdata(pdev, vf);
197 vf->nn = nn;
219 vf->q_bar = ioremap(map_addr, bar_sz);
220 if (!vf->q_bar) {
227 nn->tx_bar = vf->q_bar + (tx_bar_off - bar_off);
229 nn->rx_bar = vf
301 struct nfp_net_vf *vf; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_fdir.c76 * @vf: pointer to the VF structure
84 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) argument
86 struct ice_pf *pf = vf->pf;
91 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states))
94 if (!(vf->driver_caps & VIRTCHNL_VF_OFFLOAD_FDIR_PF))
97 if (!ice_vc_isvalid_vsi_id(vf, vsi_id))
100 if (!ice_get_vf_vsi(vf))
108 * @vf: pointer to the VF structure
114 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) argument
116 struct ice_pf *pf = vf
158 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) argument
188 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) argument
206 ice_vc_fdir_free_prof_all(struct ice_vf *vf) argument
274 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, struct virtchnl_fdir_fltr_conf *conf, struct ice_flow_seg_info *seg) argument
318 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf, struct ice_flow_seg_info *seg) argument
463 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) argument
515 ice_vc_fdir_rem_prof_all(struct ice_vf *vf) argument
551 ice_vc_fdir_has_prof_conflict(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf) argument
619 ice_vc_fdir_write_flow_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, struct ice_flow_seg_info *seg, int tun) argument
732 ice_vc_fdir_config_input_set(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, struct virtchnl_fdir_fltr_conf *conf, int tun) argument
798 ice_vc_fdir_parse_pattern(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, struct virtchnl_fdir_fltr_conf *conf) argument
1022 ice_vc_fdir_parse_action(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, struct virtchnl_fdir_fltr_conf *conf) argument
1096 ice_vc_validate_fdir_fltr(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, struct virtchnl_fdir_fltr_conf *conf) argument
1160 ice_vc_fdir_is_dup_fltr(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf) argument
1188 ice_vc_fdir_insert_entry(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf, u32 *id) argument
1212 ice_vc_fdir_remove_entry(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf, u32 id) argument
1229 ice_vc_fdir_lookup_entry(struct ice_vf *vf, u32 id) argument
1238 ice_vc_fdir_flush_entry(struct ice_vf *vf) argument
1260 ice_vc_fdir_write_fltr(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf, bool add, bool is_tun) argument
1324 struct ice_vf *vf; local
1360 struct ice_vf *vf = ctrl_vsi->vf; local
1403 ice_vf_fdir_dump_info(struct ice_vf *vf) argument
1455 ice_vf_verify_rx_desc(struct ice_vf *vf, struct ice_vf_fdir_ctx *ctx, enum virtchnl_fdir_prgm_status *status) argument
1536 ice_vc_add_fdir_fltr_post(struct ice_vf *vf, struct ice_vf_fdir_ctx *ctx, enum virtchnl_fdir_prgm_status status, bool success) argument
1600 ice_vc_del_fdir_fltr_post(struct ice_vf *vf, struct ice_vf_fdir_ctx *ctx, enum virtchnl_fdir_prgm_status status, bool success) argument
1659 struct ice_vf *vf; local
1734 ice_vc_fdir_set_irq_ctx(struct ice_vf *vf, struct virtchnl_fdir_fltr_conf *conf, enum virtchnl_ops v_opcode) argument
1769 ice_vc_fdir_clear_irq_ctx(struct ice_vf *vf) argument
1787 ice_vc_add_fdir_fltr(struct ice_vf *vf, u8 *msg) argument
1915 ice_vc_del_fdir_fltr(struct ice_vf *vf, u8 *msg) argument
1996 ice_vf_fdir_init(struct ice_vf *vf) argument
2013 ice_vf_fdir_exit(struct ice_vf *vf) argument
[all...]
H A Dice_virtchnl.c181 struct ice_vf *vf; local
185 ice_for_each_vf(pf, bkt, vf) {
187 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states) &&
188 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states))
194 ice_aq_send_msg_to_vf(hw, vf->vf_id, v_opcode, v_retval, msg,
202 * @vf: pointer to the VF structure
208 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, argument
211 if (vf->driver_caps & VIRTCHNL_VF_CAP_ADV_LINK_SPEED) {
227 * @vf: pointer to the VF structure
231 void ice_vc_notify_vf_link_state(struct ice_vf *vf) argument
256 struct ice_vf *vf; 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) argument
324 ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) argument
349 ice_vc_get_max_frame_size(struct ice_vf *vf) argument
372 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, u32 driver_caps) argument
417 ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) argument
533 ice_vc_reset_vf_msg(struct ice_vf *vf) argument
546 ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) argument
589 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto) argument
766 ice_vc_handle_rss_cfg(struct ice_vf *vf, u8 *msg, bool add) argument
902 ice_vc_config_rss_key(struct ice_vf *vf, u8 *msg) argument
949 ice_vc_config_rss_lut(struct ice_vf *vf, u8 *msg) argument
995 ice_vc_config_rss_hfunc(struct ice_vf *vf, u8 *msg) argument
1040 ice_vc_cfg_promiscuous_mode_msg(struct ice_vf *vf, u8 *msg) argument
1180 ice_vc_get_stats_msg(struct ice_vf *vf, u8 *msg) argument
1283 ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) argument
1375 ice_vf_vsi_dis_single_txq(struct ice_vf *vf, struct ice_vsi *vsi, u16 q_id) argument
1411 ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) argument
1513 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_vector_map *map, struct ice_q_vector *q_vector) argument
1563 ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) argument
1641 ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg) argument
1825 ice_can_vf_change_mac(struct ice_vf *vf) argument
1880 ice_vfhw_mac_add(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) argument
1918 ice_vc_add_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_ether_addr *vc_ether_addr) argument
1974 ice_update_legacy_cached_mac(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) argument
1991 ice_vfhw_mac_del(struct ice_vf *vf, struct virtchnl_ether_addr *vc_ether_addr) argument
2016 ice_vc_del_mac_addr(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_ether_addr *vc_ether_addr) argument
2054 ice_vc_handle_mac_addr_msg(struct ice_vf *vf, u8 *msg, bool set) argument
2128 ice_vc_add_mac_addr_msg(struct ice_vf *vf, u8 *msg) argument
2140 ice_vc_del_mac_addr_msg(struct ice_vf *vf, u8 *msg) argument
2155 ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg) argument
2220 ice_is_vlan_promisc_allowed(struct ice_vf *vf) argument
2283 ice_vf_has_max_vlans(struct ice_vf *vf, struct ice_vsi *vsi) argument
2301 ice_vc_process_vlan_msg(struct ice_vf *vf, u8 *msg, bool add_v) argument
2481 ice_vc_add_vlan_msg(struct ice_vf *vf, u8 *msg) argument
2493 ice_vc_remove_vlan_msg(struct ice_vf *vf, u8 *msg) argument
2519 ice_vc_ena_vlan_stripping(struct ice_vf *vf) argument
2556 ice_vc_dis_vlan_stripping(struct ice_vf *vf) argument
2591 ice_vc_get_rss_hena(struct ice_vf *vf) argument
2630 ice_vc_set_rss_hena(struct ice_vf *vf, u8 *msg) argument
2696 ice_vc_query_rxdid(struct ice_vf *vf) argument
2754 ice_vf_init_vlan_stripping(struct ice_vf *vf) argument
2781 ice_vc_get_max_vlan_fltrs(struct ice_vf *vf) argument
2796 ice_vf_outer_vlan_not_allowed(struct ice_vf *vf) argument
2815 ice_vc_set_dvm_caps(struct ice_vf *vf, struct virtchnl_vlan_caps *caps) argument
2896 ice_vc_set_svm_caps(struct ice_vf *vf, struct virtchnl_vlan_caps *caps) argument
2951 ice_vc_get_offload_vlan_v2_caps(struct ice_vf *vf) argument
3125 ice_vc_del_vlans(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_vlan_filter_list_v2 *vfl) argument
3192 ice_vc_remove_vlan_v2_msg(struct ice_vf *vf, u8 *msg) argument
3231 ice_vc_add_vlans(struct ice_vf *vf, struct ice_vsi *vsi, struct virtchnl_vlan_filter_list_v2 *vfl) argument
3328 ice_vc_add_vlan_v2_msg(struct ice_vf *vf, u8 *msg) argument
3521 ice_vc_ena_vlan_stripping_v2_msg(struct ice_vf *vf, u8 *msg) argument
3605 ice_vc_dis_vlan_stripping_v2_msg(struct ice_vf *vf, u8 *msg) argument
3680 ice_vc_ena_vlan_insertion_v2_msg(struct ice_vf *vf, u8 *msg) argument
3739 ice_vc_dis_vlan_insertion_v2_msg(struct ice_vf *vf, u8 *msg) argument
3826 ice_virtchnl_set_dflt_ops(struct ice_vf *vf) argument
3840 ice_vc_repr_add_mac(struct ice_vf *vf, u8 *msg) argument
3895 ice_vc_repr_del_mac(struct ice_vf __always_unused *vf, u8 __always_unused *msg) argument
3907 ice_vc_repr_cfg_promiscuous_mode(struct ice_vf *vf, u8 __always_unused *msg) argument
3956 ice_virtchnl_set_repr_ops(struct ice_vf *vf) argument
3970 ice_is_malicious_vf(struct ice_vf *vf, struct ice_mbx_data *mbxdata) argument
4019 struct ice_vf *vf = NULL; local
[all...]
H A Dice_virtchnl_fdir.h43 int ice_vc_add_fdir_fltr(struct ice_vf *vf, u8 *msg);
44 int ice_vc_del_fdir_fltr(struct ice_vf *vf, u8 *msg);
45 void ice_vf_fdir_init(struct ice_vf *vf);
46 void ice_vf_fdir_exit(struct ice_vf *vf);
H A Dice_vf_vsi_vlan_ops.c100 if (WARN_ON_ONCE(!vsi->vf))
115 if (WARN_ON_ONCE(!vsi->vf))
134 struct ice_vf *vf = vsi->vf; local
136 if (WARN_ON(!vf))
139 if (ice_vf_is_port_vlan_ena(vf))
168 struct ice_vf *vf = vsi->vf; local
171 if (WARN_ON(!vf))
174 dev = ice_pf_to_dev(vf
238 struct ice_vf *vf = vsi->vf; local
[all...]
H A Dice_repr.c65 if (ice_is_vf_disabled(np->repr->vf))
108 struct ice_vf *vf; local
110 vf = repr->vf;
111 vf->link_forced = true;
112 vf->link_up = true;
113 ice_vc_notify_vf_link_state(vf);
134 struct ice_vf *vf; local
136 vf = repr->vf;
375 ice_repr_add_vf(struct ice_vf *vf) argument
[all...]
H A Dice_eswitch.h10 void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf);
12 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf);
32 static inline void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf) { } argument
35 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c28 struct bnxt_vf_info *vf, u16 event_id)
38 if (vf)
39 req->encap_async_event_target_id = cpu_to_le16(vf->fw_fid);
59 netdev_err(bp->dev, "vf ndo called though sriov is disabled\n");
74 struct bnxt_vf_info *vf; local
85 vf = &bp->pf.vf[vf_id];
86 if (vf->flags & BNXT_VF_SPOOFCHK)
100 req->fid = cpu_to_le16(vf->fw_fid);
105 vf
27 bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, struct bnxt_vf_info *vf, u16 event_id) argument
113 bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) argument
132 bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) argument
141 bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) argument
164 struct bnxt_vf_info *vf; local
183 struct bnxt_vf_info *vf; local
220 struct bnxt_vf_info *vf; local
252 struct bnxt_vf_info *vf; local
294 struct bnxt_vf_info *vf; local
336 struct bnxt_vf_info *vf; local
370 struct bnxt_vf_info *vf; local
448 struct bnxt_vf_info *vf = &bp->pf.vf[k]; local
491 struct bnxt_vf_info *vf; local
946 bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, void *encap_resp, __le64 encap_resp_addr, __le16 encap_resp_cpr, u32 msg_size) argument
973 bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, u32 msg_size) argument
996 bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, u32 msg_size) argument
1019 bnxt_vf_configure_mac(struct bnxt *bp, struct bnxt_vf_info *vf) argument
1042 bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf) argument
1079 bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf) argument
1133 bnxt_vf_req_validate_snd(struct bnxt *bp, struct bnxt_vf_info *vf) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c40 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf, u16 func_id) argument
47 if (sriov->vfs_ctx[vf].node_guid ||
48 sriov->vfs_ctx[vf].port_guid ||
49 sriov->vfs_ctx[vf].policy != MLX5_POLICY_INVALID) {
54 in->node_guid = sriov->vfs_ctx[vf].node_guid;
55 in->port_guid = sriov->vfs_ctx[vf].port_guid;
56 in->policy = sriov->vfs_ctx[vf].policy;
64 mlx5_core_warn(dev, "modify vport context failed, unable to restore VF %d settings\n", vf);
75 int err, vf, num_msix_count; local
86 for (vf
132 int vf; local
231 mlx5_core_sriov_set_msix_vec_count(struct pci_dev *vf, int msix_vec_count) argument
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Def10_sriov.c118 if (!nic_data->vf)
122 struct ef10_vf *vf = nic_data->vf + i; local
125 if (vf->pci_dev && pci_is_dev_assigned(vf->pci_dev))
128 if (vf->vport_assigned) {
130 vf->vport_assigned = 0;
133 if (!is_zero_ether_addr(vf->mac)) {
134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf
160 struct ef10_vf *vf = nic_data->vf + vf_i; local
490 struct ef10_vf *vf; local
557 struct ef10_vf *vf; local
773 struct ef10_vf *vf; local
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A DMakefile9 ixgbevf-objs := vf.o \
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_api.h12 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf,
/linux-master/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, argument
86 u32 func_encode = vf->abs_vfid;
112 struct bnx2x_virtf *vf,
115 if (!bnx2x_leading_vfq(vf, sp_initialized)) {
126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, argument
133 vf->abs_vfid,
142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, argument
151 vf->abs_vfid,
167 struct bnx2x_virtf *vf,
111 bnx2x_validate_vf_sp_objs(struct bnx2x *bp, struct bnx2x_virtf *vf, bool print_err) 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) argument
234 bnx2x_vf_queue_create(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) argument
274 bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument
318 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); local
334 bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, bool drv_only, int type) 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) 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) argument
473 bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) argument
493 bnx2x_vf_queue_flr(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument
537 bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, bnx2x_mac_addr_t *mcasts, int mc_num, bool drv_only) 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) argument
612 bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, unsigned long accept_flags) argument
625 bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument
715 bnx2x_vf_igu_reset(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
785 bnx2x_vf_enable_traffic(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
798 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); local
827 bnx2x_iov_static_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
846 bnx2x_vf_free_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
853 bnx2x_vf_flr_clnup_hw(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
873 bnx2x_vf_flr(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
909 struct bnx2x_virtf *vf; local
969 struct bnx2x_virtf *vf = BP_VF(bp, i); local
1061 bnx2x_vf_set_bars(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1414 bnx2x_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument
1454 struct bnx2x_virtf *vf; local
1516 struct bnx2x_virtf *vf = BP_VF(bp, idx); local
1557 struct bnx2x_virtf *vf = BP_VF(bp, vfid); local
1610 struct bnx2x_virtf *vf = BP_VF(bp, vfid); local
1702 bnx2x_vf_handle_mcast_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1721 bnx2x_vf_handle_filters_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1729 bnx2x_vf_handle_rss_update_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1737 struct bnx2x_virtf *vf; local
1851 struct bnx2x_virtf *vf; local
1899 struct bnx2x_virtf *vf = BP_VF(bp, i); local
1964 bnx2x_vf_clr_qtbl(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1973 bnx2x_vf_igu_disable(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1986 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1993 bnx2x_vf_chk_avail_resc(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *req_resc) argument
2007 bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *resc) argument
2092 bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf, dma_addr_t *sb_map) argument
2144 struct bnx2x_virtf *vf; member in struct:set_vf_state_cookie
2155 bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
2202 bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
2235 bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_config_rss_params *rss) 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) argument
2282 bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
2298 bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs tlv) argument
2318 bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs expected_tlv) argument
2464 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); local
2495 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); local
2560 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) argument
2609 struct bnx2x_virtf *vf = NULL; local
2687 struct bnx2x_virtf *vf = NULL; local
2763 bnx2x_set_vf_vlan_acceptance(struct bnx2x *bp, struct bnx2x_virtf *vf, bool accept) argument
2782 bnx2x_set_vf_vlan_filter(struct bnx2x *bp, struct bnx2x_virtf *vf, u16 vlan, bool add) argument
2814 struct bnx2x_virtf *vf = NULL; local
2953 struct bnx2x_virtf *vf; local
[all...]
H A Dbnx2x_sriov.h71 /* vf queue (used both for rx or tx) */
127 /* vf context */
166 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs)
167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs)
168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs)
169 #define vf_mac_rules_cnt(vf) ((vf)
369 vfq_get(struct bnx2x_virtf *vf, u8 index) argument
375 vf_igu_sb(struct bnx2x_virtf *vf, u16 sb_idx) argument
380 vf_hc_qzone(struct bnx2x_virtf *vf, u16 sb_idx) argument
385 vfq_cl_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument
390 vfq_stat_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument
398 vfq_qzone_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument
624 bnx2x_set_vf_link_state(struct net_device *dev, int vf, int link_state) argument
[all...]
H A Dbnx2x_vfpf.c45 DP(BNX2X_MSG_IOV, "preparing to send %d tlv over vf pf channel\n",
62 DP(BNX2X_MSG_IOV, "done sending [%d] tlv over vf pf channel\n",
200 /* pxp traps vf read of doorbells and returns me reg value */
252 /* pf 2 vf bulletin board address */
427 DP(BNX2X_MSG_SP, "vf released\n");
544 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, argument
547 u8 cl_id = vfq_cl_id(vf, q);
548 u8 func_id = FW_VF_HANDLE(vf->abs_vfid);
553 bnx2x_vf_sp(bp, vf, mac_rdata),
554 bnx2x_vf_sp_map(bp, vf, mac_rdat
1125 bnx2x_vf_mbx_resp_single_tlv(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1141 bnx2x_vf_mbx_resp_send_msg(struct bnx2x *bp, struct bnx2x_virtf *vf, int vf_rc) argument
1205 bnx2x_vf_mbx_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, int rc) argument
1213 bnx2x_vf_mbx_resp_phys_port(struct bnx2x *bp, struct bnx2x_virtf *vf, void *buffer, u16 *offset) argument
1236 bnx2x_vf_mbx_resp_fp_hsi_ver(struct bnx2x *bp, struct bnx2x_virtf *vf, void *buffer, u16 *offset) argument
1256 bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx, int vfop_status) argument
1381 bnx2x_vf_mbx_acquire_chk_dorq(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1399 bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1469 bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1520 bnx2x_vf_mbx_setup_q(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1648 bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *tlv, struct bnx2x_vf_mac_vlan_filters **pfl, u32 type_flag) argument
1733 bnx2x_vf_mbx_qfilters(struct bnx2x *bp, struct bnx2x_virtf *vf) argument
1839 bnx2x_filters_validate_mac(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *filters) argument
1889 bnx2x_filters_validate_vlan(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *filters) argument
1919 bnx2x_vf_mbx_set_q_filters(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1946 bnx2x_vf_mbx_teardown_q(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1959 bnx2x_vf_mbx_close_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1970 bnx2x_vf_mbx_release_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
1981 bnx2x_vf_mbx_update_rss(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
2065 bnx2x_vf_mbx_update_tpa(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
2107 bnx2x_vf_mbx_request(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument
2242 struct bnx2x_virtf *vf = BP_VF(bp, vf_idx); local
2290 bnx2x_post_vf_bulletin(struct bnx2x *bp, int vf) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dib_virt.c50 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u32 port, argument
62 err = mlx5_query_hca_vport_context(mdev, 1, 1, vf + 1, rep);
64 mlx5_ib_warn(dev, "failed to query port policy for vf %d (%d)\n",
65 vf, err);
92 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, argument
111 err = mlx5_core_modify_hca_vport_context(mdev, 1, 1, vf + 1, in);
113 vfs_ctx[vf].policy = in->policy;
120 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, argument
136 err = mlx5_core_query_vport_counter(mdev, true, vf, port, out);
151 static int set_vf_node_guid(struct ib_device *device, int vf, u3 argument
175 set_vf_port_guid(struct ib_device *device, int vf, u32 port, u64 guid) argument
199 mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u32 port, u64 guid, int type) argument
210 mlx5_ib_get_vf_guid(struct ib_device *device, int vf, u32 port, struct ifla_vf_guid *node_guid, struct ifla_vf_guid *port_guid) argument
[all...]
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h79 int hinic_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac);
81 int hinic_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos,
85 int vf, struct ifla_vf_info *ivi);
87 int hinic_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting);
90 int vf, int min_tx_rate, int max_tx_rate);
92 int hinic_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) argument
121 nic_reg_write(nic, NIC_PF_MAILBOX_INT + (mbx_reg << 3), BIT_ULL(vf));
124 static u64 nic_get_mbx_addr(int vf) argument
126 return NIC_PF_VF_0_127_MAILBOX_0_1 + (vf << NIC_VF_NUM_SHIFT);
130 * @vf: vf to which this message to be sent
133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) argument
135 void __iomem *mbx_addr = nic->reg_base + nic_get_mbx_addr(vf);
156 * @vf: VF which sent READY message
158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) argument
188 nic_mbx_send_ack(struct nicpf *nic, int vf) argument
200 nic_mbx_send_nack(struct nicpf *nic, int vf) argument
253 nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) argument
550 nic_send_rss_size(struct nicpf *nic, int vf) argument
785 nic_reset_stat_counters(struct nicpf *nic, int vf, struct reset_stat_cfg *cfg) argument
827 nic_enable_tunnel_parsing(struct nicpf *nic, int vf) argument
846 nic_enable_vf(struct nicpf *nic, int vf, bool enable) argument
861 nic_pause_frame(struct nicpf *nic, int vf, struct pfc *cfg) argument
886 nic_config_timestamp(struct nicpf *nic, int vf, struct set_ptp *ptp) argument
927 nic_link_status_get(struct nicpf *nic, u8 vf) argument
953 nic_handle_mbx_intr(struct nicpf *nic, int vf) argument
1151 u8 vf; local
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-radio-common.h23 int vivid_radio_g_frequency(struct file *file, const unsigned *freq, struct v4l2_frequency *vf);
24 int vivid_radio_s_frequency(struct file *file, unsigned *freq, const struct v4l2_frequency *vf);
/linux-master/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.h15 int ice_devlink_create_vf_port(struct ice_vf *vf);
16 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
/linux-master/scripts/
H A Dcheck-variable-fonts.sh35 # - Create $HOME/deny-vf/fontconfig/fonts.conf from template below, with
53 # <glob>/usr/share/fonts/google-noto-*-cjk-vf-fonts</glob>
91 : ${FONTS_CONF_DENY_VF:=$HOME/deny-vf}
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c95 us_ibdev = qp_grp->vf->pf;
96 pdev = usnic_vnic_get_pdev(qp_grp->vf->vnic);
103 bar = usnic_vnic_get_bar(qp_grp->vf->vnic, 0);
105 usnic_err("Failed to get bar0 of qp_grp %d vf %s",
110 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic);
177 struct usnic_ib_vf *vf; local
191 /* Try to find resouces on a used vf which is in pd */
197 vf = dev_get_drvdata(dev);
198 mutex_lock(&vf->lock);
199 vnic = vf
251 struct usnic_ib_vf *vf = qp_grp->vf; local
390 struct usnic_ib_vf *vf; local
530 struct usnic_ib_vf *vf; local
666 struct usnic_ib_vf *vf; local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.h49 int efx_siena_sriov_set_vf_mac(struct efx_nic *efx, int vf, const u8 *mac);
50 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
52 int efx_siena_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf,
54 int efx_siena_sriov_get_vf_config(struct efx_nic *efx, int vf,

Completed in 501 milliseconds

12345678910