Home
last modified time | relevance | path

Searched refs:sstats (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c870 struct mlx5e_sw_stats *sstats = &priv->stats.sw; in mlx5e_get_sw_stats64() local
874 stats->rx_packets = sstats->rx_packets; in mlx5e_get_sw_stats64()
875 stats->rx_bytes = sstats->rx_bytes; in mlx5e_get_sw_stats64()
876 stats->tx_packets = sstats->tx_packets; in mlx5e_get_sw_stats64()
877 stats->tx_bytes = sstats->tx_bytes; in mlx5e_get_sw_stats64()
879 stats->tx_dropped = sstats->tx_queue_dropped; in mlx5e_get_sw_stats64()
Den_main.c3436 struct mlx5e_sw_stats *sstats = &priv->stats.sw; in mlx5e_get_stats() local
3450 stats->rx_packets = sstats->rx_packets; in mlx5e_get_stats()
3451 stats->rx_bytes = sstats->rx_bytes; in mlx5e_get_stats()
3452 stats->tx_packets = sstats->tx_packets; in mlx5e_get_stats()
3453 stats->tx_bytes = sstats->tx_bytes; in mlx5e_get_stats()
3454 stats->tx_dropped = sstats->tx_queue_dropped; in mlx5e_get_stats()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h159 struct stmmac_safety_stats sstats; member
Dstmmac_ethtool.c524 if (!stmmac_safety_feat_dump(priv, &priv->sstats, i, in stmmac_get_ethtool_stats()
579 &priv->sstats, i, in stmmac_get_sset_count()
605 &priv->sstats, i, in stmmac_get_strings()
Dstmmac_main.c2023 priv->ioaddr, priv->dma_cap.asp, &priv->sstats); in stmmac_safety_feat_interrupt()