/drivers/net/ethernet/intel/ice/ |
D | ice_vf_lib.c | 27 struct ice_vf *vf; in ice_get_vf_by_id() local 57 struct ice_vf *vf = container_of(ref, struct ice_vf, refcnt); in ice_release_vf() local 73 void ice_put_vf(struct ice_vf *vf) in ice_put_vf() 105 struct ice_vf *vf; in ice_get_num_vfs() local 121 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() 141 bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() 156 static void ice_wait_on_vf_reset(struct ice_vf *vf) in ice_wait_on_vf_reset() 175 int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg() 198 static void ice_trigger_vf_reset(struct ice_vf *vf, bool is_vflr, bool is_pfr) in ice_trigger_vf_reset() 219 static void ice_vf_clear_counters(struct ice_vf *vf) in ice_vf_clear_counters() [all …]
|
D | ice_virtchnl.c | 181 struct ice_vf *vf; in ice_vc_vf_broadcast() local 208 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link() 231 void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state() 256 struct ice_vf *vf; in ice_vc_notify_link_state() local 295 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf() 324 static int ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_ver_msg() 349 static u16 ice_vc_get_max_frame_size(struct ice_vf *vf) in ice_vc_get_max_frame_size() 372 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps() 417 static int ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_vf_res_msg() 530 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg() [all …]
|
D | ice_sriov.c | 28 struct ice_vf *vf; in ice_free_vf_entries() local 47 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res() 87 static void ice_dis_vf_mappings(struct ice_vf *vf) in ice_dis_vf_mappings() 155 struct ice_vf *vf; in ice_free_vfs() local 222 static struct ice_vsi *ice_vf_vsi_setup(struct ice_vf *vf) in ice_vf_vsi_setup() 259 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx() 272 static void ice_ena_vf_msix_mappings(struct ice_vf *vf) in ice_ena_vf_msix_mappings() 322 static void ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) in ice_ena_vf_q_mappings() 373 static void ice_ena_vf_mappings(struct ice_vf *vf) in ice_ena_vf_mappings() 389 int ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) in ice_calc_vf_reg_idx() [all …]
|
D | ice_virtchnl_fdir.c | 97 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() 127 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() 171 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_alloc_prof() 201 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_free_prof() 219 static void ice_vc_fdir_free_prof_all(struct ice_vf *vf) in ice_vc_fdir_free_prof_all() 287 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, in ice_vc_fdir_set_flow_fld() 331 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, in ice_vc_fdir_set_flow_hdr() 476 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof() 530 static void ice_vc_fdir_rem_prof_all(struct ice_vf *vf) in ice_vc_fdir_rem_prof_all() 568 ice_vc_fdir_has_prof_conflict(struct ice_vf *vf, in ice_vc_fdir_has_prof_conflict() [all …]
|
D | ice_eswitch.c | 22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule() 64 static void ice_eswitch_del_vf_sp_rule(struct ice_vf *vf) in ice_eswitch_del_vf_sp_rule() 155 struct ice_vf *vf; in ice_eswitch_remap_rings_to_vectors() local 197 struct ice_vf *vf; in ice_eswitch_release_reprs() local 228 struct ice_vf *vf; in ice_eswitch_setup_reprs() local 306 struct ice_vf *vf; in ice_eswitch_update_repr() local 432 struct ice_vf *vf; in ice_eswitch_napi_del() local 447 struct ice_vf *vf; in ice_eswitch_napi_enable() local 462 struct ice_vf *vf; in ice_eswitch_napi_disable() local 656 struct ice_vf *vf; in ice_eswitch_start_all_tx_queues() local [all …]
|
D | ice_vf_lib.h | 145 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() 150 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf) in ice_vf_get_port_vlan_prio() 155 static inline bool ice_vf_is_port_vlan_ena(struct ice_vf *vf) in ice_vf_is_port_vlan_ena() 160 static inline u16 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) in ice_vf_get_port_vlan_tpid() 190 #define ice_for_each_vf(pf, bkt, vf) \ argument 207 #define ice_for_each_vf_rcu(pf, bkt, vf) \ argument 236 static inline void ice_put_vf(struct ice_vf *vf) in ice_put_vf() 250 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() 255 static inline bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() 260 static inline int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg() [all …]
|
D | ice_virtchnl_allowlist.c | 115 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed() 132 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes() 144 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist() 153 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist() 167 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist() 177 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
|
/drivers/vdpa/ifcvf/ |
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 …]
|
/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() 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 …]
|
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 …]
|
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 …]
|
/drivers/net/ethernet/intel/i40e/ |
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 static 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 …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 129 int vf = 0; in ixgbe_get_vfs() local 208 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local 364 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 442 u32 vf) in ixgbe_set_vf_vlan() 474 static int ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 max_frame, u32 vf) in ixgbe_set_vf_lpe() 559 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr() 570 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir() 577 static void ixgbe_clear_vf_vlans(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vf_vlans() 639 int vf, int index, unsigned char *mac_addr) in ixgbe_set_vf_macvlan() 696 static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_event() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
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 …]
|
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 824 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans() 850 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd() 893 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 967 struct qlcnic_vf_info *vf, u8 type) in __qlcnic_sriov_send_bc_msg() 1009 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local 1051 struct qlcnic_vf_info *vf = container_of(work, struct qlcnic_vf_info, in qlcnic_sriov_process_bc_cmd() local [all …]
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_vf.c | 37 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, in otx2vf_process_vfaf_mbox_msg() 115 static int otx2vf_process_mbox_msg_up(struct otx2_nic *vf, in otx2vf_process_mbox_msg_up() 156 struct otx2_nic *vf; in otx2vf_vfaf_mbox_up_handler() local 184 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; in otx2vf_vfaf_mbox_intr_handler() local 235 static void otx2vf_disable_mbox_intr(struct otx2_nic *vf) in otx2vf_disable_mbox_intr() 244 static int otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) in otx2vf_register_mbox_intr() 288 static void otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) in otx2vf_vfaf_mbox_destroy() 304 static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf) in otx2vf_vfaf_mbox_init() 365 struct otx2_nic *vf; in otx2vf_open() local 390 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() local [all …]
|
/drivers/net/ethernet/sfc/siena/ |
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 …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
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 113 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags() 132 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf() 141 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf() 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 [all …]
|
/drivers/crypto/marvell/octeontx/ |
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
|
/drivers/net/ethernet/cisco/enic/ |
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()
|
/drivers/crypto/cavium/cpt/ |
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
|
/drivers/net/ethernet/netronome/nfp/ |
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()
|
/drivers/infiniband/hw/mlx5/ |
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()
|
/drivers/net/netdevsim/ |
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()
|
/drivers/net/ethernet/cavium/thunder/ |
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 …]
|