Searched refs:pestat (Results 1 – 6 of 6) sorted by relevance
1658 irdma_cqp_gather_stats_cmd(sc_vsi->dev, sc_vsi->pestat, false); in irdma_hw_stats_timeout()1660 irdma_cqp_gather_stats_gen1(sc_vsi->dev, sc_vsi->pestat); in irdma_hw_stats_timeout()1672 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_start_timer()1685 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_stop_timer()1694 static inline void irdma_process_stats(struct irdma_vsi_pestat *pestat) in irdma_process_stats() argument1696 sc_vsi_update_stats(pestat->vsi); in irdma_process_stats()1705 struct irdma_vsi_pestat *pestat) in irdma_cqp_gather_stats_gen1() argument1708 pestat->gather_info.gather_stats_va; in irdma_cqp_gather_stats_gen1()1716 stats_inst_offset_32 = (pestat->gather_info.use_stats_inst) ? in irdma_cqp_gather_stats_gen1()1717 pestat->gather_info.stats_inst_index : in irdma_cqp_gather_stats_gen1()[all …]
27 struct irdma_vsi_pestat *pestat, bool wait);29 struct irdma_vsi_pestat *pestat);
1950 vsi->pestat = info->pestat; in irdma_vsi_stats_init()1951 vsi->pestat->hw = vsi->dev->hw; in irdma_vsi_stats_init()1952 vsi->pestat->vsi = vsi; in irdma_vsi_stats_init()1953 stats_buff_mem = &vsi->pestat->gather_info.stats_buff_mem; in irdma_vsi_stats_init()1955 stats_buff_mem->va = dma_alloc_coherent(vsi->pestat->hw->device, in irdma_vsi_stats_init()1962 vsi->pestat->gather_info.gather_stats_va = stats_buff_mem->va; in irdma_vsi_stats_init()1963 vsi->pestat->gather_info.last_gather_stats_va = in irdma_vsi_stats_init()1977 vsi->pestat->gather_info.use_stats_inst = true; in irdma_vsi_stats_init()1978 vsi->pestat->gather_info.stats_inst_index = stats_idx; in irdma_vsi_stats_init()2010 if (!vsi->pestat) in irdma_vsi_stats_free()[all …]
1690 if (iwdev->vsi.pestat) { in irdma_rt_deinit_hw()1692 kfree(iwdev->vsi.pestat); in irdma_rt_deinit_hw()1816 stats_info.pestat = kzalloc(sizeof(*stats_info.pestat), GFP_KERNEL); in irdma_rt_init_hw()1817 if (!stats_info.pestat) { in irdma_rt_init_hw()1825 kfree(stats_info.pestat); in irdma_rt_init_hw()
561 struct irdma_vsi_pestat *pestat; member722 struct irdma_vsi_pestat *pestat; member
4044 struct irdma_dev_hw_stats *hw_stats = &iwdev->vsi.pestat->hw_stats; in irdma_get_hw_stats()4047 irdma_cqp_gather_stats_cmd(&iwdev->rf->sc_dev, iwdev->vsi.pestat, true); in irdma_get_hw_stats()4049 irdma_cqp_gather_stats_gen1(&iwdev->rf->sc_dev, iwdev->vsi.pestat); in irdma_get_hw_stats()