Searched refs:vsi_stats (Results 1 – 5 of 5) sorted by relevance
4853 if (!pf->vsi_stats) { in ice_alloc_vsis()4864 pf->vsi_stats = NULL; in ice_dealloc_vsis()6568 vsi_stats->tx_packets += pkts; in ice_update_vsi_tx_ring_stats()6569 vsi_stats->tx_bytes += bytes; in ice_update_vsi_tx_ring_stats()6583 struct rtnl_link_stats64 *vsi_stats; in ice_update_vsi_ring_stats() local6588 vsi_stats = kzalloc(sizeof(*vsi_stats), GFP_ATOMIC); in ice_update_vsi_ring_stats()6589 if (!vsi_stats) in ice_update_vsi_ring_stats()6614 vsi_stats->rx_packets += pkts; in ice_update_vsi_ring_stats()6615 vsi_stats->rx_bytes += bytes; in ice_update_vsi_ring_stats()6647 kfree(vsi_stats); in ice_update_vsi_ring_stats()[all …]
343 if (!pf->vsi_stats) in ice_vsi_free_stats()346 vsi_stat = pf->vsi_stats[vsi->idx]; in ice_vsi_free_stats()367 pf->vsi_stats[vsi->idx] = NULL; in ice_vsi_free_stats()378 struct ice_vsi_stats *vsi_stats; in ice_vsi_alloc_ring_stats() local382 vsi_stats = pf->vsi_stats[vsi->idx]; in ice_vsi_alloc_ring_stats()383 tx_ring_stats = vsi_stats->tx_ring_stats; in ice_vsi_alloc_ring_stats()540 if (!pf->vsi_stats) in ice_vsi_alloc_stat_arrays()543 if (pf->vsi_stats[vsi->idx]) in ice_vsi_alloc_stat_arrays()563 pf->vsi_stats[vsi->idx] = vsi_stat; in ice_vsi_alloc_stat_arrays()572 pf->vsi_stats[vsi->idx] = NULL; 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()
557 struct ice_vsi_stats **vsi_stats; member
464 struct rtnl_link_stats64 *vsi_stats = i40e_get_vsi_stats_struct(vsi); in i40e_get_netdev_stats_struct() local507 stats->multicast = vsi_stats->multicast; in i40e_get_netdev_stats_struct()508 stats->tx_errors = vsi_stats->tx_errors; in i40e_get_netdev_stats_struct()509 stats->tx_dropped = vsi_stats->tx_dropped; in i40e_get_netdev_stats_struct()510 stats->rx_errors = vsi_stats->rx_errors; in i40e_get_netdev_stats_struct()511 stats->rx_dropped = vsi_stats->rx_dropped; in i40e_get_netdev_stats_struct()512 stats->rx_crc_errors = vsi_stats->rx_crc_errors; in i40e_get_netdev_stats_struct()513 stats->rx_length_errors = vsi_stats->rx_length_errors; in i40e_get_netdev_stats_struct()