Searched refs:n_stats (Results 1 – 13 of 13) sorted by relevance
68 struct net_device_stats *n_stats = &netdev->stats; in qca_tty_receive() local76 n_stats->rx_errors++; in qca_tty_receive()77 n_stats->rx_dropped++; in qca_tty_receive()96 n_stats->rx_errors++; in qca_tty_receive()97 n_stats->rx_dropped++; in qca_tty_receive()101 n_stats->rx_errors++; in qca_tty_receive()102 n_stats->rx_dropped++; in qca_tty_receive()105 n_stats->rx_packets++; in qca_tty_receive()106 n_stats->rx_bytes += retcode; in qca_tty_receive()117 n_stats->rx_errors++; in qca_tty_receive()[all …]
281 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() local315 n_stats->tx_packets++; in qcaspi_transmit()316 n_stats->tx_bytes += qca->txr.skb[qca->txr.head]->len; in qcaspi_transmit()343 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive() local422 n_stats->rx_errors++; in qcaspi_receive()423 n_stats->rx_dropped++; in qcaspi_receive()427 n_stats->rx_errors++; in qcaspi_receive()428 n_stats->rx_dropped++; in qcaspi_receive()432 n_stats->rx_packets++; in qcaspi_receive()433 n_stats->rx_bytes += retcode; in qcaspi_receive()[all …]
791 info.n_stats = rc; in ethtool_get_drvinfo()1893 int ret, n_stats; in ethtool_get_stats() local1898 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats()1899 if (n_stats < 0) in ethtool_get_stats()1900 return n_stats; in ethtool_get_stats()1901 if (n_stats > S32_MAX / sizeof(u64)) in ethtool_get_stats()1903 WARN_ON_ONCE(!n_stats); in ethtool_get_stats()1907 stats.n_stats = n_stats; in ethtool_get_stats()1909 if (n_stats) { in ethtool_get_stats()1910 data = vzalloc(array_size(n_stats, sizeof(u64))); in ethtool_get_stats()[all …]
186 __u32 n_stats; member704 __u32 n_stats; member
358 size_t n_stats = 0; in ef4_describe_per_queue_stats() local363 n_stats++; in ef4_describe_per_queue_stats()376 n_stats++; in ef4_describe_per_queue_stats()384 return n_stats; in ef4_describe_per_queue_stats()
376 size_t n_stats = 0; in efx_describe_per_queue_stats() local381 n_stats++; in efx_describe_per_queue_stats()394 n_stats++; in efx_describe_per_queue_stats()402 return n_stats; in efx_describe_per_queue_stats()
122 drvinfo->n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + in aq_ethtool_get_drvinfo()
35 memset(buf, 0, stats->n_stats * sizeof(*buf)); in ionic_get_stats()
6516 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local6562 if (n > n_stats) in netdev_get_ethtool_stats()6563 n = n_stats; in netdev_get_ethtool_stats()6564 n_stats -= n; in netdev_get_ethtool_stats()
852 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats()
1352 memset(data, 0, stats->n_stats * sizeof(u64)); in qlcnic_get_ethtool_stats()
2585 info->n_stats = ARRAY_SIZE(mtk_ethtool_stats); in mtk_get_drvinfo()
1240 info->n_stats = bnxt_get_num_stats(bp); in bnxt_get_drvinfo()