Home
last modified time | relevance | path

Searched refs:stats_idx (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c162 int stats_idx, base_stats_idx, max_stats_idx; in gve_get_ethtool_stats() local
256 for (stats_idx = base_stats_idx; stats_idx < max_stats_idx; in gve_get_ethtool_stats()
257 stats_idx += NIC_RX_STATS_REPORT_NUM) { in gve_get_ethtool_stats()
266 rx_qid_to_stats_idx[queue_id] = stats_idx; in gve_get_ethtool_stats()
302 stats_idx = rx_qid_to_stats_idx[ring]; in gve_get_ethtool_stats()
305 be64_to_cpu(report_stats[stats_idx + j].value); in gve_get_ethtool_stats()
332 for (stats_idx = base_stats_idx; stats_idx < max_stats_idx; in gve_get_ethtool_stats()
333 stats_idx += NIC_TX_STATS_REPORT_NUM) { in gve_get_ethtool_stats()
342 tx_qid_to_stats_idx[queue_id] = stats_idx; in gve_get_ethtool_stats()
377 stats_idx = tx_qid_to_stats_idx[ring]; in gve_get_ethtool_stats()
[all …]
H A Dgve_main.c1923 int idx, stats_idx = 0; in gve_handle_report_stats() local
1947 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1952 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1957 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1962 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1967 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1972 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1982 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
1987 stats[stats_idx++] = (struct stats) { in gve_handle_report_stats()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dpuda.h94 u8 stats_idx; member
144 u8 stats_idx; member
H A Dctrl.c718 FIELD_PREP(IRDMAQPC_STAT_INDEX, info->stats_idx)); in irdma_sc_qp_setctx_roce()
1900 return stats_info.stats_idx; in irdma_get_stats_idx()
1925 u16 i, stats_reg_set = vsi->stats_idx; in irdma_hw_stats_init_gen1()
1970 vsi->stats_idx = info->fcn_id; in irdma_vsi_stats_init()
1972 u8 stats_idx = irdma_get_stats_idx(vsi); in irdma_vsi_stats_init() local
1974 if (stats_idx != IRDMA_INVALID_STATS_IDX) { in irdma_vsi_stats_init()
1976 vsi->stats_idx = stats_idx; in irdma_vsi_stats_init()
1996 u8 stats_idx = vsi->stats_idx; in irdma_vsi_stats_free() local
2000 stats_info.stats_idx = vsi->stats_idx; in irdma_vsi_stats_free()
2006 stats_idx < vsi->dev->hw_attrs.max_stat_inst) in irdma_vsi_stats_free()
[all …]
H A Dtype.h492 u8 stats_idx; member
569 u8 stats_idx; member
937 u8 stats_idx; member
H A Dpuda.c585 FIELD_PREP(IRDMAQPC_STAT_INDEX, rsrc->stats_idx)); in irdma_puda_qp_setctx()
1070 rsrc->stats_idx = info->stats_idx; in irdma_puda_create_rsrc()
H A Dutils.c1820 stats_info->stats_idx = cqp_request->compl_info.op_ret_val; in irdma_cqp_stats_inst_cmd()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_type.h431 #define stats_idx timeout.base_h macro
H A Dfm10k_pf.c1465 if (stats->stats_idx == id) { in fm10k_update_hw_stats_pf()
1485 stats->stats_idx = id; in fm10k_update_hw_stats_pf()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h799 u16 stats_idx; /* index of VEB parent */ member
H A Di40e_debugfs.c708 veb->idx, veb->veb_idx, veb->stats_idx, veb->seid, in i40e_dbg_dump_veb_seid()
H A Di40e_main.c796 idx = veb->stats_idx; in i40e_update_veb_stats()
14877 &veb->stats_idx, NULL, NULL, NULL); in i40e_add_veb()