Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/google/gve/
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()
258 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats()
259 u32 queue_id = be32_to_cpu(report_stats[stats_idx].queue_id); 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()
[all …]
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()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dpuda.h94 u8 stats_idx; member
144 u8 stats_idx; member
Dctrl.c718 FIELD_PREP(IRDMAQPC_STAT_INDEX, info->stats_idx)); in irdma_sc_qp_setctx_roce()
935 FIELD_PREP(IRDMAQPC_STAT_INDEX, info->stats_idx)); in irdma_sc_qp_setctx()
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()
1978 vsi->pestat->gather_info.stats_inst_index = stats_idx; in irdma_vsi_stats_init()
1996 u8 stats_idx = vsi->stats_idx; in irdma_vsi_stats_free() local
[all …]
Dtype.h492 u8 stats_idx; member
569 u8 stats_idx; member
937 u8 stats_idx; member
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()
Dutils.c1820 stats_info->stats_idx = cqp_request->compl_info.op_ret_val; in irdma_cqp_stats_inst_cmd()
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_type.h431 #define stats_idx timeout.base_h macro
Dfm10k_pf.c1464 if (stats->stats_idx == id) { in fm10k_update_hw_stats_pf()
1484 stats->stats_idx = id; in fm10k_update_hw_stats_pf()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e.h825 u16 stats_idx; /* index of VEB parent */ member
Di40e_debugfs.c706 veb->idx, veb->veb_idx, veb->stats_idx, veb->seid, in i40e_dbg_dump_veb_seid()
Di40e_main.c782 idx = veb->stats_idx; in i40e_update_veb_stats()
14846 &veb->stats_idx, NULL, NULL, NULL); in i40e_add_veb()