Searched refs:sw_xstats_offset (Results 1 – 1 of 1) sorted by relevance
509 unsigned int sw_xstats_offset; in sfc_sw_xstats_get_vals() local516 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() local573 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()