Lines Matching defs:p_hwfn

46 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf)  in qed_sp_vf_start()
108 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop()
135 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid()
159 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info()
199 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode()
228 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq()
244 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq()
260 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb()
277 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq()
291 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq()
305 static int qed_iov_post_vf_bulletin(struct qed_hwfn *p_hwfn, in qed_iov_post_vf_bulletin()
405 static void qed_iov_setup_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_setup_vfdb()
460 static int qed_iov_allocate_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_allocate_vfdb()
513 static void qed_iov_free_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_free_vfdb()
536 int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc()
558 void qed_iov_setup(struct qed_hwfn *p_hwfn) in qed_iov_setup()
566 void qed_iov_free(struct qed_hwfn *p_hwfn) in qed_iov_free()
582 int qed_iov_hw_info(struct qed_hwfn *p_hwfn) in qed_iov_hw_info()
657 static bool _qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, in _qed_iov_pf_sanity_check()
672 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check()
684 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable() local
705 static void qed_iov_vf_pglue_clear_err(struct qed_hwfn *p_hwfn, in qed_iov_vf_pglue_clear_err()
713 static void qed_iov_vf_igu_reset(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_reset()
733 static void qed_iov_vf_igu_set_int(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_set_int()
755 qed_iov_enable_vf_access_msix(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access_msix()
783 static int qed_iov_enable_vf_access(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access()
841 static void qed_iov_config_perm_table(struct qed_hwfn *p_hwfn, in qed_iov_config_perm_table()
859 static void qed_iov_enable_vf_traffic(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_traffic()
872 static u8 qed_iov_alloc_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_alloc_vf_igu_sbs()
914 static void qed_iov_free_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_free_vf_igu_sbs()
938 static void qed_iov_set_link(struct qed_hwfn *p_hwfn, in qed_iov_set_link()
977 static int qed_iov_init_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_init_hw_for_vf()
1087 static int qed_iov_release_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_release_hw_for_vf()
1147 void *qed_add_tlv(struct qed_hwfn *p_hwfn, u8 **offset, u16 type, u16 length) in qed_add_tlv()
1162 void qed_dp_tlv_list(struct qed_hwfn *p_hwfn, void *tlvs_list) in qed_dp_tlv_list()
1195 static void qed_iov_send_response(struct qed_hwfn *p_hwfn, in qed_iov_send_response()
1233 static u16 qed_iov_vport_to_tlv(struct qed_hwfn *p_hwfn, in qed_iov_vport_to_tlv()
1258 static u16 qed_iov_prep_vp_update_resp_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_prep_vp_update_resp_tlvs()
1302 static void qed_iov_prepare_resp(struct qed_hwfn *p_hwfn, in qed_iov_prepare_resp()
1319 qed_public_vf_info *qed_iov_get_public_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_public_vf_info()
1332 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf()
1348 static void qed_iov_vf_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_cleanup()
1382 static u32 qed_iov_vf_db_bar_size(struct qed_hwfn *p_hwfn, in qed_iov_vf_db_bar_size()
1393 qed_iov_vf_mbx_acquire_resc_cids(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc_cids()
1435 static u8 qed_iov_vf_mbx_acquire_resc(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc()
1516 static void qed_iov_vf_mbx_acquire_stats(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_stats()
1535 static void qed_iov_vf_mbx_acquire(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire()
1686 static int __qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, in __qed_iov_spoofchk_set()
1719 static int qed_iov_reconfigure_unicast_vlan(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_vlan()
1756 qed_iov_reconfigure_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_shadow()
1768 static int qed_iov_configure_vport_forced(struct qed_hwfn *p_hwfn, in qed_iov_configure_vport_forced()
1889 static void qed_iov_vf_mbx_start_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_vport()
1976 static void qed_iov_vf_mbx_stop_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_vport()
2012 static void qed_iov_vf_mbx_start_rxq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq_resp()
2050 static u8 qed_iov_vf_mbx_qid(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_qid()
2086 static void qed_iov_vf_mbx_start_rxq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq()
2239 qed_pf_validate_modify_tunn_config(struct qed_hwfn *p_hwfn, in qed_pf_validate_modify_tunn_config()
2298 static void qed_iov_vf_mbx_update_tunn_param(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_tunn_param()
2382 static void qed_iov_vf_mbx_start_txq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq_resp()
2419 static void qed_iov_vf_mbx_start_txq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq()
2493 static int qed_iov_vf_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_rxqs()
2540 static int qed_iov_vf_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_txqs()
2563 static void qed_iov_vf_mbx_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_rxqs()
2601 static void qed_iov_vf_mbx_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_txqs()
2639 static void qed_iov_vf_mbx_update_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_rxqs()
2710 void *qed_iov_search_list_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_search_list_tlvs()
2742 qed_iov_vp_update_act_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_act_param()
2762 qed_iov_vp_update_vlan_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_vlan_param()
2787 qed_iov_vp_update_tx_switch(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_tx_switch()
2806 qed_iov_vp_update_mcast_bin_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_mcast_bin_param()
2825 qed_iov_vp_update_accept_flag(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_flag()
2846 qed_iov_vp_update_accept_any_vlan(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_any_vlan()
2866 qed_iov_vp_update_rss_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_rss_param()
2932 qed_iov_vp_update_sge_tpa_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_sge_tpa_param()
3023 static void qed_iov_vf_mbx_vport_update(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_vport_update()
3107 static int qed_iov_vf_update_vlan_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_vlan_shadow()
3165 static int qed_iov_vf_update_mac_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_mac_shadow()
3224 qed_iov_vf_update_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_unicast_shadow()
3267 static void qed_iov_vf_mbx_ucast_filter(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_ucast_filter()
3354 static void qed_iov_vf_mbx_int_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_int_cleanup()
3371 static void qed_iov_vf_mbx_close(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_close()
3387 static void qed_iov_vf_mbx_release(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_release()
3415 static void qed_iov_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_get_coalesce()
3484 static void qed_iov_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_set_coalesce()
3568 qed_iov_vf_flr_poll_dorq(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_dorq()
3597 qed_iov_vf_flr_poll_pbf(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_pbf()
3667 static int qed_iov_vf_flr_poll(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll()
3684 qed_iov_execute_vf_flr_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_execute_vf_flr_cleanup()
3750 qed_iov_vf_flr_cleanup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iov_vf_flr_cleanup()
3771 bool qed_iov_mark_vf_flr(struct qed_hwfn *p_hwfn, u32 *p_disabled_vfs) in qed_iov_mark_vf_flr()
3820 static int qed_iov_get_link(struct qed_hwfn *p_hwfn, in qed_iov_get_link()
3846 qed_iov_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_bulletin_update_mac()
3879 static void qed_iov_process_mbx_req(struct qed_hwfn *p_hwfn, in qed_iov_process_mbx_req()
4004 static void qed_iov_pf_get_pending_events(struct qed_hwfn *p_hwfn, u64 *events) in qed_iov_pf_get_pending_events()
4019 static struct qed_vf_info *qed_sriov_get_vf_from_absid(struct qed_hwfn *p_hwfn, in qed_sriov_get_vf_from_absid()
4035 static int qed_sriov_vfpf_msg(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_msg()
4056 void qed_sriov_vfpf_malicious(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_malicious()
4079 int qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, u8 opcode, __le16 echo, in qed_sriov_eqe_event()
4093 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_get_next_active_vf()
4109 static int qed_iov_copy_vf_msg(struct qed_hwfn *p_hwfn, struct qed_ptt *ptt, in qed_iov_copy_vf_msg()
4137 static void qed_iov_bulletin_set_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_mac()
4175 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid) in qed_iov_bulletin_set_mac()
4210 static void qed_iov_bulletin_set_forced_vlan(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_vlan()
4239 void qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_udp_ports()
4262 static bool qed_iov_vf_has_vport_instance(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_vf_has_vport_instance()
4273 static bool qed_iov_is_vf_stopped(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_is_vf_stopped()
4284 static bool qed_iov_spoofchk_get(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_spoofchk_get()
4295 static int qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, int vfid, bool val) in qed_iov_spoofchk_set()
4323 static u8 *qed_iov_bulletin_get_mac(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_mac()
4338 static u8 *qed_iov_bulletin_get_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_get_forced_mac()
4354 qed_iov_bulletin_get_forced_vlan(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_forced_vlan()
4368 static int qed_iov_configure_tx_rate(struct qed_hwfn *p_hwfn, in qed_iov_configure_tx_rate()
4397 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate() local
4415 static int qed_iov_get_vf_min_rate(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_get_vf_min_rate()
4855 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure() local
4870 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate() local
5269 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start() local