Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c47 {"tx_pkts", QL_SIZEOF(nic_stats.tx_pkts), QL_OFF(nic_stats.tx_pkts)},
48 {"tx_bytes", QL_SIZEOF(nic_stats.tx_bytes), QL_OFF(nic_stats.tx_bytes)},
49 {"tx_mcast_pkts", QL_SIZEOF(nic_stats.tx_mcast_pkts),
50 QL_OFF(nic_stats.tx_mcast_pkts)},
51 {"tx_bcast_pkts", QL_SIZEOF(nic_stats.tx_bcast_pkts),
52 QL_OFF(nic_stats.tx_bcast_pkts)},
53 {"tx_ucast_pkts", QL_SIZEOF(nic_stats.tx_ucast_pkts),
54 QL_OFF(nic_stats.tx_ucast_pkts)},
55 {"tx_ctl_pkts", QL_SIZEOF(nic_stats.tx_ctl_pkts),
56 QL_OFF(nic_stats.tx_ctl_pkts)},
[all …]
Dqlge.h1487 struct nic_stats { struct
2061 struct nic_stats nic_stats; member
Dqlge_dbg.c1550 pr_err("%s = %ld\n", #stat, (unsigned long)qdev->nic_stats.stat)
Dqlge_main.c1440 struct nic_stats *stats = &qdev->nic_stats; in ql_categorize_rx_err()
/drivers/net/ethernet/realtek/
D8139cp.c1545 struct cp_dma_stats *nic_stats; in cp_get_ethtool_stats() local
1549 nic_stats = dma_alloc_coherent(&cp->pdev->dev, sizeof(*nic_stats), in cp_get_ethtool_stats()
1551 if (!nic_stats) in cp_get_ethtool_stats()
1569 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1570 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1571 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1572 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1573 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1574 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1575 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
[all …]