Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c98 struct otx2_dev_stats *dev_stats = &pfvf->hw.dev_stats; in otx2_get_dev_stats() local
105 dev_stats->rx_bytes = OTX2_GET_RX_STATS(RX_OCTS); in otx2_get_dev_stats()
106 dev_stats->rx_drops = OTX2_GET_RX_STATS(RX_DROP); in otx2_get_dev_stats()
107 dev_stats->rx_bcast_frames = OTX2_GET_RX_STATS(RX_BCAST); in otx2_get_dev_stats()
108 dev_stats->rx_mcast_frames = OTX2_GET_RX_STATS(RX_MCAST); in otx2_get_dev_stats()
109 dev_stats->rx_ucast_frames = OTX2_GET_RX_STATS(RX_UCAST); in otx2_get_dev_stats()
110 dev_stats->rx_frames = dev_stats->rx_bcast_frames + in otx2_get_dev_stats()
111 dev_stats->rx_mcast_frames + in otx2_get_dev_stats()
112 dev_stats->rx_ucast_frames; in otx2_get_dev_stats()
114 dev_stats->tx_bytes = OTX2_GET_TX_STATS(TX_OCTS); in otx2_get_dev_stats()
[all …]
Dotx2_ethtool.c200 *(data++) = ((u64 *)&pfvf->hw.dev_stats) in otx2_get_ethtool_stats()
1281 *(data++) = ((u64 *)&vf->hw.dev_stats) in otx2vf_get_ethtool_stats()
Dotx2_common.h215 struct otx2_dev_stats dev_stats; member
/drivers/leds/trigger/
Dledtrig-netdev.c353 struct rtnl_link_stats64 *dev_stats; in netdev_trig_work() local
370 dev_stats = dev_get_stats(trigger_data->net_dev, &temp); in netdev_trig_work()
373 dev_stats->tx_packets : 0) + in netdev_trig_work()
375 dev_stats->rx_packets : 0); in netdev_trig_work()
/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c1054 ctx->stats.dev_stats->OutPktsUntagged = stats->out.untagged_pkts; in aq_mdo_get_dev_stats()
1055 ctx->stats.dev_stats->InPktsUntagged = stats->in.untagged_pkts; in aq_mdo_get_dev_stats()
1056 ctx->stats.dev_stats->OutPktsTooLong = stats->out.too_long; in aq_mdo_get_dev_stats()
1057 ctx->stats.dev_stats->InPktsNoTag = stats->in.notag_pkts; in aq_mdo_get_dev_stats()
1058 ctx->stats.dev_stats->InPktsBadTag = stats->in.bad_tag_pkts; in aq_mdo_get_dev_stats()
1059 ctx->stats.dev_stats->InPktsUnknownSCI = stats->in.unknown_sci_pkts; in aq_mdo_get_dev_stats()
1060 ctx->stats.dev_stats->InPktsNoSCI = stats->in.no_sci_pkts; in aq_mdo_get_dev_stats()
1061 ctx->stats.dev_stats->InPktsOverrun = 0; in aq_mdo_get_dev_stats()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c107 ena_increase_stat(&adapter->dev_stats.tx_timeout, 1, &adapter->syncp); in ena_tx_timeout()
2685 ena_increase_stat(&adapter->dev_stats.interface_up, 1, in ena_up()
2724 ena_increase_stat(&adapter->dev_stats.interface_down, 1, in ena_down()
3350 rx_drops = adapter->dev_stats.rx_drops; in ena_get_stats64()
3351 tx_drops = adapter->dev_stats.tx_drops; in ena_get_stats64()
3940 ena_increase_stat(&adapter->dev_stats.wd_expired, 1, in check_for_missing_keep_alive()
3952 ena_increase_stat(&adapter->dev_stats.admin_q_pause, 1, in check_for_admin_com_state()
4585 ena_increase_stat(&adapter->dev_stats.suspend, 1, &adapter->syncp); in ena_suspend()
4606 ena_increase_stat(&adapter->dev_stats.resume, 1, &adapter->syncp); in ena_resume()
4697 adapter->dev_stats.rx_drops = rx_drops; in ena_keep_alive_wd()
[all …]
Dena_netdev.h381 struct ena_stats_dev dev_stats; member
Dena_ethtool.c190 ptr = (u64 *)&adapter->dev_stats + ena_stats->stat_offset; in ena_get_stats()
/drivers/net/
Dmacsec.c2913 ctx.stats.dev_stats = sum; in get_secy_stats()
3032 struct macsec_dev_stats dev_stats = {0, }; in dump_secy() local
3074 get_secy_stats(dev, &dev_stats); in dump_secy()
3075 if (copy_secy_stats(skb, &dev_stats)) { in dump_secy()
/drivers/net/usb/
Dlan78xx.c568 #define check_counter_rollover(struct1, dev_stats, member) \ argument
570 if ((struct1)->member < (dev_stats).saved.member) \
571 (dev_stats).rollover_count.member++; \