Searched refs:pestat (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/irdma/ |
D | protos.h | 27 struct irdma_vsi_pestat *pestat, bool wait); 29 struct irdma_vsi_pestat *pestat);
|
D | utils.c | 1637 irdma_cqp_gather_stats_gen1(sc_vsi->dev, sc_vsi->pestat); in irdma_hw_stats_timeout() 1639 irdma_cqp_gather_stats_cmd(sc_vsi->dev, sc_vsi->pestat, false); in irdma_hw_stats_timeout() 1651 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_start_timer() 1664 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_stop_timer() 1673 static inline void irdma_process_stats(struct irdma_vsi_pestat *pestat) in irdma_process_stats() argument 1675 sc_vsi_update_stats(pestat->vsi); in irdma_process_stats() 1684 struct irdma_vsi_pestat *pestat) in irdma_cqp_gather_stats_gen1() argument 1687 pestat->gather_info.gather_stats_va; in irdma_cqp_gather_stats_gen1() 1691 stats_inst_offset_32 = (pestat->gather_info.use_stats_inst) ? in irdma_cqp_gather_stats_gen1() 1692 pestat->gather_info.stats_inst_index : in irdma_cqp_gather_stats_gen1() [all …]
|
D | ctrl.c | 1929 vsi->pestat = info->pestat; in irdma_vsi_stats_init() 1930 vsi->pestat->hw = vsi->dev->hw; in irdma_vsi_stats_init() 1931 vsi->pestat->vsi = vsi; in irdma_vsi_stats_init() 1932 stats_buff_mem = &vsi->pestat->gather_info.stats_buff_mem; in irdma_vsi_stats_init() 1934 stats_buff_mem->va = dma_alloc_coherent(vsi->pestat->hw->device, in irdma_vsi_stats_init() 1941 vsi->pestat->gather_info.gather_stats_va = stats_buff_mem->va; in irdma_vsi_stats_init() 1942 vsi->pestat->gather_info.last_gather_stats_va = in irdma_vsi_stats_init() 1955 vsi->pestat->gather_info.use_stats_inst = true; in irdma_vsi_stats_init() 1956 vsi->pestat->gather_info.stats_inst_index = fcn_id; in irdma_vsi_stats_init() 1962 dma_free_coherent(vsi->pestat->hw->device, stats_buff_mem->size, in irdma_vsi_stats_init() [all …]
|
D | hw.c | 1647 if (iwdev->vsi.pestat) { in irdma_rt_deinit_hw() 1649 kfree(iwdev->vsi.pestat); in irdma_rt_deinit_hw() 1773 stats_info.pestat = kzalloc(sizeof(*stats_info.pestat), GFP_KERNEL); in irdma_rt_init_hw() 1774 if (!stats_info.pestat) { in irdma_rt_init_hw() 1782 kfree(stats_info.pestat); in irdma_rt_init_hw()
|
D | type.h | 605 struct irdma_vsi_pestat *pestat; member 763 struct irdma_vsi_pestat *pestat; member
|
D | verbs.c | 3748 struct irdma_dev_hw_stats *hw_stats = &iwdev->vsi.pestat->hw_stats; in irdma_get_hw_stats() 3751 irdma_cqp_gather_stats_cmd(&iwdev->rf->sc_dev, iwdev->vsi.pestat, true); in irdma_get_hw_stats() 3753 irdma_cqp_gather_stats_gen1(&iwdev->rf->sc_dev, iwdev->vsi.pestat); in irdma_get_hw_stats()
|