Lines Matching defs:p_hwfn

69 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf)  in qed_sp_vf_start()
129 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop()
156 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid()
180 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info()
220 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode()
249 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq()
265 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq()
281 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb()
298 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq()
312 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq()
326 static int qed_iov_post_vf_bulletin(struct qed_hwfn *p_hwfn, in qed_iov_post_vf_bulletin()
426 static void qed_iov_setup_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_setup_vfdb()
481 static int qed_iov_allocate_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_allocate_vfdb()
534 static void qed_iov_free_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_free_vfdb()
557 int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc()
579 void qed_iov_setup(struct qed_hwfn *p_hwfn) in qed_iov_setup()
587 void qed_iov_free(struct qed_hwfn *p_hwfn) in qed_iov_free()
603 int qed_iov_hw_info(struct qed_hwfn *p_hwfn) in qed_iov_hw_info()
675 static bool _qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, in _qed_iov_pf_sanity_check()
690 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check()
702 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable() local
723 static void qed_iov_vf_pglue_clear_err(struct qed_hwfn *p_hwfn, in qed_iov_vf_pglue_clear_err()
731 static void qed_iov_vf_igu_reset(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_reset()
751 static void qed_iov_vf_igu_set_int(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_set_int()
773 qed_iov_enable_vf_access_msix(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access_msix()
801 static int qed_iov_enable_vf_access(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access()
858 static void qed_iov_config_perm_table(struct qed_hwfn *p_hwfn, in qed_iov_config_perm_table()
876 static void qed_iov_enable_vf_traffic(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_traffic()
889 static u8 qed_iov_alloc_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_alloc_vf_igu_sbs()
930 static void qed_iov_free_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_free_vf_igu_sbs()
954 static void qed_iov_set_link(struct qed_hwfn *p_hwfn, in qed_iov_set_link()
993 static int qed_iov_init_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_init_hw_for_vf()
1103 static int qed_iov_release_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_release_hw_for_vf()
1163 void *qed_add_tlv(struct qed_hwfn *p_hwfn, u8 **offset, u16 type, u16 length) in qed_add_tlv()
1178 void qed_dp_tlv_list(struct qed_hwfn *p_hwfn, void *tlvs_list) in qed_dp_tlv_list()
1211 static void qed_iov_send_response(struct qed_hwfn *p_hwfn, in qed_iov_send_response()
1249 static u16 qed_iov_vport_to_tlv(struct qed_hwfn *p_hwfn, in qed_iov_vport_to_tlv()
1274 static u16 qed_iov_prep_vp_update_resp_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_prep_vp_update_resp_tlvs()
1318 static void qed_iov_prepare_resp(struct qed_hwfn *p_hwfn, in qed_iov_prepare_resp()
1335 qed_public_vf_info *qed_iov_get_public_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_public_vf_info()
1348 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf()
1364 static void qed_iov_vf_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_cleanup()
1398 static u32 qed_iov_vf_db_bar_size(struct qed_hwfn *p_hwfn, in qed_iov_vf_db_bar_size()
1409 qed_iov_vf_mbx_acquire_resc_cids(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc_cids()
1451 static u8 qed_iov_vf_mbx_acquire_resc(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc()
1532 static void qed_iov_vf_mbx_acquire_stats(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_stats()
1551 static void qed_iov_vf_mbx_acquire(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire()
1702 static int __qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, in __qed_iov_spoofchk_set()
1735 static int qed_iov_reconfigure_unicast_vlan(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_vlan()
1772 qed_iov_reconfigure_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_shadow()
1784 static int qed_iov_configure_vport_forced(struct qed_hwfn *p_hwfn, in qed_iov_configure_vport_forced()
1905 static void qed_iov_vf_mbx_start_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_vport()
1990 static void qed_iov_vf_mbx_stop_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_vport()
2026 static void qed_iov_vf_mbx_start_rxq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq_resp()
2064 static u8 qed_iov_vf_mbx_qid(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_qid()
2100 static void qed_iov_vf_mbx_start_rxq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq()
2253 qed_pf_validate_modify_tunn_config(struct qed_hwfn *p_hwfn, in qed_pf_validate_modify_tunn_config()
2312 static void qed_iov_vf_mbx_update_tunn_param(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_tunn_param()
2396 static void qed_iov_vf_mbx_start_txq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq_resp()
2433 static void qed_iov_vf_mbx_start_txq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq()
2507 static int qed_iov_vf_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_rxqs()
2554 static int qed_iov_vf_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_txqs()
2577 static void qed_iov_vf_mbx_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_rxqs()
2615 static void qed_iov_vf_mbx_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_txqs()
2653 static void qed_iov_vf_mbx_update_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_rxqs()
2724 void *qed_iov_search_list_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_search_list_tlvs()
2756 qed_iov_vp_update_act_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_act_param()
2776 qed_iov_vp_update_vlan_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_vlan_param()
2801 qed_iov_vp_update_tx_switch(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_tx_switch()
2820 qed_iov_vp_update_mcast_bin_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_mcast_bin_param()
2839 qed_iov_vp_update_accept_flag(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_flag()
2860 qed_iov_vp_update_accept_any_vlan(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_any_vlan()
2880 qed_iov_vp_update_rss_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_rss_param()
2946 qed_iov_vp_update_sge_tpa_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_sge_tpa_param()
3026 static void qed_iov_vf_mbx_vport_update(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_vport_update()
3110 static int qed_iov_vf_update_vlan_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_vlan_shadow()
3168 static int qed_iov_vf_update_mac_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_mac_shadow()
3227 qed_iov_vf_update_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_unicast_shadow()
3270 static void qed_iov_vf_mbx_ucast_filter(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_ucast_filter()
3359 static void qed_iov_vf_mbx_int_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_int_cleanup()
3376 static void qed_iov_vf_mbx_close(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_close()
3392 static void qed_iov_vf_mbx_release(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_release()
3420 static void qed_iov_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_get_coalesce()
3489 static void qed_iov_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_set_coalesce()
3572 qed_iov_vf_flr_poll_dorq(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_dorq()
3599 qed_iov_vf_flr_poll_pbf(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_pbf()
3646 static int qed_iov_vf_flr_poll(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll()
3663 qed_iov_execute_vf_flr_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_execute_vf_flr_cleanup()
3729 qed_iov_vf_flr_cleanup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iov_vf_flr_cleanup()
3750 bool qed_iov_mark_vf_flr(struct qed_hwfn *p_hwfn, u32 *p_disabled_vfs) in qed_iov_mark_vf_flr()
3799 static void qed_iov_get_link(struct qed_hwfn *p_hwfn, in qed_iov_get_link()
3824 qed_iov_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_bulletin_update_mac()
3857 static void qed_iov_process_mbx_req(struct qed_hwfn *p_hwfn, in qed_iov_process_mbx_req()
3982 static void qed_iov_pf_get_pending_events(struct qed_hwfn *p_hwfn, u64 *events) in qed_iov_pf_get_pending_events()
3997 static struct qed_vf_info *qed_sriov_get_vf_from_absid(struct qed_hwfn *p_hwfn, in qed_sriov_get_vf_from_absid()
4013 static int qed_sriov_vfpf_msg(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_msg()
4034 static void qed_sriov_vfpf_malicious(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_malicious()
4057 static int qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, in qed_sriov_eqe_event()
4076 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_get_next_active_vf()
4092 static int qed_iov_copy_vf_msg(struct qed_hwfn *p_hwfn, struct qed_ptt *ptt, in qed_iov_copy_vf_msg()
4119 static void qed_iov_bulletin_set_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_mac()
4157 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid) in qed_iov_bulletin_set_mac()
4192 static void qed_iov_bulletin_set_forced_vlan(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_vlan()
4221 void qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_udp_ports()
4244 static bool qed_iov_vf_has_vport_instance(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_vf_has_vport_instance()
4255 static bool qed_iov_is_vf_stopped(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_is_vf_stopped()
4266 static bool qed_iov_spoofchk_get(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_spoofchk_get()
4277 static int qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, int vfid, bool val) in qed_iov_spoofchk_set()
4305 static u8 *qed_iov_bulletin_get_mac(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_mac()
4320 static u8 *qed_iov_bulletin_get_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_get_forced_mac()
4336 qed_iov_bulletin_get_forced_vlan(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_forced_vlan()
4350 static int qed_iov_configure_tx_rate(struct qed_hwfn *p_hwfn, in qed_iov_configure_tx_rate()
4380 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate() local
4395 static int qed_iov_get_vf_min_rate(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_get_vf_min_rate()
4821 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure() local
4836 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate() local
5220 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start() local