Home
last modified time | relevance | path

Searched refs:pestat (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/irdma/
Dutils.c1663 irdma_cqp_gather_stats_cmd(sc_vsi->dev, sc_vsi->pestat, false); in irdma_hw_stats_timeout()
1665 irdma_cqp_gather_stats_gen1(sc_vsi->dev, sc_vsi->pestat); in irdma_hw_stats_timeout()
1677 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_start_timer()
1690 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_stop_timer()
1699 static inline void irdma_process_stats(struct irdma_vsi_pestat *pestat) in irdma_process_stats() argument
1701 sc_vsi_update_stats(pestat->vsi); in irdma_process_stats()
1710 struct irdma_vsi_pestat *pestat) in irdma_cqp_gather_stats_gen1() argument
1713 pestat->gather_info.gather_stats_va; in irdma_cqp_gather_stats_gen1()
1721 stats_inst_offset_32 = (pestat->gather_info.use_stats_inst) ? in irdma_cqp_gather_stats_gen1()
1722 pestat->gather_info.stats_inst_index : in irdma_cqp_gather_stats_gen1()
[all …]
Dprotos.h27 struct irdma_vsi_pestat *pestat, bool wait);
29 struct irdma_vsi_pestat *pestat);
Dctrl.c1950 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 …]
Dhw.c1690 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()
Dtype.h561 struct irdma_vsi_pestat *pestat; member
722 struct irdma_vsi_pestat *pestat; member
Dverbs.c3898 struct irdma_dev_hw_stats *hw_stats = &iwdev->vsi.pestat->hw_stats; in irdma_get_hw_stats()
3901 irdma_cqp_gather_stats_cmd(&iwdev->rf->sc_dev, iwdev->vsi.pestat, true); in irdma_get_hw_stats()
3903 irdma_cqp_gather_stats_gen1(&iwdev->rf->sc_dev, iwdev->vsi.pestat); in irdma_get_hw_stats()