Home
last modified time | relevance | path

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

/drivers/staging/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.h1505 struct nic_stats { struct
2085 struct nic_stats nic_stats; member
Dqlge_main.c1359 struct nic_stats *stats = &qdev->nic_stats; in qlge_categorize_rx_err()
/drivers/net/ethernet/realtek/
D8139cp.c1542 struct cp_dma_stats *nic_stats; in cp_get_ethtool_stats() local
1546 nic_stats = dma_alloc_coherent(&cp->pdev->dev, sizeof(*nic_stats), in cp_get_ethtool_stats()
1548 if (!nic_stats) in cp_get_ethtool_stats()
1566 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1567 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1568 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1569 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1570 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1571 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1572 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
[all …]