Home
last modified time | relevance | path

Searched refs:vsi_stats (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_main.c3617 struct rtnl_link_stats64 *vsi_stats = &vsi->net_stats; in ice_update_vsi_ring_stats() local
3623 vsi_stats->tx_packets = 0; in ice_update_vsi_ring_stats()
3624 vsi_stats->tx_bytes = 0; in ice_update_vsi_ring_stats()
3625 vsi_stats->rx_packets = 0; in ice_update_vsi_ring_stats()
3626 vsi_stats->rx_bytes = 0; in ice_update_vsi_ring_stats()
3641 vsi_stats->tx_packets += pkts; in ice_update_vsi_ring_stats()
3642 vsi_stats->tx_bytes += bytes; in ice_update_vsi_ring_stats()
3652 vsi_stats->rx_packets += pkts; in ice_update_vsi_ring_stats()
3653 vsi_stats->rx_bytes += bytes; in ice_update_vsi_ring_stats()
3848 struct rtnl_link_stats64 *vsi_stats; in ice_get_stats64() local
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_main.c440 struct rtnl_link_stats64 *vsi_stats = i40e_get_vsi_stats_struct(vsi); in i40e_get_netdev_stats_struct() local
479 stats->multicast = vsi_stats->multicast; in i40e_get_netdev_stats_struct()
480 stats->tx_errors = vsi_stats->tx_errors; in i40e_get_netdev_stats_struct()
481 stats->tx_dropped = vsi_stats->tx_dropped; in i40e_get_netdev_stats_struct()
482 stats->rx_errors = vsi_stats->rx_errors; in i40e_get_netdev_stats_struct()
483 stats->rx_dropped = vsi_stats->rx_dropped; in i40e_get_netdev_stats_struct()
484 stats->rx_crc_errors = vsi_stats->rx_crc_errors; in i40e_get_netdev_stats_struct()
485 stats->rx_length_errors = vsi_stats->rx_length_errors; in i40e_get_netdev_stats_struct()