Searched refs:cnt_stats (Results 1 – 3 of 3) sorted by relevance
52 uint16_t cnt_stats; member153 stats->cnt_stats += cnt_names; in rte_metrics_reg_names()193 if (key >= stats->cnt_stats) { in rte_metrics_update_values()244 if (capacity < stats->cnt_stats) { in rte_metrics_get_names()245 return_value = stats->cnt_stats; in rte_metrics_get_names()254 return_value = stats->cnt_stats; in rte_metrics_get_names()282 if (capacity < stats->cnt_stats) { in rte_metrics_get_values()283 return_value = stats->cnt_stats; in rte_metrics_get_values()289 idx_name < stats->cnt_stats; in rte_metrics_get_values()297 idx_name < stats->cnt_stats; in rte_metrics_get_values()[all …]
828 int cnt_stats = hns3_xstats_calc_num(dev); in hns3_dev_xstats_get_names() local833 return cnt_stats; in hns3_dev_xstats_get_names()936 if (ids == NULL || size < cnt_stats) in hns3_dev_xstats_get_by_id()937 return cnt_stats; in hns3_dev_xstats_get_by_id()946 len = cnt_stats * sizeof(struct rte_eth_xstat); in hns3_dev_xstats_get_by_id()955 if (count_value != cnt_stats) { in hns3_dev_xstats_get_by_id()961 if (ids[i] >= cnt_stats) { in hns3_dev_xstats_get_by_id()963 "should < %u", i, ids[i], cnt_stats); in hns3_dev_xstats_get_by_id()1009 return cnt_stats; in hns3_dev_xstats_get_names_by_id()1022 if (ids[i] >= cnt_stats) { in hns3_dev_xstats_get_names_by_id()[all …]
3372 const unsigned cnt_stats = ixgbe_xstats_calc_num(); in ixgbe_dev_xstats_get_names() local3420 return cnt_stats; in ixgbe_dev_xstats_get_names()3430 const unsigned int cnt_stats = ixgbe_xstats_calc_num(); in ixgbe_dev_xstats_get_names_by_id() local3478 return cnt_stats; in ixgbe_dev_xstats_get_names_by_id()