Lines Matching refs:native_stats

217 	struct i40e_eth_stats native_stats;  in i40e_vf_representor_stats_get()  local
222 representor->vf_id, &native_stats); in i40e_vf_representor_stats_get()
226 &native_stats.rx_bytes); in i40e_vf_representor_stats_get()
229 &native_stats.rx_unicast); in i40e_vf_representor_stats_get()
232 &native_stats.rx_multicast); in i40e_vf_representor_stats_get()
235 &native_stats.rx_broadcast); in i40e_vf_representor_stats_get()
238 &native_stats.rx_discards); in i40e_vf_representor_stats_get()
241 &native_stats.rx_unknown_protocol); in i40e_vf_representor_stats_get()
244 &native_stats.tx_bytes); in i40e_vf_representor_stats_get()
247 &native_stats.tx_unicast); in i40e_vf_representor_stats_get()
250 &native_stats.tx_multicast); in i40e_vf_representor_stats_get()
253 &native_stats.tx_broadcast); in i40e_vf_representor_stats_get()
256 &native_stats.tx_errors); in i40e_vf_representor_stats_get()
259 &native_stats.tx_discards); in i40e_vf_representor_stats_get()
261 stats->ipackets = native_stats.rx_unicast + in i40e_vf_representor_stats_get()
262 native_stats.rx_multicast + in i40e_vf_representor_stats_get()
263 native_stats.rx_broadcast; in i40e_vf_representor_stats_get()
264 stats->opackets = native_stats.tx_unicast + in i40e_vf_representor_stats_get()
265 native_stats.tx_multicast + in i40e_vf_representor_stats_get()
266 native_stats.tx_broadcast; in i40e_vf_representor_stats_get()
267 stats->ibytes = native_stats.rx_bytes; in i40e_vf_representor_stats_get()
268 stats->obytes = native_stats.tx_bytes; in i40e_vf_representor_stats_get()
269 stats->ierrors = native_stats.rx_discards; in i40e_vf_representor_stats_get()
270 stats->oerrors = native_stats.tx_errors + native_stats.tx_discards; in i40e_vf_representor_stats_get()