Lines Matching refs:eth

5259 			   pf->offset_loaded, &os->eth.rx_bytes,  in ice_read_stats_registers()
5260 &ns->eth.rx_bytes); in ice_read_stats_registers()
5263 pf->offset_loaded, &os->eth.rx_unicast, in ice_read_stats_registers()
5264 &ns->eth.rx_unicast); in ice_read_stats_registers()
5267 pf->offset_loaded, &os->eth.rx_multicast, in ice_read_stats_registers()
5268 &ns->eth.rx_multicast); in ice_read_stats_registers()
5271 pf->offset_loaded, &os->eth.rx_broadcast, in ice_read_stats_registers()
5272 &ns->eth.rx_broadcast); in ice_read_stats_registers()
5274 pf->offset_loaded, &os->eth.rx_discards, in ice_read_stats_registers()
5275 &ns->eth.rx_discards); in ice_read_stats_registers()
5278 if (ICE_RXTX_BYTES_LOW(pf->old_rx_bytes) > ns->eth.rx_bytes) in ice_read_stats_registers()
5279 ns->eth.rx_bytes += (uint64_t)1 << ICE_40_BIT_WIDTH; in ice_read_stats_registers()
5280 ns->eth.rx_bytes += ICE_RXTX_BYTES_HIGH(pf->old_rx_bytes); in ice_read_stats_registers()
5282 pf->old_rx_bytes = ns->eth.rx_bytes; in ice_read_stats_registers()
5288 ns->eth.rx_bytes -= (ns->eth.rx_unicast + ns->eth.rx_multicast + in ice_read_stats_registers()
5289 ns->eth.rx_broadcast) * RTE_ETHER_CRC_LEN; in ice_read_stats_registers()
5295 &os->eth.rx_unknown_protocol, in ice_read_stats_registers()
5296 &ns->eth.rx_unknown_protocol); in ice_read_stats_registers()
5299 pf->offset_loaded, &os->eth.tx_bytes, in ice_read_stats_registers()
5300 &ns->eth.tx_bytes); in ice_read_stats_registers()
5303 pf->offset_loaded, &os->eth.tx_unicast, in ice_read_stats_registers()
5304 &ns->eth.tx_unicast); in ice_read_stats_registers()
5307 pf->offset_loaded, &os->eth.tx_multicast, in ice_read_stats_registers()
5308 &ns->eth.tx_multicast); in ice_read_stats_registers()
5311 pf->offset_loaded, &os->eth.tx_broadcast, in ice_read_stats_registers()
5312 &ns->eth.tx_broadcast); in ice_read_stats_registers()
5315 if (ICE_RXTX_BYTES_LOW(pf->old_tx_bytes) > ns->eth.tx_bytes) in ice_read_stats_registers()
5316 ns->eth.tx_bytes += (uint64_t)1 << ICE_40_BIT_WIDTH; in ice_read_stats_registers()
5317 ns->eth.tx_bytes += ICE_RXTX_BYTES_HIGH(pf->old_tx_bytes); in ice_read_stats_registers()
5319 pf->old_tx_bytes = ns->eth.tx_bytes; in ice_read_stats_registers()
5320 ns->eth.tx_bytes -= (ns->eth.tx_unicast + ns->eth.tx_multicast + in ice_read_stats_registers()
5321 ns->eth.tx_broadcast) * RTE_ETHER_CRC_LEN; in ice_read_stats_registers()
5452 stats->opackets = ns->eth.tx_unicast + in ice_stats_get()
5453 ns->eth.tx_multicast + in ice_stats_get()
5454 ns->eth.tx_broadcast; in ice_stats_get()
5456 stats->obytes = ns->eth.tx_bytes; in ice_stats_get()
5457 stats->oerrors = ns->eth.tx_errors + in ice_stats_get()
5461 stats->imissed = ns->eth.rx_discards + in ice_stats_get()
5468 PMD_DRV_LOG(DEBUG, "rx_bytes: %"PRIu64"", ns->eth.rx_bytes); in ice_stats_get()
5469 PMD_DRV_LOG(DEBUG, "rx_unicast: %"PRIu64"", ns->eth.rx_unicast); in ice_stats_get()
5470 PMD_DRV_LOG(DEBUG, "rx_multicast:%"PRIu64"", ns->eth.rx_multicast); in ice_stats_get()
5471 PMD_DRV_LOG(DEBUG, "rx_broadcast:%"PRIu64"", ns->eth.rx_broadcast); in ice_stats_get()
5472 PMD_DRV_LOG(DEBUG, "rx_discards:%"PRIu64"", ns->eth.rx_discards); in ice_stats_get()
5476 ns->eth.rx_unknown_protocol); in ice_stats_get()
5477 PMD_DRV_LOG(DEBUG, "tx_bytes: %"PRIu64"", ns->eth.tx_bytes); in ice_stats_get()
5478 PMD_DRV_LOG(DEBUG, "tx_unicast: %"PRIu64"", ns->eth.tx_unicast); in ice_stats_get()
5479 PMD_DRV_LOG(DEBUG, "tx_multicast:%"PRIu64"", ns->eth.tx_multicast); in ice_stats_get()
5480 PMD_DRV_LOG(DEBUG, "tx_broadcast:%"PRIu64"", ns->eth.tx_broadcast); in ice_stats_get()
5481 PMD_DRV_LOG(DEBUG, "tx_discards:%"PRIu64"", ns->eth.tx_discards); in ice_stats_get()
5484 PMD_DRV_LOG(DEBUG, "tx_errors: %"PRIu64"", ns->eth.tx_errors); in ice_stats_get()
5575 *(uint64_t *)((char *)&hw_stats->eth + in ice_xstats_get()