Home
last modified time | relevance | path

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

/dpdk/drivers/net/sfc/
H A Dsfc_sw_stats.c509 unsigned int sw_xstats_offset; in sfc_sw_xstats_get_vals() local
516 sw_xstats_offset = *nb_supported; in sfc_sw_xstats_get_vals()
523 for (i = sw_xstats_offset; i < *nb_written; i++) in sfc_sw_xstats_get_vals()
524 xstats[i].value -= reset_vals[i - sw_xstats_offset]; in sfc_sw_xstats_get_vals()
566 unsigned int sw_xstats_offset; in sfc_sw_xstats_get_vals_by_id() local
573 sw_xstats_offset = *nb_supported; in sfc_sw_xstats_get_vals_by_id()
581 if (sw_xstats_offset <= ids[i] && ids[i] < *nb_supported) in sfc_sw_xstats_get_vals_by_id()
582 values[i] -= reset_vals[ids[i] - sw_xstats_offset]; in sfc_sw_xstats_get_vals_by_id()