/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_virtchnl_pf.c | 1560 struct ice_vf *vf; in ice_reset_all_vfs() local 2245 struct ice_vf *vf; in ice_vf_lan_overflow_event() local 2925 struct ice_vf *vf; in ice_set_vf_spoofchk() local 4116 struct ice_vf *vf; in ice_set_vf_port_vlan() local 4812 struct ice_vf *vf; in ice_get_vf_cfg() local 4886 struct ice_vf *vf; in ice_set_vf_mac() local 4948 struct ice_vf *vf; in ice_set_vf_trust() local 4991 struct ice_vf *vf; in ice_set_vf_link_state() local 5083 struct ice_vf *vf; in ice_set_vf_bw() local 5151 struct ice_vf *vf; in ice_get_vf_stats() local [all …]
|
A D | ice_virtchnl_fdir.c | 320 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() 524 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, in ice_vc_fdir_set_flow_hdr() 947 ice_vc_fdir_get_pattern(struct ice_vf *vf, int *len) in ice_vc_fdir_get_pattern() 1391 ice_vc_fdir_insert_entry(struct ice_vf *vf, in ice_vc_fdir_insert_entry() 1415 ice_vc_fdir_remove_entry(struct ice_vf *vf, in ice_vc_fdir_remove_entry() 1432 ice_vc_fdir_lookup_entry(struct ice_vf *vf, u32 id) in ice_vc_fdir_lookup_entry() 1529 struct ice_vf *vf; in ice_vf_fdir_timer() local 1570 struct ice_vf *vf; in ice_vc_fdir_irq_handler() local 1856 struct ice_vf *vf = &pf->vf[i]; in ice_flush_fdir_ctx() local 2182 void ice_vf_fdir_init(struct ice_vf *vf) in ice_vf_fdir_init() [all …]
|
A D | ice_virtchnl_allowlist.c | 101 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed() 118 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes() 130 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist() 139 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist() 153 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist() 163 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
|
A D | ice_repr.c | 98 struct ice_vf *vf; in ice_repr_open() local 124 struct ice_vf *vf; in ice_repr_stop() local 236 static int ice_repr_add(struct ice_vf *vf) in ice_repr_add() 299 static void ice_repr_rem(struct ice_vf *vf) in ice_repr_rem() 321 struct ice_vf *vf = &pf->vf[i]; in ice_repr_add_for_all_vfs() local 334 struct ice_vf *vf = &pf->vf[i]; in ice_repr_add_for_all_vfs() local 352 struct ice_vf *vf = &pf->vf[i]; in ice_repr_rem_from_all_vfs() local
|
/linux/drivers/vdpa/ifcvf/ |
A D | ifcvf_main.c | 22 struct ifcvf_hw *vf = arg; in ifcvf_config_changed() local 48 struct ifcvf_hw *vf = &adapter->vf; in ifcvf_free_irq() local 64 struct ifcvf_hw *vf = &adapter->vf; in ifcvf_request_irq() local 175 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_features() local 192 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_features() local 206 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_status() local 214 struct ifcvf_hw *vf; in ifcvf_vdpa_set_status() local 247 struct ifcvf_hw *vf; in ifcvf_vdpa_reset() local 275 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_vq_state() local 284 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_vq_state() local [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_vf.c | 37 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, in otx2vf_process_vfaf_mbox_msg() 156 struct otx2_nic *vf; in otx2vf_vfaf_mbox_up_handler() local 181 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; in otx2vf_vfaf_mbox_intr_handler() local 293 static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf) in otx2vf_vfaf_mbox_init() 355 struct otx2_nic *vf; in otx2vf_open() local 380 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() local 405 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_set_rx_mode() local 477 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_set_features() local 507 static int otx2_wq_init(struct otx2_nic *vf) in otx2_wq_init() 543 struct otx2_nic *vf; in otx2vf_probe() local [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_virtchnl_pf.c | 24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local 1559 struct i40e_vf *vf; in i40e_reset_all_vfs() local 3918 struct i40e_vf *vf; in i40e_vc_process_vf_msg() local 4053 struct i40e_vf *vf; in i40e_vc_process_vflr_event() local 4096 struct i40e_vf *vf; in i40e_validate_vf() local 4127 struct i40e_vf *vf; in i40e_ndo_set_vf_mac() local 4234 struct i40e_vf *vf; in i40e_ndo_set_vf_port_vlan() local 4388 struct i40e_vf *vf; in i40e_ndo_set_vf_bw() local 4441 struct i40e_vf *vf; in i40e_ndo_get_vf_config() local 4501 struct i40e_vf *vf; in i40e_ndo_set_vf_link_state() local [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sriov.c | 112 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs() 167 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep() 589 struct bnx2x_virtf *vf, in bnx2x_vf_prep_rx_mode() 896 struct bnx2x_virtf *vf; in bnx2x_vf_flr_clnup() local 1441 struct bnx2x_virtf *vf; in bnx2x_iov_link_update_vf() local 1709 struct bnx2x_virtf *vf) in bnx2x_vf_handle_filters_eqe() 1717 struct bnx2x_virtf *vf) in bnx2x_vf_handle_rss_update_eqe() 1724 struct bnx2x_virtf *vf; in bnx2x_iov_eq_sp_event() local 1838 struct bnx2x_virtf *vf; in bnx2x_iov_set_queue_sp_obj() local 2131 struct bnx2x_virtf *vf; member [all …]
|
A D | bnx2x_vfpf.c | 1123 struct bnx2x_virtf *vf) in bnx2x_vf_mbx_resp_single_tlv() 1139 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_send_msg() 1203 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp() 1211 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_phys_port() 1234 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_fp_hsi_ver() 1379 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_chk_dorq() 1646 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_macvlan_list() 1837 struct bnx2x_virtf *vf, in bnx2x_filters_validate_mac() 1887 struct bnx2x_virtf *vf, in bnx2x_filters_validate_vlan() 1917 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_set_q_filters() [all …]
|
A D | bnx2x_sriov.h | 166 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs) argument 167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument 168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument 169 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument 171 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument 179 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument 224 #define for_each_vfq(vf, var) \ argument 227 #define for_each_vf_sb(vf, var) \ argument 230 #define is_vf_multi(vf) (vf_rxq_count(vf) > 1) argument 341 #define BP_VF_BULLETIN(bp, vf) \ argument [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_sriov.c | 127 int vf = 0; in ixgbe_get_vfs() local 359 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 438 u32 vf) in ixgbe_set_vf_vlan() 919 u32 *msgbuf, u32 vf) in ixgbe_set_vf_mac_addr() 941 u32 *msgbuf, u32 vf) in ixgbe_set_vf_vlan_msg() 963 u32 *msgbuf, u32 vf) in ixgbe_set_vf_macvlan_msg() 1007 u32 *msgbuf, u32 vf) in ixgbe_negotiate_vf_api() 1029 u32 *msgbuf, u32 vf) in ixgbe_get_vf_queues() 1106 u32 *msgbuf, u32 vf) in ixgbe_get_vf_rss_key() 1130 u32 *msgbuf, u32 vf) in ixgbe_update_vf_xcast_mode() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sriov_pf.c | 856 struct qlcnic_vf_info *vf, in qlcnic_83xx_cfg_default_mac_vlan() 1111 struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_mtu() 1369 struct qlcnic_vf_info *vf, in qlcnic_sriov_pf_del_guest_vlan() 1394 struct qlcnic_vf_info *vf, in qlcnic_sriov_pf_add_guest_vlan() 1596 struct qlcnic_vf_info *vf) in qlcnic_sriov_del_rx_ctx() 1622 struct qlcnic_vf_info *vf) in qlcnic_sriov_del_tx_ctx() 1688 struct qlcnic_vf_info *vf; in qlcnic_sriov_pf_process_flr() local 1708 struct qlcnic_vf_info *vf) in qlcnic_sriov_handle_soft_flr() 1723 struct qlcnic_vf_info *vf) in qlcnic_sriov_soft_flr_check() 1738 struct qlcnic_vf_info *vf) in qlcnic_sriov_pf_handle_flr() [all …]
|
A D | qlcnic_sriov_common.c | 146 struct qlcnic_vf_info *vf; in qlcnic_sriov_init() local 263 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local 1008 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local 1086 struct qlcnic_vf_info *vf) in qlcnic_sriov_handle_bc_resp() 1118 struct qlcnic_vf_info *vf, in __qlcnic_sriov_add_act_list() 1298 struct qlcnic_vf_info *vf; in qlcnic_sriov_handle_bc_event() local 1501 struct qlcnic_vf_info *vf; in qlcnic_vf_add_mc_list() local 1987 struct qlcnic_vf_info *vf; in qlcnic_sriov_validate_vlan_cfg() local 2054 struct qlcnic_vf_info *vf; in qlcnic_sriov_cfg_vf_guest_vlan() local 2162 struct qlcnic_vf_info *vf; in qlcnic_sriov_alloc_vlans() local [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
A D | otx_cptpf_mbox.c | 74 static void otx_cpt_send_msg_to_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_send_msg_to_vf() 86 static void otx_cpt_mbox_send_ack(struct otx_cpt_device *cpt, int vf, in otx_cpt_mbox_send_ack() 95 static void otx_cptpf_mbox_send_nack(struct otx_cpt_device *cpt, int vf, in otx_cptpf_mbox_send_nack() 103 static void otx_cpt_clear_mbox_intr(struct otx_cpt_device *cpt, u32 vf) in otx_cpt_clear_mbox_intr() 112 static void otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_cfg_qlen_for_vf() 126 static void otx_cpt_cfg_vq_priority(struct otx_cpt_device *cpt, int vf, u32 pri) in otx_cpt_cfg_vq_priority() 178 static void otx_cpt_handle_mbox_intr(struct otx_cpt_device *cpt, int vf) in otx_cpt_handle_mbox_intr() 243 u8 vf; in otx_cpt_mbox_intr_handler() local
|
/linux/drivers/crypto/cavium/cpt/ |
A D | cptpf_mbox.c | 8 static void cpt_send_msg_to_vf(struct cpt_device *cpt, int vf, in cpt_send_msg_to_vf() 20 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, in cpt_mbox_send_ack() 28 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) in cpt_clear_mbox_intr() 37 static void cpt_cfg_qlen_for_vf(struct cpt_device *cpt, int vf, u32 size) in cpt_cfg_qlen_for_vf() 50 static void cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) in cpt_cfg_vq_priority() 86 static void cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) in cpt_handle_mbox_intr() 149 u8 vf; in cpt_mbox_intr_handler() local
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_pp.c | 38 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() 69 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 145 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 189 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 195 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 217 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 256 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 304 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 321 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
|
/linux/drivers/net/ethernet/sfc/ |
A D | siena_sriov.c | 1083 struct siena_vf *vf; in efx_siena_sriov_peer_work() local 1196 struct siena_vf *vf; in efx_siena_sriov_vf_alloc() local 1225 struct siena_vf *vf; in efx_siena_sriov_vfs_fini() local 1246 struct siena_vf *vf; in efx_siena_sriov_vfs_init() local 1370 struct siena_vf *vf; in efx_siena_sriov_fini() local 1405 struct siena_vf *vf; in efx_siena_sriov_event() local 1462 struct siena_vf *vf; in efx_siena_sriov_flr() local 1493 struct siena_vf *vf; in efx_siena_sriov_tx_flush_done() local 1512 struct siena_vf *vf; in efx_siena_sriov_rx_flush_done() local 1537 struct siena_vf *vf; in efx_siena_sriov_desc_fetch_err() local [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_sriov.c | 28 struct bnxt_vf_info *vf, u16 event_id) in bnxt_hwrm_fwd_async_event_cmpl() 74 struct bnxt_vf_info *vf; in bnxt_set_vf_spoofchk() local 164 struct bnxt_vf_info *vf; in bnxt_set_vf_trust() local 183 struct bnxt_vf_info *vf; in bnxt_get_vf_config() local 220 struct bnxt_vf_info *vf; in bnxt_set_vf_mac() local 252 struct bnxt_vf_info *vf; in bnxt_set_vf_vlan() local 294 struct bnxt_vf_info *vf; in bnxt_set_vf_bw() local 336 struct bnxt_vf_info *vf; in bnxt_set_vf_link_state() local 370 struct bnxt_vf_info *vf; in bnxt_set_vf_attr() local 448 struct bnxt_vf_info *vf = &bp->pf.vf[k]; in bnxt_alloc_vf_resources() local [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_sriov.c | 18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg) in nfp_net_sriov_check() 40 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() 62 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac() 94 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan() 125 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_spoofchk() 149 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_trust() 173 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf, in nfp_app_set_vf_link_state() 207 int nfp_app_get_vf_config(struct net_device *netdev, int vf, in nfp_app_get_vf_config()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | ib_virt.c | 51 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_config() 93 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, in mlx5_ib_set_vf_link_state() 121 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, in mlx5_ib_get_vf_stats() 152 static int set_vf_node_guid(struct ib_device *device, int vf, u32 port, in set_vf_node_guid() 176 static int set_vf_port_guid(struct ib_device *device, int vf, u32 port, in set_vf_port_guid() 200 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_set_vf_guid() 211 int mlx5_ib_get_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_guid()
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptpf_mbox.c | 15 struct otx2_cptvf_info *vf, in forward_to_af() 45 struct otx2_cptvf_info *vf, in handle_msg_get_caps() 67 struct otx2_cptvf_info *vf, in handle_msg_get_eng_grp_num() 90 struct otx2_cptvf_info *vf, in handle_msg_kvf_limits() 109 struct otx2_cptvf_info *vf, in cptpf_handle_vf_req() 143 struct otx2_cptvf_info *vf; in otx2_cptpf_vfpf_mbox_intr() local 174 struct otx2_cptvf_info *vf; in otx2_cptpf_vfpf_mbox_handler() local
|
/linux/drivers/net/netdevsim/ |
A D | netdev.c | 82 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac() 95 static int nsim_set_vf_vlan(struct net_device *dev, int vf, in nsim_set_vf_vlan() 111 static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) in nsim_set_vf_rate() 130 static int nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) in nsim_set_vf_spoofchk() 142 static int nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) in nsim_set_vf_rss_query_en() 154 static int nsim_set_vf_trust(struct net_device *dev, int vf, bool val) in nsim_set_vf_trust() 167 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) in nsim_get_vf_config() 190 static int nsim_set_vf_link_state(struct net_device *dev, int vf, int state) in nsim_set_vf_link_state()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nic_main.c | 124 static u64 nic_get_mbx_addr(int vf) in nic_get_mbx_addr() 158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready() 188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack() 200 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack() 550 static void nic_send_rss_size(struct nicpf *nic, int vf) in nic_send_rss_size() 786 int vf, struct reset_stat_cfg *cfg) in nic_reset_stat_counters() 827 static void nic_enable_tunnel_parsing(struct nicpf *nic, int vf) in nic_enable_tunnel_parsing() 846 static void nic_enable_vf(struct nicpf *nic, int vf, bool enable) in nic_enable_vf() 927 static void nic_link_status_get(struct nicpf *nic, u8 vf) in nic_link_status_get() 953 static void nic_handle_mbx_intr(struct nicpf *nic, int vf) in nic_handle_mbx_intr() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_sriov.c | 163 struct qed_vf_info *vf = NULL; in qed_iov_get_vf_info() local 680 struct qed_vf_info *vf; in qed_iov_set_vf_to_disable() local 2494 struct qed_vf_info *vf, in qed_iov_vf_stop_rxqs() 2541 struct qed_vf_info *vf, in qed_iov_vf_stop_txqs() 2933 struct qed_vf_info *vf, in qed_iov_vp_update_sge_tpa_param() 3014 struct qed_vf_info *vf) in qed_iov_vf_mbx_vport_update() 4285 struct qed_vf_info *vf; in qed_iov_spoofchk_set() local 4359 struct qed_vf_info *vf; in qed_iov_configure_tx_rate() local 4380 struct qed_vf_info *vf; in qed_iov_configure_min_tx_rate() local 5049 struct qed_vf_info *vf; in qed_update_mac_for_vf_trust_change() local [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | sriov.c | 40 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf) in sriov_restore_guids() 75 int err, vf, num_msix_count; in mlx5_device_enable_sriov() local 125 int vf; in mlx5_device_disable_sriov() local 191 int mlx5_core_sriov_set_msix_vec_count(struct pci_dev *vf, int msix_vec_count) in mlx5_core_sriov_set_msix_vec_count()
|