MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ice_dcf_update_stats

Function ice_dcf_update_stats

dpdk/drivers/net/ice/ice_dcf_ethdev.c:1498–1513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1496}
1497
1498static void
1499ice_dcf_update_stats(struct virtchnl_eth_stats *oes,
1500 struct virtchnl_eth_stats *nes)
1501{
1502 ice_dcf_stat_update_48(&oes->rx_bytes, &nes->rx_bytes);
1503 ice_dcf_stat_update_48(&oes->rx_unicast, &nes->rx_unicast);
1504 ice_dcf_stat_update_48(&oes->rx_multicast, &nes->rx_multicast);
1505 ice_dcf_stat_update_48(&oes->rx_broadcast, &nes->rx_broadcast);
1506 ice_dcf_stat_update_32(&oes->rx_discards, &nes->rx_discards);
1507 ice_dcf_stat_update_48(&oes->tx_bytes, &nes->tx_bytes);
1508 ice_dcf_stat_update_48(&oes->tx_unicast, &nes->tx_unicast);
1509 ice_dcf_stat_update_48(&oes->tx_multicast, &nes->tx_multicast);
1510 ice_dcf_stat_update_48(&oes->tx_broadcast, &nes->tx_broadcast);
1511 ice_dcf_stat_update_32(&oes->tx_errors, &nes->tx_errors);
1512 ice_dcf_stat_update_32(&oes->tx_discards, &nes->tx_discards);
1513}
1514
1515
1516static int

Callers 2

ice_dcf_stats_getFunction · 0.85
ice_dcf_xstats_getFunction · 0.85

Calls 2

ice_dcf_stat_update_48Function · 0.85
ice_dcf_stat_update_32Function · 0.85

Tested by

no test coverage detected