Home
last modified time | relevance | path

Searched refs:stats_base (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c66 } stats_base; member
321 struct mlxsw_sp_qdisc_stats *stats_base = &mlxsw_sp_qdisc->stats_base; in mlxsw_sp_qdisc_update_stats() local
323 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats()
324 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats()
325 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()
326 backlog -= stats_base->backlog; in mlxsw_sp_qdisc_update_stats()
332 stats_base->backlog += backlog; in mlxsw_sp_qdisc_update_stats()
333 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()
334 stats_base->tx_bytes += tx_bytes; in mlxsw_sp_qdisc_update_stats()
335 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_update_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c2218 const u8 *stats_base; in virtnet_get_ethtool_stats() local
2224 stats_base = (u8 *)&rq->stats; in virtnet_get_ethtool_stats()
2229 data[idx + j] = *(u64 *)(stats_base + offset); in virtnet_get_ethtool_stats()
2238 stats_base = (u8 *)&sq->stats; in virtnet_get_ethtool_stats()
2243 data[idx + j] = *(u64 *)(stats_base + offset); in virtnet_get_ethtool_stats()
Dveth.c185 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats() local
193 data[idx + j] = *(u64 *)(stats_base + offset); in veth_get_ethtool_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1110 void __iomem *stats_base; member
Dmvpp2_main.c1521 val = readl(port->stats_base + counter->offset); in mvpp2_read_count()
1523 val += (u64)readl(port->stats_base + counter->offset + 4) << 32; in mvpp2_read_count()
6429 port->stats_base = port->priv->lms_base + in mvpp2_port_probe()
6441 port->stats_base = port->priv->iface_base + in mvpp2_port_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h671 struct port_stats stats_base; member
Dcxgb4_ethtool.c363 &pi->stats_base); in get_stats()
Dcxgb4_main.c3022 &p->stats_base); in cxgb_get_stats()