Searched refs:ts_stats (Results 1 – 5 of 5) sorted by relevance
1182 struct ethtool_ts_stats *ts_stats) in mlx5e_stats_ts_get() argument1191 ts_stats->pkts = 0; in mlx5e_stats_ts_get()1192 ts_stats->err = 0; in mlx5e_stats_ts_get()1193 ts_stats->lost = 0; in mlx5e_stats_ts_get()1203 ts_stats->pkts += stats->cqe; in mlx5e_stats_ts_get()1204 ts_stats->err += stats->abort + stats->err_cqe + in mlx5e_stats_ts_get()1206 ts_stats->lost += stats->lost_cqe; in mlx5e_stats_ts_get()1212 ts_stats->pkts = 0; in mlx5e_stats_ts_get()1221 ts_stats->pkts += stats->timestamps; in mlx5e_stats_ts_get()
132 struct ethtool_ts_stats *ts_stats);
2599 struct ethtool_ts_stats *ts_stats) in mlx5e_get_ts_stats() argument2603 mlx5e_stats_ts_get(priv, ts_stats); in mlx5e_get_ts_stats()
1045 struct ethtool_ts_stats *ts_stats);
5259 struct ethtool_ts_stats *ts_stats) in bnxt_get_ptp_stats() argument5265 ts_stats->pkts = ptp->stats.ts_pkts; in bnxt_get_ptp_stats()5266 ts_stats->lost = ptp->stats.ts_lost; in bnxt_get_ptp_stats()5267 ts_stats->err = atomic64_read(&ptp->stats.ts_err); in bnxt_get_ptp_stats()