Searched refs:vstats (Results 1 – 6 of 6) sorted by relevance
122 struct pcpu_vstats *stats = this_cpu_ptr(dev->vstats); in veth_xmit()148 struct pcpu_vstats *stats = per_cpu_ptr(dev->vstats, cpu); in veth_stats_one()233 dev->vstats = netdev_alloc_pcpu_stats(struct pcpu_vstats); in veth_dev_init()234 if (!dev->vstats) in veth_dev_init()241 free_percpu(dev->vstats); in veth_dev_free()
39 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats) in enic_dev_stats_dump() argument44 err = vnic_dev_stats_dump(enic->vdev, vstats); in enic_dev_stats_dump()
189 struct vnic_stats *vstats; in enic_get_ethtool_stats() local193 err = enic_dev_stats_dump(enic, &vstats); in enic_get_ethtool_stats()202 *(data++) = ((u64 *)&vstats->tx)[enic_tx_stats[i].index]; in enic_get_ethtool_stats()204 *(data++) = ((u64 *)&vstats->rx)[enic_rx_stats[i].index]; in enic_get_ethtool_stats()
43 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats);
1818 struct mlx5e_vport_stats *vstats = &priv->stats.vport; in mlx5e_get_stats() local1820 stats->rx_packets = vstats->rx_packets; in mlx5e_get_stats()1821 stats->rx_bytes = vstats->rx_bytes; in mlx5e_get_stats()1822 stats->tx_packets = vstats->tx_packets; in mlx5e_get_stats()1823 stats->tx_bytes = vstats->tx_bytes; in mlx5e_get_stats()1824 stats->multicast = vstats->rx_multicast_packets + in mlx5e_get_stats()1825 vstats->tx_multicast_packets; in mlx5e_get_stats()1826 stats->tx_errors = vstats->tx_error_packets; in mlx5e_get_stats()1827 stats->rx_errors = vstats->rx_error_packets; in mlx5e_get_stats()1828 stats->tx_dropped = vstats->tx_queue_dropped; in mlx5e_get_stats()
1768 struct pcpu_vstats __percpu *vstats; member