Searched refs:dev_stats (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 98 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 …]
|
D | otx2_ethtool.c | 200 *(data++) = ((u64 *)&pfvf->hw.dev_stats) in otx2_get_ethtool_stats() 1281 *(data++) = ((u64 *)&vf->hw.dev_stats) in otx2vf_get_ethtool_stats()
|
D | otx2_common.h | 215 struct otx2_dev_stats dev_stats; member
|
/drivers/leds/trigger/ |
D | ledtrig-netdev.c | 353 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/ |
D | aq_macsec.c | 1054 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/ |
D | ena_netdev.c | 107 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 …]
|
D | ena_netdev.h | 381 struct ena_stats_dev dev_stats; member
|
D | ena_ethtool.c | 190 ptr = (u64 *)&adapter->dev_stats + ena_stats->stat_offset; in ena_get_stats()
|
/drivers/net/ |
D | macsec.c | 2913 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/ |
D | lan78xx.c | 568 #define check_counter_rollover(struct1, dev_stats, member) \ argument 570 if ((struct1)->member < (dev_stats).saved.member) \ 571 (dev_stats).rollover_count.member++; \
|