Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c80 } stats_base; member
200 tmp->stats_base.backlog -= mlxsw_sp_qdisc->stats_base.backlog; in mlxsw_sp_qdisc_reduce_parent_backlog()
564 struct mlxsw_sp_qdisc_stats *stats_base = &mlxsw_sp_qdisc->stats_base; in mlxsw_sp_qdisc_update_stats() local
566 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats()
567 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats()
568 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()
569 backlog -= stats_base->backlog; in mlxsw_sp_qdisc_update_stats()
575 stats_base->backlog += backlog; in mlxsw_sp_qdisc_update_stats()
576 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()
577 stats_base->tx_bytes += tx_bytes; in mlxsw_sp_qdisc_update_stats()
[all …]
/linux-6.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_stats.c15 static u32 stats_base[] = { 0x54c, /* Slice 0 stats start */ variable
23 u32 base = stats_base[slice]; in emac_update_hardware_stats()
/linux-6.6.21/drivers/net/
Difb.c242 void *stats_base = (void *)q_stats; in ifb_fill_stats_data() local
251 (*data)[j] = *(u64 *)(stats_base + offset); in ifb_fill_stats_data()
Dvirtio_net.c3209 const u8 *stats_base; in virtnet_get_ethtool_stats() local
3216 stats_base = (const u8 *)&rq->stats; in virtnet_get_ethtool_stats()
3221 p = (const u64_stats_t *)(stats_base + offset); in virtnet_get_ethtool_stats()
3231 stats_base = (const u8 *)&sq->stats; in virtnet_get_ethtool_stats()
3236 p = (const u64_stats_t *)(stats_base + offset); in virtnet_get_ethtool_stats()
Dveth.c206 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats() local
214 data[idx + j] = *(u64 *)(stats_base + offset); in veth_get_ethtool_stats()
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1202 void __iomem *stats_base; member
Dmvpp2_main.c1875 val = readl(port->stats_base + counter->offset); in mvpp2_read_count()
1877 val += (u64)readl(port->stats_base + counter->offset + 4) << 32; in mvpp2_read_count()
6821 port->stats_base = port->priv->lms_base + in mvpp2_port_probe()
6833 port->stats_base = port->priv->iface_base + in mvpp2_port_probe()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h669 struct port_stats stats_base; member
Dcxgb4_ethtool.c363 &pi->stats_base); in get_stats()
Dcxgb4_main.c3021 &p->stats_base); in cxgb_get_stats()