Home
last modified time | relevance | path

Searched refs:tmp_stats (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.c6233 u64 *tmp_stats) in s2io_get_ethtool_stats() argument
6242 tmp_stats[i++] = in s2io_get_ethtool_stats()
6245 tmp_stats[i++] = in s2io_get_ethtool_stats()
6248 tmp_stats[i++] = le64_to_cpu(stats->tmac_drop_frms); in s2io_get_ethtool_stats()
6249 tmp_stats[i++] = in s2io_get_ethtool_stats()
6252 tmp_stats[i++] = in s2io_get_ethtool_stats()
6255 tmp_stats[i++] = le64_to_cpu(stats->tmac_pause_ctrl_frms); in s2io_get_ethtool_stats()
6256 tmp_stats[i++] = in s2io_get_ethtool_stats()
6259 tmp_stats[i++] = in s2io_get_ethtool_stats()
6262 tmp_stats[i++] = in s2io_get_ethtool_stats()
[all …]
/Linux-v4.19/drivers/net/ethernet/realtek/
D8139cp.c1532 struct ethtool_stats *estats, u64 *tmp_stats) in cp_get_ethtool_stats() argument
1559 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1560 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1561 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1562 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1563 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1564 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1565 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
1566 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_mcol); in cp_get_ethtool_stats()
1567 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_phys); in cp_get_ethtool_stats()
[all …]
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c329 int stat, tmp_stats; in nicvf_get_ethtool_stats() local
341 tmp_stats = 0; in nicvf_get_ethtool_stats()
343 tmp_stats += ((u64 *)per_cpu_ptr(nic->drv_stats, cpu)) in nicvf_get_ethtool_stats()
345 *(data++) = tmp_stats; in nicvf_get_ethtool_stats()
Dnicvf_main.c1608 u64 tmp_stats = 0; in nicvf_update_stats() local
1648 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1650 stats->tx_drops = tmp_stats - stats->tx_drops; in nicvf_update_stats()
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c230 struct ethtool_stats *estats, u64 *tmp_stats) in vxge_get_ethtool_stats() argument
242 u64 *ptr = tmp_stats; in vxge_get_ethtool_stats()
244 memset(tmp_stats, 0, in vxge_get_ethtool_stats()
/Linux-v4.19/arch/um/drivers/
Dvector_kern.c1366 u64 *tmp_stats) in vector_get_ethtool_stats() argument
1370 memcpy(tmp_stats, &vp->estats, sizeof(struct vector_estats)); in vector_get_ethtool_stats()
/Linux-v4.19/drivers/net/ethernet/ibm/emac/
Dcore.c2250 u64 * tmp_stats) in emac_ethtool_get_ethtool_stats() argument
2254 memcpy(tmp_stats, &dev->stats, sizeof(dev->stats)); in emac_ethtool_get_ethtool_stats()
2255 tmp_stats += sizeof(dev->stats) / sizeof(u64); in emac_ethtool_get_ethtool_stats()
2256 memcpy(tmp_stats, &dev->estats, sizeof(dev->estats)); in emac_ethtool_get_ethtool_stats()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c12796 struct ethtool_stats *estats, u64 *tmp_stats) in tg3_get_ethtool_stats() argument
12801 tg3_get_estats(tp, (struct tg3_ethtool_stats *)tmp_stats); in tg3_get_ethtool_stats()
12803 memset(tmp_stats, 0, sizeof(struct tg3_ethtool_stats)); in tg3_get_ethtool_stats()