Searched refs:vsi_stats (Results 1 – 5 of 5) sorted by relevance
5061 pf->vsi_stats = devm_kcalloc(dev, pf->num_alloc_vsi, in ice_alloc_vsis()5062 sizeof(*pf->vsi_stats), GFP_KERNEL); in ice_alloc_vsis()5063 if (!pf->vsi_stats) { in ice_alloc_vsis()5073 devm_kfree(ice_pf_to_dev(pf), pf->vsi_stats); in ice_dealloc_vsis()5074 pf->vsi_stats = NULL; in ice_dealloc_vsis()6854 struct rtnl_link_stats64 *vsi_stats, in ice_update_vsi_tx_ring_stats() argument6869 vsi_stats->tx_packets += pkts; in ice_update_vsi_tx_ring_stats()6870 vsi_stats->tx_bytes += bytes; in ice_update_vsi_tx_ring_stats()6884 struct rtnl_link_stats64 *vsi_stats; in ice_update_vsi_ring_stats() local6889 vsi_stats = kzalloc(sizeof(*vsi_stats), GFP_ATOMIC); in ice_update_vsi_ring_stats()[all …]
341 if (!pf->vsi_stats) in ice_vsi_free_stats()344 vsi_stat = pf->vsi_stats[vsi->idx]; in ice_vsi_free_stats()365 pf->vsi_stats[vsi->idx] = NULL; in ice_vsi_free_stats()376 struct ice_vsi_stats *vsi_stats; in ice_vsi_alloc_ring_stats() local380 vsi_stats = pf->vsi_stats[vsi->idx]; in ice_vsi_alloc_ring_stats()381 tx_ring_stats = vsi_stats->tx_ring_stats; in ice_vsi_alloc_ring_stats()382 rx_ring_stats = vsi_stats->rx_ring_stats; in ice_vsi_alloc_ring_stats()520 if (!pf->vsi_stats) in ice_vsi_alloc_stat_arrays()523 if (pf->vsi_stats[vsi->idx]) in ice_vsi_alloc_stat_arrays()543 pf->vsi_stats[vsi->idx] = vsi_stat; in ice_vsi_alloc_stat_arrays()[all …]
31 if (!pf->vsi_stats) in ice_qp_reset_stats()34 vsi_stat = pf->vsi_stats[vsi->idx]; in ice_qp_reset_stats()
569 struct ice_vsi_stats **vsi_stats; member
465 struct rtnl_link_stats64 *vsi_stats = i40e_get_vsi_stats_struct(vsi); in i40e_get_netdev_stats_struct() local508 stats->multicast = vsi_stats->multicast; in i40e_get_netdev_stats_struct()509 stats->tx_errors = vsi_stats->tx_errors; in i40e_get_netdev_stats_struct()510 stats->tx_dropped = vsi_stats->tx_dropped; in i40e_get_netdev_stats_struct()511 stats->rx_errors = vsi_stats->rx_errors; in i40e_get_netdev_stats_struct()512 stats->rx_dropped = vsi_stats->rx_dropped; in i40e_get_netdev_stats_struct()513 stats->rx_missed_errors = vsi_stats->rx_missed_errors; in i40e_get_netdev_stats_struct()514 stats->rx_crc_errors = vsi_stats->rx_crc_errors; in i40e_get_netdev_stats_struct()515 stats->rx_length_errors = vsi_stats->rx_length_errors; in i40e_get_netdev_stats_struct()