/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local 48 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state() 108 void i40e_vc_notify_vf_reset(struct i40e_vf *vf) in i40e_vc_notify_vf_reset() 138 static inline void i40e_vc_disable_vf(struct i40e_vf *vf) in i40e_vc_disable_vf() 167 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() 183 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() 199 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u8 vector_id) in i40e_vc_isvalid_vector_id() 216 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() 245 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid() 277 static void i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, in i40e_config_irq_link_list() [all …]
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb() 114 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs() 128 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx() 144 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx() 169 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep() 234 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create() 273 static int bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_destroy() 317 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); in bnx2x_vf_set_igu_info() local 354 static int bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_vlan_mac_clear() 399 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_mac_vlan_config() [all …]
|
D | bnx2x_vfpf.c | 544 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init() 1126 struct bnx2x_virtf *vf) in bnx2x_vf_mbx_resp_single_tlv() 1142 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_send_msg() 1207 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp() 1215 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_phys_port() 1238 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_fp_hsi_ver() 1257 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp() 1383 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_chk_dorq() 1400 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire() 1470 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf() [all …]
|
D | bnx2x_sriov.h | 163 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs) argument 164 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument 165 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument 166 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument 167 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_filters) argument 168 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument 176 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument 177 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument 221 #define for_each_vfq(vf, var) \ argument 224 #define for_each_vf_sb(vf, var) \ argument [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 127 int vf = 0; in ixgbe_get_vfs() local 206 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local 359 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 438 u32 vf) in ixgbe_set_vf_vlan() 470 static s32 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_set_vf_lpe() 556 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr() 567 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir() 574 static void ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vf_vlans() 636 int vf, int index, unsigned char *mac_addr) in ixgbe_set_vf_macvlan() 693 static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_event() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 742 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_channel_cfg_cmd() local 788 struct qlcnic_vf_info *vf, in qlcnic_sriov_cfg_vf_def_mac() 855 struct qlcnic_vf_info *vf, in qlcnic_83xx_cfg_default_mac_vlan() 886 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_create_rx_ctx_cmd() local 914 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_mac_address_cmd() local 946 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_create_tx_ctx_cmd() local 969 static int qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_rx_ctx() 984 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_rx_ctx_cmd() local 1004 static int qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_tx_ctx() 1019 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_tx_ctx_cmd() local [all …]
|
D | qlcnic_sriov_common.c | 147 struct qlcnic_vf_info *vf; in qlcnic_sriov_init() local 264 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local 822 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans() 848 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd() 891 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_wait_for_channel_free() local 920 static int __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) in __qlcnic_sriov_issue_bc_post() 938 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_issue_bc_post() local 969 struct qlcnic_vf_info *vf, u8 type) in __qlcnic_sriov_send_bc_msg() 1011 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local 1053 struct qlcnic_vf_info *vf = container_of(work, struct qlcnic_vf_info, in qlcnic_sriov_process_bc_cmd() local [all …]
|
/Linux-v4.19/drivers/crypto/cavium/cpt/ |
D | cptpf_mbox.c | 11 static void cpt_send_msg_to_vf(struct cpt_device *cpt, int vf, in cpt_send_msg_to_vf() 23 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, in cpt_mbox_send_ack() 31 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) in cpt_clear_mbox_intr() 40 static void cpt_cfg_qlen_for_vf(struct cpt_device *cpt, int vf, u32 size) in cpt_cfg_qlen_for_vf() 53 static void cpt_cfg_vq_priority(struct cpt_device *cpt, int vf, u32 pri) in cpt_cfg_vq_priority() 89 static void cpt_handle_mbox_intr(struct cpt_device *cpt, int vf) in cpt_handle_mbox_intr() 152 u8 vf; in cpt_mbox_intr_handler() local
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
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()
|
D | enic_pp.h | 22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 193 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index() 303 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter() 347 static void efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_rx_filter() 386 static void __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) in __efx_siena_sriov_update_vf_addr() 401 static void __efx_siena_sriov_push_vf_status(struct siena_vf *vf) in __efx_siena_sriov_push_vf_status() 531 static int efx_vfdi_init_evq(struct siena_vf *vf) in efx_vfdi_init_evq() 572 static int efx_vfdi_init_rxq(struct siena_vf *vf) in efx_vfdi_init_rxq() 613 static int efx_vfdi_init_txq(struct siena_vf *vf) in efx_vfdi_init_txq() 660 static bool efx_vfdi_flush_wake(struct siena_vf *vf) in efx_vfdi_flush_wake() 669 static void efx_vfdi_flush_clear(struct siena_vf *vf) in efx_vfdi_flush_clear() [all …]
|
D | ef10_sriov.c | 125 struct ef10_vf *vf = nic_data->vf + i; in efx_ef10_sriov_free_vf_vports() local 164 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport() local 492 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_mac() local 566 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_vlan() local 726 struct ef10_vf *vf; in efx_ef10_sriov_get_vf_config() local
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_sriov.c | 48 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg) in nfp_net_sriov_check() 70 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() 92 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac() 124 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan() 155 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_spoofchk() 179 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf, in nfp_app_set_vf_link_state() 213 int nfp_app_get_vf_config(struct net_device *netdev, int vf, in nfp_app_get_vf_config()
|
D | nfp_netvf_main.c | 103 struct nfp_net_vf *vf; in nfp_netvf_pci_probe() local 316 struct nfp_net_vf *vf = pci_get_drvdata(pdev); in nfp_netvf_pci_remove() local
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 26 struct bnxt_vf_info *vf, u16 event_id) in bnxt_hwrm_fwd_async_event_cmpl() 84 struct bnxt_vf_info *vf; in bnxt_set_vf_spoofchk() local 127 struct bnxt_vf_info *vf; in bnxt_set_vf_trust() local 145 struct bnxt_vf_info *vf; in bnxt_get_vf_config() local 182 struct bnxt_vf_info *vf; in bnxt_set_vf_mac() local 211 struct bnxt_vf_info *vf; in bnxt_set_vf_vlan() local 252 struct bnxt_vf_info *vf; in bnxt_set_vf_bw() local 293 struct bnxt_vf_info *vf; in bnxt_set_vf_link_state() local 327 struct bnxt_vf_info *vf; in bnxt_set_vf_attr() local 403 struct bnxt_vf_info *vf = &bp->pf.vf[k]; in bnxt_alloc_vf_resources() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | ib_virt.c | 51 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u8 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, u8 port, u64 guid) in set_vf_node_guid() 173 static int set_vf_port_guid(struct ib_device *device, int vf, u8 port, u64 guid) in set_vf_port_guid() 194 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port, in mlx5_ib_set_vf_guid()
|
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nic_main.c | 128 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr() 133 static u64 nic_get_mbx_addr(int vf) in nic_get_mbx_addr() 142 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf() 167 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready() 197 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack() 209 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack() 262 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs() 559 static void nic_send_rss_size(struct nicpf *nic, int vf) in nic_send_rss_size() 795 int vf, struct reset_stat_cfg *cfg) in nic_reset_stat_counters() 836 static void nic_enable_tunnel_parsing(struct nicpf *nic, int vf) in nic_enable_tunnel_parsing() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 184 struct qed_vf_info *vf = NULL; in qed_iov_get_vf_info() local 451 struct qed_vf_info *vf = &p_iov_info->vfs_array[idx]; in qed_iov_setup_vfdb() local 698 struct qed_vf_info *vf; in qed_iov_set_vf_to_disable() local 732 struct qed_ptt *p_ptt, struct qed_vf_info *vf) in qed_iov_vf_igu_reset() 753 struct qed_vf_info *vf, bool enable) in qed_iov_vf_igu_set_int() 803 struct qed_vf_info *vf) in qed_iov_enable_vf_access() 860 struct qed_vf_info *vf, u8 enable) in qed_iov_config_perm_table() 878 struct qed_vf_info *vf) in qed_iov_enable_vf_traffic() 891 struct qed_vf_info *vf, u16 num_rx_queues) in qed_iov_alloc_vf_igu_sbs() 932 struct qed_vf_info *vf) in qed_iov_free_vf_igu_sbs() [all …]
|
/Linux-v4.19/drivers/net/netdevsim/ |
D | netdev.c | 337 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac() 349 static int nsim_set_vf_vlan(struct net_device *dev, int vf, in nsim_set_vf_vlan() 364 static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) in nsim_set_vf_rate() 377 static int nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) in nsim_set_vf_spoofchk() 388 static int nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) in nsim_set_vf_rss_query_en() 399 static int nsim_set_vf_trust(struct net_device *dev, int vf, bool val) in nsim_set_vf_trust() 411 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) in nsim_get_vf_config() 433 static int nsim_set_vf_link_state(struct net_device *dev, int vf, int state) in nsim_set_vf_link_state()
|
/Linux-v4.19/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 78 struct usnic_ib_vf *vf = obj; in usnic_ib_dump_vf_hdr() local 83 static void usnic_ib_dump_vf(struct usnic_ib_vf *vf, char *buf, int buf_sz) in usnic_ib_dump_vf() 90 void usnic_ib_log_vf(struct usnic_ib_vf *vf) in usnic_ib_log_vf() 536 struct usnic_ib_vf *vf; in usnic_ib_pci_probe() local 613 struct usnic_ib_vf *vf = pci_get_drvdata(pdev); in usnic_ib_pci_remove() local
|
D | usnic_ib_verbs.c | 175 struct usnic_ib_vf *vf; in find_free_vf_and_create_qp_grp() local 246 struct usnic_ib_vf *vf = qp_grp->vf; in qp_grp_destroy() local 382 struct usnic_ib_vf *vf; in usnic_ib_query_qp() local 563 struct usnic_ib_vf *vf; in usnic_ib_destroy_qp() local 713 struct usnic_ib_vf *vf; in usnic_ib_mmap() local
|
/Linux-v4.19/drivers/media/platform/vivid/ |
D | vivid-radio-common.c | 141 int vivid_radio_g_frequency(struct file *file, const unsigned *pfreq, struct v4l2_frequency *vf) in vivid_radio_g_frequency() 149 int vivid_radio_s_frequency(struct file *file, unsigned *pfreq, const struct v4l2_frequency *vf) in vivid_radio_s_frequency()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | sriov.c | 46 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf) in sriov_restore_guids() 82 int vf; in mlx5_device_enable_sriov() local 129 int vf; in mlx5_device_disable_sriov() local
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 66 static int adf_get_vf_id(struct adf_accel_dev *vf) in adf_get_vf_id() 73 static int adf_get_vf_num(struct adf_accel_dev *vf) in adf_get_vf_num() 112 void adf_clean_vf_map(bool vf) in adf_clean_vf_map()
|
/Linux-v4.19/drivers/media/radio/si4713/ |
D | radio-platform-si4713.c | 105 struct v4l2_frequency *vf) in radio_si4713_g_frequency() 112 const struct v4l2_frequency *vf) in radio_si4713_s_frequency()
|