| /linux/drivers/net/ethernet/intel/ice/ |
| H A 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 75 void ice_put_vf(struct ice_vf *vf) in ice_put_vf() 107 struct ice_vf *vf; in ice_get_num_vfs() local 123 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() 143 bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() 158 static void ice_wait_on_vf_reset(struct ice_vf *vf) in ice_wait_on_vf_reset() 177 int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg() 200 static void ice_trigger_vf_reset(struct ice_vf *vf, bool is_vflr, bool is_pfr) in ice_trigger_vf_reset() 221 static void ice_vf_clear_counters(struct ice_vf *vf) in ice_vf_clear_counters() [all …]
|
| H A D | ice_sriov.c | 28 struct ice_vf *vf; in ice_free_vf_entries() local 48 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res() argument 89 ice_dis_vf_mappings(struct ice_vf * vf) ice_dis_vf_mappings() argument 136 struct ice_vf *vf; ice_free_vfs() local 197 ice_vf_vsi_setup(struct ice_vf * vf) ice_vf_vsi_setup() argument 230 ice_ena_vf_msix_mappings(struct ice_vf * vf) ice_ena_vf_msix_mappings() argument 276 ice_ena_vf_q_mappings(struct ice_vf * vf,u16 max_txq,u16 max_rxq) ice_ena_vf_q_mappings() argument 323 ice_ena_vf_mappings(struct ice_vf * vf) ice_ena_vf_mappings() argument 339 ice_calc_vf_reg_idx(struct ice_vf * vf,struct ice_q_vector * q_vector) ice_calc_vf_reg_idx() argument 438 ice_init_vf_vsi_res(struct ice_vf * vf) ice_init_vf_vsi_res() argument 471 struct ice_vf *vf; ice_start_vfs() local 526 ice_sriov_free_vf(struct ice_vf * vf) ice_sriov_free_vf() argument 537 ice_sriov_clear_reset_state(struct ice_vf * vf) ice_sriov_clear_reset_state() argument 552 ice_sriov_clear_mbx_register(struct ice_vf * vf) ice_sriov_clear_mbx_register() argument 567 ice_sriov_trigger_reset_register(struct ice_vf * vf,bool is_vflr) ice_sriov_trigger_reset_register() argument 614 ice_sriov_poll_reset_status(struct ice_vf * vf) ice_sriov_poll_reset_status() argument 639 ice_sriov_clear_reset_trigger(struct ice_vf * vf) ice_sriov_clear_reset_trigger() argument 654 ice_sriov_post_vsi_rebuild(struct ice_vf * vf) ice_sriov_post_vsi_rebuild() argument 690 struct ice_vf *vf; ice_create_vf_entries() local 937 struct ice_vf *vf; ice_sriov_set_msix_vec_count() local 1078 struct ice_vf *vf; ice_process_vflr_event() local 1115 struct ice_vf *vf; ice_get_vf_from_pfq() local 1168 struct ice_vf *vf; ice_vf_lan_overflow_event() local 1198 struct ice_vf *vf; ice_set_vf_spoofchk() local 1256 struct ice_vf *vf; ice_get_vf_cfg() local 1304 struct ice_vf *vf; __ice_set_vf_mac() local 1380 struct ice_vf *vf; ice_set_vf_trust() local 1430 struct ice_vf *vf; ice_set_vf_link_state() local 1471 struct ice_vf *vf; ice_calc_all_vfs_min_tx_rate() local 1496 ice_min_tx_rate_oversubscribed(struct ice_vf * vf,int min_tx_rate) ice_min_tx_rate_oversubscribed() argument 1536 struct ice_vf *vf; ice_set_vf_bw() local 1605 struct ice_vf *vf; ice_get_vf_stats() local 1687 struct ice_vf *vf; ice_set_vf_port_vlan() local 1743 ice_print_vf_rx_mdd_event(struct ice_vf * vf) ice_print_vf_rx_mdd_event() argument 1761 ice_print_vf_tx_mdd_event(struct ice_vf * vf) ice_print_vf_tx_mdd_event() argument 1783 struct ice_vf *vf; ice_print_vfs_mdd_events() local 1824 struct ice_vf *vf; ice_restore_all_vfs_msi_state() local [all...] |
| H A D | ice_vf_lib.h | 218 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() 223 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf) in ice_vf_get_port_vlan_prio() 228 static inline bool ice_vf_is_port_vlan_ena(struct ice_vf *vf) in ice_vf_is_port_vlan_ena() 233 static inline u16 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) in ice_vf_get_port_vlan_tpid() 238 static inline bool ice_vf_is_lldp_ena(struct ice_vf *vf) in ice_vf_is_lldp_ena() 268 #define ice_for_each_vf(pf, bkt, vf) \ argument 285 #define ice_for_each_vf_rcu(pf, bkt, vf) \ argument 334 static inline void ice_put_vf(struct ice_vf *vf) in ice_put_vf() 348 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() 353 static inline bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() [all …]
|
| /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/intel/ice/virt/ |
| H A D | virtchnl.c | 31 struct ice_vf *vf; in ice_vc_vf_broadcast() local 58 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link() 81 void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state() 106 struct ice_vf *vf; in ice_vc_notify_link_state() local 145 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf() 174 static int ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_ver_msg() 200 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps() 245 static int ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_vf_res_msg() 371 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg() 384 bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id() [all …]
|
| H A D | fdir.c | 98 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() 128 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() 172 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_alloc_prof() 202 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_free_prof() 220 static void ice_vc_fdir_free_prof_all(struct ice_vf *vf) in ice_vc_fdir_free_prof_all() 288 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, in ice_vc_fdir_set_flow_fld() 332 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, in ice_vc_fdir_set_flow_hdr() 477 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof() 529 static void ice_vc_fdir_rem_prof_all(struct ice_vf *vf) in ice_vc_fdir_rem_prof_all() 567 ice_vc_fdir_has_prof_conflict(struct ice_vf *vf, in ice_vc_fdir_has_prof_conflict() [all …]
|
| H A D | rss.c | 424 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto) in ice_vc_validate_pattern() 738 ice_hash_moveout(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_moveout() 771 ice_hash_moveback(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_moveback() 802 ice_hash_remove(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_remove() 840 static int ice_add_rss_cfg_pre_gtpu(struct ice_vf *vf, in ice_add_rss_cfg_pre_gtpu() 965 ice_add_rss_cfg_pre_ip(struct ice_vf *vf, struct ice_vf_hash_ip_ctx *ctx) in ice_add_rss_cfg_pre_ip() 1125 ice_add_rss_cfg_pre(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_add_rss_cfg_pre() 1168 static int ice_add_rss_cfg_post_gtpu(struct ice_vf *vf, in ice_add_rss_cfg_post_gtpu() 1237 ice_add_rss_cfg_post(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_add_rss_cfg_post() 1269 ice_rem_rss_cfg_post(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_rem_rss_cfg_post() [all …]
|
| H A D | queues.c | 20 u16 ice_vc_get_max_frame_size(struct ice_vf *vf) in ice_vc_get_max_frame_size() 70 static int ice_vf_cfg_qs_bw(struct ice_vf *vf, u16 num_queues) in ice_vf_cfg_qs_bw() 129 static int ice_vf_cfg_q_quanta_profile(struct ice_vf *vf, u16 quanta_size, in ice_vf_cfg_q_quanta_profile() 252 int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_ena_qs_msg() 343 int ice_vf_vsi_dis_single_txq(struct ice_vf *vf, struct ice_vsi *vsi, u16 q_id) in ice_vf_vsi_dis_single_txq() 379 int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_dis_qs_msg() 484 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, in ice_cfg_interrupt() 534 int ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_irq_map_msg() 614 int ice_vc_cfg_q_bw(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_q_bw() 698 int ice_vc_cfg_q_quanta(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_q_quanta() [all …]
|
| H A D | virtchnl.h | 101 static inline void ice_virtchnl_set_dflt_ops(struct ice_vf *vf) { } in ice_virtchnl_set_dflt_ops() 102 static inline void ice_virtchnl_set_repr_ops(struct ice_vf *vf) { } in ice_virtchnl_set_repr_ops() 103 static inline void ice_vc_notify_vf_link_state(struct ice_vf *vf) { } in ice_vc_notify_vf_link_state() 109 static inline int ice_vf_ena_vlan_promisc(struct ice_vf *vf, in ice_vf_ena_vlan_promisc() 116 static inline bool ice_is_vlan_promisc_allowed(struct ice_vf *vf) in ice_is_vlan_promisc_allowed() 122 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf() 128 static inline bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 128 int vf = 0; in ixgbe_get_vfs() local 207 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local 367 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 445 u32 vf) in ixgbe_set_vf_vlan() 477 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/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() argument 110 i40e_vc_notify_vf_link_state(struct i40e_vf * vf) i40e_vc_notify_vf_link_state() argument 189 i40e_vc_notify_vf_reset(struct i40e_vf * vf) i40e_vc_notify_vf_reset() argument 219 i40e_vc_reset_vf(struct i40e_vf * vf,bool notify_vf) i40e_vc_reset_vf() argument 260 i40e_vc_isvalid_vsi_id(struct i40e_vf * vf,u16 vsi_id) i40e_vc_isvalid_vsi_id() argument 276 i40e_vc_isvalid_queue_id(struct i40e_vf * vf,u16 vsi_id,u16 qid) i40e_vc_isvalid_queue_id() argument 292 i40e_vc_isvalid_vector_id(struct i40e_vf * vf,u32 vector_id) i40e_vc_isvalid_vector_id() argument 309 i40e_vc_get_pf_queue_id(struct i40e_vf * vf,u16 vsi_id,u8 vsi_queue_id) i40e_vc_get_pf_queue_id() argument 338 i40e_get_real_pf_qid(struct i40e_vf * vf,u16 vsi_id,u16 queue_id) i40e_get_real_pf_qid() argument 370 i40e_config_irq_link_list(struct i40e_vf * vf,u16 vsi_id,struct virtchnl_vector_map * vecmap) i40e_config_irq_link_list() argument 476 i40e_release_rdma_qvlist(struct i40e_vf * vf) i40e_release_rdma_qvlist() argument 527 i40e_config_rdma_qvlist(struct i40e_vf * vf,struct virtchnl_rdma_qvlist_info * qvlist_info) i40e_config_rdma_qvlist() argument 628 i40e_config_vsi_tx_queue(struct i40e_vf * vf,u16 vsi_id,u16 vsi_queue_id,struct virtchnl_txq_info * info) i40e_config_vsi_tx_queue() argument 710 i40e_config_vsi_rx_queue(struct i40e_vf * vf,u16 vsi_id,u16 vsi_queue_id,struct virtchnl_rxq_info * info) i40e_config_vsi_rx_queue() argument 809 i40e_alloc_vsi_res(struct i40e_vf * vf,u8 idx) i40e_alloc_vsi_res() argument 900 i40e_map_pf_queues_to_vsi(struct i40e_vf * vf) i40e_map_pf_queues_to_vsi() argument 947 i40e_map_pf_to_vf_queues(struct i40e_vf * vf) i40e_map_pf_to_vf_queues() argument 985 i40e_enable_vf_mappings(struct i40e_vf * vf) i40e_enable_vf_mappings() argument 1014 i40e_disable_vf_mappings(struct i40e_vf * vf) i40e_disable_vf_mappings() argument 1034 i40e_free_vf_res(struct i40e_vf * vf) i40e_free_vf_res() argument 1115 i40e_alloc_vf_res(struct i40e_vf * vf) i40e_alloc_vf_res() argument 1190 i40e_quiesce_vf_pci(struct i40e_vf * vf) i40e_quiesce_vf_pci() argument 1289 i40e_set_vsi_promisc(struct i40e_vf * vf,u16 seid,bool multi_enable,bool unicast_enable,s16 * vl,u16 num_vlans) i40e_set_vsi_promisc() argument 1377 i40e_config_vf_promiscuous_mode(struct i40e_vf * vf,u16 vsi_id,bool allmulti,bool alluni) i40e_config_vf_promiscuous_mode() argument 1449 i40e_trigger_vf_reset(struct i40e_vf * vf,bool flr) i40e_trigger_vf_reset() argument 1510 i40e_cleanup_reset_vf(struct i40e_vf * vf) i40e_cleanup_reset_vf() argument 1564 i40e_reset_vf(struct i40e_vf * vf,bool flr) i40e_reset_vf() argument 1638 struct i40e_vf *vf; i40e_reset_all_vfs() local 1986 i40e_vc_send_msg_to_vf(struct i40e_vf * vf,u32 v_opcode,u32 v_retval,u8 * msg,u16 msglen) i40e_vc_send_msg_to_vf() argument 2022 i40e_vc_send_resp_to_vf(struct i40e_vf * vf,enum virtchnl_ops opcode,int retval) i40e_vc_send_resp_to_vf() argument 2037 i40e_sync_vf_state(struct i40e_vf * vf,enum i40e_vf_states state) i40e_sync_vf_state() argument 2062 i40e_vc_get_version_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_get_version_msg() argument 2081 i40e_del_qch(struct i40e_vf * vf) i40e_del_qch() argument 2107 i40e_vc_get_max_frame_size(struct i40e_vf * vf) i40e_vc_get_max_frame_size() argument 2124 i40e_vc_get_vf_resources_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_get_vf_resources_msg() argument 2259 i40e_vc_config_promiscuous_mode_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_config_promiscuous_mode_msg() argument 2344 i40e_vc_config_queues_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_config_queues_msg() argument 2468 i40e_validate_queue_map(struct i40e_vf * vf,u16 vsi_id,unsigned long queuemap) i40e_validate_queue_map() argument 2498 i40e_vc_config_irq_map_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_config_irq_map_msg() argument 2614 i40e_vc_enable_queues_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_enable_queues_msg() argument 2680 i40e_vc_disable_queues_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_disable_queues_msg() argument 2726 i40e_check_enough_queue(struct i40e_vf * vf,u16 needed) i40e_check_enough_queue() argument 2782 i40e_vc_request_queues_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_request_queues_msg() argument 2830 i40e_vc_get_stats_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_get_stats_msg() argument 2897 i40e_check_vf_permission(struct i40e_vf * vf,struct virtchnl_ether_addr_list * al) i40e_check_vf_permission() argument 3032 i40e_update_vf_mac_addr(struct i40e_vf * vf,struct virtchnl_ether_addr * vc_ether_addr) i40e_update_vf_mac_addr() argument 3059 i40e_vc_add_mac_addr_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_add_mac_addr_msg() argument 3127 i40e_vc_del_mac_addr_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_del_mac_addr_msg() argument 3215 i40e_vc_add_vlan_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_add_vlan_msg() argument 3286 i40e_vc_remove_vlan_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_remove_vlan_msg() argument 3344 i40e_vc_rdma_msg(struct i40e_vf * vf,u8 * msg,u16 msglen) i40e_vc_rdma_msg() argument 3375 i40e_vc_rdma_qvmap_msg(struct i40e_vf * vf,u8 * msg,bool config) i40e_vc_rdma_qvmap_msg() argument 3409 i40e_vc_config_rss_key(struct i40e_vf * vf,u8 * msg) i40e_vc_config_rss_key() argument 3439 i40e_vc_config_rss_lut(struct i40e_vf * vf,u8 * msg) i40e_vc_config_rss_lut() argument 3476 i40e_vc_get_rss_hashcfg(struct i40e_vf * vf,u8 * msg) i40e_vc_get_rss_hashcfg() argument 3511 i40e_vc_set_rss_hashcfg(struct i40e_vf * vf,u8 * msg) i40e_vc_set_rss_hashcfg() argument 3540 i40e_vc_enable_vlan_stripping(struct i40e_vf * vf,u8 * msg) i40e_vc_enable_vlan_stripping() argument 3566 i40e_vc_disable_vlan_stripping(struct i40e_vf * vf,u8 * msg) i40e_vc_disable_vlan_stripping() argument 3592 i40e_validate_cloud_filter(struct i40e_vf * vf,struct virtchnl_filter * tc_filter) i40e_validate_cloud_filter() argument 3723 i40e_find_vsi_from_seid(struct i40e_vf * vf,u16 seid) i40e_find_vsi_from_seid() argument 3743 i40e_del_all_cloud_filters(struct i40e_vf * vf) i40e_del_all_cloud_filters() argument 3785 i40e_vc_del_cloud_filter(struct i40e_vf * vf,u8 * msg) i40e_vc_del_cloud_filter() argument 3919 i40e_vc_add_cloud_filter(struct i40e_vf * vf,u8 * msg) i40e_vc_add_cloud_filter() argument 4039 i40e_vc_add_qch_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_add_qch_msg() argument 4155 i40e_vc_del_qch_msg(struct i40e_vf * vf,u8 * msg) i40e_vc_del_qch_msg() argument 4206 struct i40e_vf *vf; i40e_vc_process_vf_msg() local 4336 struct i40e_vf *vf; i40e_vc_process_vflr_event() local 4382 struct i40e_vf *vf; i40e_validate_vf() local 4408 i40e_check_vf_init_timeout(struct i40e_vf * vf) i40e_check_vf_init_timeout() argument 4445 struct i40e_vf *vf; i40e_ndo_set_vf_mac() local 4537 struct i40e_vf *vf; i40e_ndo_set_vf_port_vlan() local 4692 struct i40e_vf *vf; i40e_ndo_set_vf_bw() local 4743 struct i40e_vf *vf; i40e_ndo_get_vf_config() local 4804 struct i40e_vf *vf; i40e_ndo_set_vf_link_state() local 4903 struct i40e_vf *vf; i40e_ndo_set_vf_spoofchk() local 4958 struct i40e_vf *vf; i40e_ndo_set_vf_trust() local 5021 struct i40e_vf *vf; i40e_get_vf_stats() local [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_vf.c | 39 static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf, in otx2vf_process_vfaf_mbox_msg() 117 static int otx2vf_process_mbox_msg_up(struct otx2_nic *vf, in otx2vf_process_mbox_msg_up() 158 struct otx2_nic *vf; in otx2vf_vfaf_mbox_up_handler() local 186 struct otx2_nic *vf = (struct otx2_nic *)vf_irq; in otx2vf_vfaf_mbox_intr_handler() local 237 static void otx2vf_disable_mbox_intr(struct otx2_nic *vf) in otx2vf_disable_mbox_intr() 250 static int otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf) in otx2vf_register_mbox_intr() 308 static void otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf) in otx2vf_vfaf_mbox_destroy() 324 static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf) in otx2vf_vfaf_mbox_init() 391 struct otx2_nic *vf; in otx2vf_open() local 416 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() local [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 264 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local 825 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans() 851 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd() 894 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_wait_for_channel_free() local 921 static int __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) in __qlcnic_sriov_issue_bc_post() 939 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_issue_bc_post() local 968 struct qlcnic_vf_info *vf, u8 type) in __qlcnic_sriov_send_bc_msg() 1010 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local 1052 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/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() 59 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 135 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 179 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 185 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 207 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 246 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 294 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 311 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
|
| /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/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
|