/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_main.c | 22 struct ifcvf_hw *vf = arg; in ifcvf_config_changed() local 42 struct ifcvf_hw *vf = arg; in ifcvf_vqs_reused_intr_handler() local 57 struct ifcvf_hw *vf = arg; in ifcvf_dev_intr_handler() local 72 static void ifcvf_free_per_vq_irq(struct ifcvf_hw *vf) in ifcvf_free_per_vq_irq() 85 static void ifcvf_free_vqs_reused_irq(struct ifcvf_hw *vf) in ifcvf_free_vqs_reused_irq() 96 static void ifcvf_free_vq_irq(struct ifcvf_hw *vf) in ifcvf_free_vq_irq() 104 static void ifcvf_free_config_irq(struct ifcvf_hw *vf) in ifcvf_free_config_irq() 121 static void ifcvf_free_irq(struct ifcvf_hw *vf) in ifcvf_free_irq() 136 static int ifcvf_alloc_vectors(struct ifcvf_hw *vf) in ifcvf_alloc_vectors() 158 static int ifcvf_request_per_vq_irq(struct ifcvf_hw *vf) in ifcvf_request_per_vq_irq() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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() 112 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs() 126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx() 142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx() 167 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep() 235 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create() 274 static int bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_destroy() 318 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); in bnx2x_vf_set_igu_info() local 334 static int bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_vlan_mac_clear() 379 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_mac_vlan_config() [all …]
|
H A 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() 1206 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp() 1214 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_phys_port() 1237 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_fp_hsi_ver() 1256 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp() 1382 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_chk_dorq() 1399 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire() 1469 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf() [all …]
|
H 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 170 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_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 180 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument 224 #define for_each_vfq(vf, var) \ argument 227 #define for_each_vf_sb(vf, var) \ argument [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 26 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local 85 static void i40e_set_vf_link_state(struct i40e_vf *vf, in i40e_set_vf_link_state() 110 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state() 189 void i40e_vc_notify_vf_reset(struct i40e_vf *vf) in i40e_vc_notify_vf_reset() 219 void i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) in i40e_vc_reset_vf() 260 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() 276 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() 292 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id() 309 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() 338 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 130 int vf = 0; in ixgbe_get_vfs() local 209 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local 369 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 447 u32 vf) in ixgbe_set_vf_vlan() 479 static int ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) in ixgbe_set_vf_lpe() 564 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr() 575 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir() 582 static void ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vf_vlans() 644 int vf, int index, unsigned char *mac_addr) in ixgbe_set_vf_macvlan() 699 static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_event() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_pf.c | 743 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_channel_cfg_cmd() local 789 struct qlcnic_vf_info *vf, in qlcnic_sriov_cfg_vf_def_mac() 856 struct qlcnic_vf_info *vf, in qlcnic_83xx_cfg_default_mac_vlan() 887 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_create_rx_ctx_cmd() local 915 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_mac_address_cmd() local 947 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_create_tx_ctx_cmd() local 970 static int qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_rx_ctx() 985 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_rx_ctx_cmd() local 1005 static int qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_tx_ctx() 1020 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_tx_ctx_cmd() local [all …]
|
H A D | qlcnic_sriov_common.c | 146 struct qlcnic_vf_info *vf; in qlcnic_sriov_init() local 265 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local 826 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans() 852 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd() 895 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_wait_for_channel_free() local 922 static int __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) in __qlcnic_sriov_issue_bc_post() 940 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/drivers/crypto/marvell/octeontx/ |
H 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/net/ethernet/sfc/siena/ |
H A D | siena_sriov.c | 191 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index() 302 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter() 346 static void efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_rx_filter() 385 static void __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) in __efx_siena_sriov_update_vf_addr() 400 static void __efx_siena_sriov_push_vf_status(struct siena_vf *vf) in __efx_siena_sriov_push_vf_status() 530 static int efx_vfdi_init_evq(struct siena_vf *vf) in efx_vfdi_init_evq() 571 static int efx_vfdi_init_rxq(struct siena_vf *vf) in efx_vfdi_init_rxq() 612 static int efx_vfdi_init_txq(struct siena_vf *vf) in efx_vfdi_init_txq() 659 static bool efx_vfdi_flush_wake(struct siena_vf *vf) in efx_vfdi_flush_wake() 668 static void efx_vfdi_flush_clear(struct siena_vf *vf) in efx_vfdi_flush_clear() [all …]
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_pp.c | 23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() 54 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 130 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 174 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 180 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 202 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 241 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 289 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 306 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
|
/linux/drivers/crypto/cavium/cpt/ |
H 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/netronome/nfp/ |
H A D | nfp_net_sriov.c | 18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) in nfp_net_sriov_check() 42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() 64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac() 96 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan() 147 int nfp_app_set_vf_rate(struct net_device *netdev, int vf, in nfp_app_set_vf_rate() 178 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_spoofchk() 202 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_trust() 226 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf, in nfp_app_set_vf_link_state() 260 int nfp_app_get_vf_config(struct net_device *netdev, int vf, in nfp_app_get_vf_config()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 50 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_config() 92 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, in mlx5_ib_set_vf_link_state() 120 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, in mlx5_ib_get_vf_stats() 151 static int set_vf_node_guid(struct ib_device *device, int vf, u32 port, in set_vf_node_guid() 175 static int set_vf_port_guid(struct ib_device *device, int vf, u32 port, in set_vf_port_guid() 199 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_set_vf_guid() 210 int mlx5_ib_get_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_guid()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nic_main.c | 119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr() 124 static u64 nic_get_mbx_addr(int vf) in nic_get_mbx_addr() 133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf() 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() 253 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs() 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() [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pfvf_pf_msg.c | 15 struct adf_accel_vf_info *vf; in adf_pf2vf_notify_restarting() local 39 struct adf_accel_vf_info *vf; in adf_pf2vf_wait_for_restarting_complete() local 61 struct adf_accel_vf_info *vf; in adf_pf2vf_notify_restarted() local 76 struct adf_accel_vf_info *vf; in adf_pf2vf_notify_fatal_error() local
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 163 struct qed_vf_info *vf = NULL; in qed_iov_get_vf_info() local 430 struct qed_vf_info *vf = &p_iov_info->vfs_array[idx]; in qed_iov_setup_vfdb() local 680 struct qed_vf_info *vf; in qed_iov_set_vf_to_disable() local 714 struct qed_ptt *p_ptt, struct qed_vf_info *vf) in qed_iov_vf_igu_reset() 735 struct qed_vf_info *vf, bool enable) in qed_iov_vf_igu_set_int() 785 struct qed_vf_info *vf) in qed_iov_enable_vf_access() 843 struct qed_vf_info *vf, u8 enable) in qed_iov_config_perm_table() 861 struct qed_vf_info *vf) in qed_iov_enable_vf_traffic() 874 struct qed_vf_info *vf, u16 num_rx_queues) in qed_iov_alloc_vf_igu_sbs() 916 struct qed_vf_info *vf) in qed_iov_free_vf_igu_sbs() [all …]
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_mbx.c | 15 static int wx_obtain_mbx_lock_pf(struct wx *wx, u16 vf) in wx_obtain_mbx_lock_pf() 54 int wx_check_for_ack_pf(struct wx *wx, u16 vf) in wx_check_for_ack_pf() 71 int wx_check_for_msg_pf(struct wx *wx, u16 vf) in wx_check_for_msg_pf() 90 int wx_write_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf) in wx_write_mbx_pf() 131 int wx_read_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf) in wx_read_mbx_pf() 164 int wx_check_for_rst_pf(struct wx *wx, u16 vf) in wx_check_for_rst_pf()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_mbox.c | 29 struct otx2_cptvf_info *vf, in forward_to_af() 66 struct otx2_cptvf_info *vf, in handle_msg_get_caps() 88 struct otx2_cptvf_info *vf, in handle_msg_get_eng_grp_num() 111 struct otx2_cptvf_info *vf, in handle_msg_kvf_limits() 306 struct otx2_cptvf_info *vf, in cptpf_handle_vf_req() 344 struct otx2_cptvf_info *vf; in otx2_cptpf_vfpf_mbox_intr() local 375 struct otx2_cptvf_info *vf; in otx2_cptpf_vfpf_mbox_handler() local
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vf_vsi_vlan_ops.c | 134 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_init_vlan_ops() local 168 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_dvm_legacy_vlan_mode() local 238 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_svm_legacy_vlan_mode() local
|
/linux/drivers/infiniband/hw/usnic/ |
H A 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() 551 struct usnic_ib_vf *vf; in usnic_ib_pci_probe() local 632 struct usnic_ib_vf *vf = pci_get_drvdata(pdev); in usnic_ib_pci_remove() local
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | sriov.c | 40 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf, u16 func_id) in sriov_restore_guids() 75 int err, vf, num_msix_count; in mlx5_device_enable_sriov() local 132 int vf; in mlx5_device_disable_sriov() local 231 int mlx5_core_sriov_set_msix_vec_count(struct pci_dev *vf, int msix_vec_count) in mlx5_core_sriov_set_msix_vec_count()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 122 struct ef10_vf *vf = nic_data->vf + i; in efx_ef10_sriov_free_vf_vports() local 160 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport() local 490 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_mac() local 557 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_vlan() local 773 struct ef10_vf *vf; in efx_ef10_sriov_get_vf_config() local
|
/linux/drivers/media/test-drivers/vivid/ |
H A 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/drivers/misc/ |
H A D | mrvl_cn10k_dpi.c | 178 struct dpipf_vf vf[DPI_MAX_VFS]; member 209 static int dpi_queue_init(struct dpipf *dpi, struct dpipf_vf *dpivf, u8 vf) in dpi_queue_init() 256 static void dpi_queue_fini(struct dpipf *dpi, u8 vf) in dpi_queue_fini() 269 u32 vf; in dpi_mbox_intr_handler() local 348 static void dpi_setup_mbox_regs(struct dpipf *dpi, int vf) in dpi_setup_mbox_regs() 358 int vf; in dpi_pfvf_mbox_setup() local 377 unsigned int vf; in dpi_pfvf_mbox_destroy() local
|