Lines Matching defs:veb

258 	I40E_VEB_STAT("veb.rx_bytes", stats.rx_bytes),
259 I40E_VEB_STAT("veb.tx_bytes", stats.tx_bytes),
260 I40E_VEB_STAT("veb.rx_unicast", stats.rx_unicast),
261 I40E_VEB_STAT("veb.tx_unicast", stats.tx_unicast),
262 I40E_VEB_STAT("veb.rx_multicast", stats.rx_multicast),
263 I40E_VEB_STAT("veb.tx_multicast", stats.tx_multicast),
264 I40E_VEB_STAT("veb.rx_broadcast", stats.rx_broadcast),
265 I40E_VEB_STAT("veb.tx_broadcast", stats.tx_broadcast),
266 I40E_VEB_STAT("veb.rx_discards", stats.rx_discards),
267 I40E_VEB_STAT("veb.tx_discards", stats.tx_discards),
268 I40E_VEB_STAT("veb.tx_errors", stats.tx_errors),
269 I40E_VEB_STAT("veb.rx_unknown_protocol", stats.rx_unknown_protocol),
280 I40E_VEB_TC_STAT("veb.tc_%u_tx_packets", tc_tx_packets),
281 I40E_VEB_TC_STAT("veb.tc_%u_tx_bytes", tc_tx_bytes),
282 I40E_VEB_TC_STAT("veb.tc_%u_rx_packets", tc_rx_packets),
283 I40E_VEB_TC_STAT("veb.tc_%u_rx_bytes", tc_rx_bytes),
451 I40E_PRIV_FLAG("veb-stats", I40E_FLAG_VEB_STATS_ENA, 0),
2343 * @tc: the TC statistics in VEB structure (veb->tc_stats)
2344 * @i: the index of traffic class in (veb->tc_stats) structure to copy
2346 * Copy VEB TC statistics from structure of arrays (veb->tc_stats) to
2409 struct i40e_veb *veb = NULL;
2431 veb = i40e_pf_get_main_veb(pf);
2432 veb_stats = veb && test_bit(I40E_FLAG_VEB_STATS_ENA, pf->flags);
2435 i40e_update_veb_stats(veb);
2437 /* If veb stats aren't enabled, pass NULL instead of the veb so that
2441 i40e_add_ethtool_stats(&data, veb_stats ? veb : NULL,
2447 i40e_get_veb_tc_stats(&veb->tc_stats, i);