Searched refs:n_stats (Results 1 – 13 of 13) sorted by relevance
67 struct net_device_stats *n_stats = &netdev->stats; in qca_tty_receive() local75 n_stats->rx_errors++; in qca_tty_receive()76 n_stats->rx_dropped++; in qca_tty_receive()95 n_stats->rx_errors++; in qca_tty_receive()96 n_stats->rx_dropped++; in qca_tty_receive()100 n_stats->rx_errors++; in qca_tty_receive()101 n_stats->rx_dropped++; in qca_tty_receive()104 n_stats->rx_packets++; in qca_tty_receive()105 n_stats->rx_bytes += retcode; in qca_tty_receive()116 n_stats->rx_errors++; in qca_tty_receive()[all …]
282 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() local316 n_stats->tx_packets++; in qcaspi_transmit()317 n_stats->tx_bytes += qca->txr.skb[qca->txr.head]->len; in qcaspi_transmit()344 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive() local423 n_stats->rx_errors++; in qcaspi_receive()424 n_stats->rx_dropped++; in qcaspi_receive()428 n_stats->rx_errors++; in qcaspi_receive()429 n_stats->rx_dropped++; in qcaspi_receive()433 n_stats->rx_packets++; in qcaspi_receive()434 n_stats->rx_bytes += retcode; in qcaspi_receive()[all …]
187 u32 n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + in aq_ethtool_n_stats() local191 n_stats += rx_stat_cnt * aq_ptp_get_ring_cnt(nic, ATL_RING_RX) + in aq_ethtool_n_stats()197 n_stats += ARRAY_SIZE(aq_macsec_stat_names) + in aq_ethtool_n_stats()207 return n_stats; in aq_ethtool_n_stats()244 drvinfo->n_stats = aq_ethtool_n_stats(ndev); in aq_ethtool_get_drvinfo()
401 size_t n_stats = 0; in efx_describe_per_queue_stats() local406 n_stats++; in efx_describe_per_queue_stats()419 n_stats++; in efx_describe_per_queue_stats()431 n_stats++; in efx_describe_per_queue_stats()440 return n_stats; in efx_describe_per_queue_stats()
400 size_t n_stats = 0; in efx_describe_per_queue_stats() local405 n_stats++; in efx_describe_per_queue_stats()418 n_stats++; in efx_describe_per_queue_stats()430 n_stats++; in efx_describe_per_queue_stats()439 return n_stats; in efx_describe_per_queue_stats()
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()
270 int n_stats; member1148 return ARRAY_SIZE(common_hw_stats) + (phy_data ? phy_data->n_stats : 0); in nxp_c45_get_sset_count()1787 .n_stats = ARRAY_SIZE(tja1103_hw_stats),1902 .n_stats = ARRAY_SIZE(tja1120_hw_stats),
6140 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local6185 if (n > n_stats) in netdev_get_ethtool_stats()6186 n = n_stats; in netdev_get_ethtool_stats()6187 n_stats -= n; in netdev_get_ethtool_stats()
803 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats()
31 memset(buf, 0, stats->n_stats * sizeof(*buf)); in ionic_get_stats()
1356 memset(data, 0, stats->n_stats * sizeof(u64)); in qlcnic_get_ethtool_stats()
1372 info->n_stats = bnxt_get_num_stats(bp); in bnxt_get_drvinfo()
4255 info->n_stats = ARRAY_SIZE(mtk_ethtool_stats); in mtk_get_drvinfo()