Home
last modified time | relevance | path

Searched refs:nic_stats (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/realtek/
D8139cp.c1523 struct cp_dma_stats *nic_stats; in cp_get_ethtool_stats() local
1527 nic_stats = dma_alloc_coherent(&cp->pdev->dev, sizeof(*nic_stats), in cp_get_ethtool_stats()
1529 if (!nic_stats) in cp_get_ethtool_stats()
1547 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1548 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1549 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1550 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1551 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1552 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1553 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c105 u64 *iter = &qdev->nic_stats.tx_pkts; in ql_update_stats()
274 struct nic_stats *s = &qdev->nic_stats; in ql_get_ethtool_stats()
Dqlge.h1486 struct nic_stats { struct
2052 struct nic_stats nic_stats; member
Dqlge_dbg.c1550 pr_err("%s = %ld\n", #stat, (unsigned long)qdev->nic_stats.stat)