Home
last modified time | relevance | path

Searched refs:n_stats (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c67 struct net_device_stats *n_stats = &netdev->stats; in qca_tty_receive() local
75 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 in qca_tty_receive()
129 struct net_device_stats *n_stats = &qca->net_dev->stats; qcauart_transmit() local
200 struct net_device_stats *n_stats = &dev->stats; qcauart_netdev_xmit() local
[all...]
H A Dqca_spi.c280 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() local
314 n_stats->tx_packets++; in qcaspi_transmit()
315 n_stats->tx_bytes += qca->txr.skb[qca->txr.head]->len; in qcaspi_transmit()
342 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive() local
421 n_stats->rx_errors++; in qcaspi_receive()
422 n_stats->rx_dropped++; in qcaspi_receive()
426 n_stats->rx_errors++; in qcaspi_receive()
427 n_stats->rx_dropped++; in qcaspi_receive()
431 n_stats->rx_packets++; in qcaspi_receive()
432 n_stats in qcaspi_receive()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c68 struct net_device_stats *n_stats = &netdev->stats; in qca_tty_receive() local
76 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 in qca_tty_receive()
130 struct net_device_stats *n_stats = &qca->net_dev->stats; qcauart_transmit() local
201 struct net_device_stats *n_stats = &dev->stats; qcauart_netdev_xmit() local
[all...]
H A Dqca_spi.c281 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() local
315 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() local
422 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 in qcaspi_receive()
[all...]
/kernel/linux/linux-6.6/net/ethtool/
H A Dioctl.c746 rsp->info.n_stats = rc; in ethtool_get_drvinfo()
2056 int ret, n_stats; in ethtool_get_stats() local
2061 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats()
2062 if (n_stats < 0) in ethtool_get_stats()
2063 return n_stats; in ethtool_get_stats()
2064 if (n_stats > S32_MAX / sizeof(u64)) in ethtool_get_stats()
2066 WARN_ON_ONCE(!n_stats); in ethtool_get_stats()
2070 stats.n_stats = n_stats; in ethtool_get_stats()
2072 if (n_stats) { in ethtool_get_stats()
2094 ethtool_vzalloc_stats_array(int n_stats, u64 **data) ethtool_vzalloc_stats_array() argument
2115 int n_stats, ret; ethtool_get_phy_stats_phydev() local
2135 int n_stats, ret; ethtool_get_phy_stats_ethtool() local
[all...]
H A Dstats.c170 unsigned int n_grps = 0, n_stats = 0; in stats_reply_size() local
176 n_stats += sizeof(struct ethtool_eth_phy_stats) / sizeof(u64); in stats_reply_size()
180 n_stats += sizeof(struct ethtool_eth_mac_stats) / sizeof(u64); in stats_reply_size()
184 n_stats += sizeof(struct ethtool_eth_ctrl_stats) / sizeof(u64); in stats_reply_size()
188 n_stats += sizeof(struct ethtool_rmon_stats) / sizeof(u64); in stats_reply_size()
201 len += n_stats * (nla_total_size(0) + /* _A_STATS_GRP_STAT */ in stats_reply_size()
/kernel/linux/linux-5.10/net/ethtool/
H A Dioctl.c734 info.n_stats = rc; in ethtool_get_drvinfo()
1999 int ret, n_stats; in ethtool_get_stats() local
2004 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats()
2005 if (n_stats < 0) in ethtool_get_stats()
2006 return n_stats; in ethtool_get_stats()
2007 if (n_stats > S32_MAX / sizeof(u64)) in ethtool_get_stats()
2009 WARN_ON_ONCE(!n_stats); in ethtool_get_stats()
2013 stats.n_stats = n_stats; in ethtool_get_stats()
2015 if (n_stats) { in ethtool_get_stats()
2044 int ret, n_stats; ethtool_get_phy_stats() local
[all...]
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dethtool.h71 * @n_stats: Number of u64 statistics returned by the %ETHTOOL_GSTATS
96 __u32 n_stats; member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c178 u32 n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + in aq_ethtool_n_stats() local
182 n_stats += rx_stat_cnt * aq_ptp_get_ring_cnt(nic, ATL_RING_RX) + in aq_ethtool_n_stats()
188 n_stats += ARRAY_SIZE(aq_macsec_stat_names) + in aq_ethtool_n_stats()
198 return n_stats; in aq_ethtool_n_stats()
235 drvinfo->n_stats = aq_ethtool_n_stats(ndev); in aq_ethtool_get_drvinfo()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c187 u32 n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + in aq_ethtool_n_stats() local
191 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dethtool_common.c400 size_t n_stats = 0; in efx_describe_per_queue_stats() local
405 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool_common.c401 size_t n_stats = 0; in efx_describe_per_queue_stats() local
406 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c400 size_t n_stats = 0; in efx_describe_per_queue_stats() local
405 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c358 size_t n_stats = 0; in ef4_describe_per_queue_stats() local
363 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c358 size_t n_stats = 0; in ef4_describe_per_queue_stats() local
363 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dethtool.h57 __u32 n_stats; member
232 __u32 n_stats; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dethtool.h161 * @n_stats: Number of u64 statistics returned by the %ETHTOOL_GSTATS
186 __u32 n_stats; member
781 * @n_stats: On return, the number of statistics
791 __u32 n_stats; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dethtool.h173 * @n_stats: Number of u64 statistics returned by the %ETHTOOL_GSTATS
194 __u32 n_stats; member
912 * @n_stats: On return, the number of statistics
922 __u32 n_stats; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dethtool.h58 __u32 n_stats; member
287 __u32 n_stats; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dethtool.h58 __u32 n_stats; member
287 __u32 n_stats; member
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dnxp-c45-tja11xx.c270 int n_stats; member
1148 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),
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c37 memset(buf, 0, stats->n_stats * sizeof(*buf)); in ionic_get_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
H A Dksz884x.c6511 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local
6556 if (n > n_stats) in netdev_get_ethtool_stats()
6557 n = n_stats; in netdev_get_ethtool_stats()
6558 n_stats -= n; in netdev_get_ethtool_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/
H A Dksz884x.c6140 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local
6185 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c851 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats()

Completed in 105 milliseconds

12