Lines Matching defs:p_hwfn

44 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf)  in qed_sp_vf_start()
106 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop()
133 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid()
157 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info()
197 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode()
226 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq()
242 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq()
258 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb()
275 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq()
289 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq()
303 static int qed_iov_post_vf_bulletin(struct qed_hwfn *p_hwfn, in qed_iov_post_vf_bulletin()
403 static void qed_iov_setup_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_setup_vfdb()
458 static int qed_iov_allocate_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_allocate_vfdb()
511 static void qed_iov_free_vfdb(struct qed_hwfn *p_hwfn) in qed_iov_free_vfdb()
534 int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc()
556 void qed_iov_setup(struct qed_hwfn *p_hwfn) in qed_iov_setup()
564 void qed_iov_free(struct qed_hwfn *p_hwfn) in qed_iov_free()
580 int qed_iov_hw_info(struct qed_hwfn *p_hwfn) in qed_iov_hw_info()
655 static bool _qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, in _qed_iov_pf_sanity_check()
670 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check()
682 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable() local
703 static void qed_iov_vf_pglue_clear_err(struct qed_hwfn *p_hwfn, in qed_iov_vf_pglue_clear_err()
711 static void qed_iov_vf_igu_reset(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_reset()
731 static void qed_iov_vf_igu_set_int(struct qed_hwfn *p_hwfn, in qed_iov_vf_igu_set_int()
753 qed_iov_enable_vf_access_msix(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access_msix()
781 static int qed_iov_enable_vf_access(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_access()
839 static void qed_iov_config_perm_table(struct qed_hwfn *p_hwfn, in qed_iov_config_perm_table()
857 static void qed_iov_enable_vf_traffic(struct qed_hwfn *p_hwfn, in qed_iov_enable_vf_traffic()
870 static u8 qed_iov_alloc_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_alloc_vf_igu_sbs()
912 static void qed_iov_free_vf_igu_sbs(struct qed_hwfn *p_hwfn, in qed_iov_free_vf_igu_sbs()
936 static void qed_iov_set_link(struct qed_hwfn *p_hwfn, in qed_iov_set_link()
975 static int qed_iov_init_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_init_hw_for_vf()
1085 static int qed_iov_release_hw_for_vf(struct qed_hwfn *p_hwfn, in qed_iov_release_hw_for_vf()
1145 void *qed_add_tlv(struct qed_hwfn *p_hwfn, u8 **offset, u16 type, u16 length) in qed_add_tlv()
1160 void qed_dp_tlv_list(struct qed_hwfn *p_hwfn, void *tlvs_list) in qed_dp_tlv_list()
1193 static void qed_iov_send_response(struct qed_hwfn *p_hwfn, in qed_iov_send_response()
1231 static u16 qed_iov_vport_to_tlv(struct qed_hwfn *p_hwfn, in qed_iov_vport_to_tlv()
1256 static u16 qed_iov_prep_vp_update_resp_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_prep_vp_update_resp_tlvs()
1300 static void qed_iov_prepare_resp(struct qed_hwfn *p_hwfn, in qed_iov_prepare_resp()
1317 qed_public_vf_info *qed_iov_get_public_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_public_vf_info()
1330 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf()
1346 static void qed_iov_vf_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_cleanup()
1380 static u32 qed_iov_vf_db_bar_size(struct qed_hwfn *p_hwfn, in qed_iov_vf_db_bar_size()
1391 qed_iov_vf_mbx_acquire_resc_cids(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc_cids()
1433 static u8 qed_iov_vf_mbx_acquire_resc(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_resc()
1514 static void qed_iov_vf_mbx_acquire_stats(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire_stats()
1533 static void qed_iov_vf_mbx_acquire(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_acquire()
1684 static int __qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, in __qed_iov_spoofchk_set()
1717 static int qed_iov_reconfigure_unicast_vlan(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_vlan()
1754 qed_iov_reconfigure_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_reconfigure_unicast_shadow()
1766 static int qed_iov_configure_vport_forced(struct qed_hwfn *p_hwfn, in qed_iov_configure_vport_forced()
1887 static void qed_iov_vf_mbx_start_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_vport()
1974 static void qed_iov_vf_mbx_stop_vport(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_vport()
2010 static void qed_iov_vf_mbx_start_rxq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq_resp()
2048 static u8 qed_iov_vf_mbx_qid(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_qid()
2084 static void qed_iov_vf_mbx_start_rxq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_rxq()
2237 qed_pf_validate_modify_tunn_config(struct qed_hwfn *p_hwfn, in qed_pf_validate_modify_tunn_config()
2296 static void qed_iov_vf_mbx_update_tunn_param(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_tunn_param()
2380 static void qed_iov_vf_mbx_start_txq_resp(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq_resp()
2417 static void qed_iov_vf_mbx_start_txq(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_start_txq()
2491 static int qed_iov_vf_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_rxqs()
2538 static int qed_iov_vf_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_stop_txqs()
2561 static void qed_iov_vf_mbx_stop_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_rxqs()
2599 static void qed_iov_vf_mbx_stop_txqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_stop_txqs()
2637 static void qed_iov_vf_mbx_update_rxqs(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_update_rxqs()
2708 void *qed_iov_search_list_tlvs(struct qed_hwfn *p_hwfn, in qed_iov_search_list_tlvs()
2740 qed_iov_vp_update_act_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_act_param()
2760 qed_iov_vp_update_vlan_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_vlan_param()
2785 qed_iov_vp_update_tx_switch(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_tx_switch()
2804 qed_iov_vp_update_mcast_bin_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_mcast_bin_param()
2823 qed_iov_vp_update_accept_flag(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_flag()
2844 qed_iov_vp_update_accept_any_vlan(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_accept_any_vlan()
2864 qed_iov_vp_update_rss_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_rss_param()
2930 qed_iov_vp_update_sge_tpa_param(struct qed_hwfn *p_hwfn, in qed_iov_vp_update_sge_tpa_param()
3010 static void qed_iov_vf_mbx_vport_update(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_vport_update()
3094 static int qed_iov_vf_update_vlan_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_vlan_shadow()
3152 static int qed_iov_vf_update_mac_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_mac_shadow()
3211 qed_iov_vf_update_unicast_shadow(struct qed_hwfn *p_hwfn, in qed_iov_vf_update_unicast_shadow()
3254 static void qed_iov_vf_mbx_ucast_filter(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_ucast_filter()
3341 static void qed_iov_vf_mbx_int_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_int_cleanup()
3358 static void qed_iov_vf_mbx_close(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_close()
3374 static void qed_iov_vf_mbx_release(struct qed_hwfn *p_hwfn, in qed_iov_vf_mbx_release()
3402 static void qed_iov_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_get_coalesce()
3471 static void qed_iov_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_set_coalesce()
3554 qed_iov_vf_flr_poll_dorq(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_dorq()
3581 qed_iov_vf_flr_poll_pbf(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll_pbf()
3628 static int qed_iov_vf_flr_poll(struct qed_hwfn *p_hwfn, in qed_iov_vf_flr_poll()
3645 qed_iov_execute_vf_flr_cleanup(struct qed_hwfn *p_hwfn, in qed_iov_execute_vf_flr_cleanup()
3711 qed_iov_vf_flr_cleanup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iov_vf_flr_cleanup()
3732 bool qed_iov_mark_vf_flr(struct qed_hwfn *p_hwfn, u32 *p_disabled_vfs) in qed_iov_mark_vf_flr()
3781 static void qed_iov_get_link(struct qed_hwfn *p_hwfn, in qed_iov_get_link()
3806 qed_iov_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, in qed_iov_vf_pf_bulletin_update_mac()
3839 static void qed_iov_process_mbx_req(struct qed_hwfn *p_hwfn, in qed_iov_process_mbx_req()
3964 static void qed_iov_pf_get_pending_events(struct qed_hwfn *p_hwfn, u64 *events) in qed_iov_pf_get_pending_events()
3979 static struct qed_vf_info *qed_sriov_get_vf_from_absid(struct qed_hwfn *p_hwfn, in qed_sriov_get_vf_from_absid()
3995 static int qed_sriov_vfpf_msg(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_msg()
4016 static void qed_sriov_vfpf_malicious(struct qed_hwfn *p_hwfn, in qed_sriov_vfpf_malicious()
4039 static int qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, u8 opcode, __le16 echo, in qed_sriov_eqe_event()
4056 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_get_next_active_vf()
4072 static int qed_iov_copy_vf_msg(struct qed_hwfn *p_hwfn, struct qed_ptt *ptt, in qed_iov_copy_vf_msg()
4100 static void qed_iov_bulletin_set_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_mac()
4138 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid) in qed_iov_bulletin_set_mac()
4173 static void qed_iov_bulletin_set_forced_vlan(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_forced_vlan()
4202 void qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_set_udp_ports()
4225 static bool qed_iov_vf_has_vport_instance(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_vf_has_vport_instance()
4236 static bool qed_iov_is_vf_stopped(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_is_vf_stopped()
4247 static bool qed_iov_spoofchk_get(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_spoofchk_get()
4258 static int qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, int vfid, bool val) in qed_iov_spoofchk_set()
4286 static u8 *qed_iov_bulletin_get_mac(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_mac()
4301 static u8 *qed_iov_bulletin_get_forced_mac(struct qed_hwfn *p_hwfn, in qed_iov_bulletin_get_forced_mac()
4317 qed_iov_bulletin_get_forced_vlan(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_forced_vlan()
4331 static int qed_iov_configure_tx_rate(struct qed_hwfn *p_hwfn, in qed_iov_configure_tx_rate()
4359 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate() local
4374 static int qed_iov_get_vf_min_rate(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_get_vf_min_rate()
4807 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure() local
4822 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate() local
5209 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start() local