Home
last modified time | relevance | path

Searched refs:MAC_STATS_FIELD_OFF (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_xgmac.c18 {"xgmac_tx_bad_pkts_minto64", MAC_STATS_FIELD_OFF(tx_fragment_err)},
19 {"xgmac_tx_good_pkts_minto64", MAC_STATS_FIELD_OFF(tx_undersize)},
20 {"xgmac_tx_total_pkts_minto64", MAC_STATS_FIELD_OFF(tx_under_min_pkts)},
21 {"xgmac_tx_pkts_64", MAC_STATS_FIELD_OFF(tx_64bytes)},
22 {"xgmac_tx_pkts_65to127", MAC_STATS_FIELD_OFF(tx_65to127)},
23 {"xgmac_tx_pkts_128to255", MAC_STATS_FIELD_OFF(tx_128to255)},
24 {"xgmac_tx_pkts_256to511", MAC_STATS_FIELD_OFF(tx_256to511)},
25 {"xgmac_tx_pkts_512to1023", MAC_STATS_FIELD_OFF(tx_512to1023)},
26 {"xgmac_tx_pkts_1024to1518", MAC_STATS_FIELD_OFF(tx_1024to1518)},
27 {"xgmac_tx_pkts_1519tomax", MAC_STATS_FIELD_OFF(tx_1519tomax)},
[all …]
Dhns_dsaf_gmac.c17 {"gmac_rx_octets_total_ok", MAC_STATS_FIELD_OFF(rx_good_bytes)},
18 {"gmac_rx_octets_bad", MAC_STATS_FIELD_OFF(rx_bad_bytes)},
19 {"gmac_rx_uc_pkts", MAC_STATS_FIELD_OFF(rx_uc_pkts)},
20 {"gamc_rx_mc_pkts", MAC_STATS_FIELD_OFF(rx_mc_pkts)},
21 {"gmac_rx_bc_pkts", MAC_STATS_FIELD_OFF(rx_bc_pkts)},
22 {"gmac_rx_pkts_64octets", MAC_STATS_FIELD_OFF(rx_64bytes)},
23 {"gmac_rx_pkts_65to127", MAC_STATS_FIELD_OFF(rx_65to127)},
24 {"gmac_rx_pkts_128to255", MAC_STATS_FIELD_OFF(rx_128to255)},
25 {"gmac_rx_pkts_256to511", MAC_STATS_FIELD_OFF(rx_256to511)},
26 {"gmac_rx_pkts_512to1023", MAC_STATS_FIELD_OFF(rx_512to1023)},
[all …]
Dhns_dsaf_mac.h410 #define MAC_STATS_FIELD_OFF(field) (offsetof(struct mac_hw_stats, field)) macro