Lines Matching refs:rmon_stats

201 	struct ethtool_rmon_stats *rmon_stats = priv;  in ocelot_port_rmon_stats_cb()  local
203 rmon_stats->undersize_pkts = s[OCELOT_STAT_RX_SHORTS]; in ocelot_port_rmon_stats_cb()
204 rmon_stats->oversize_pkts = s[OCELOT_STAT_RX_LONGS]; in ocelot_port_rmon_stats_cb()
205 rmon_stats->fragments = s[OCELOT_STAT_RX_FRAGMENTS]; in ocelot_port_rmon_stats_cb()
206 rmon_stats->jabbers = s[OCELOT_STAT_RX_JABBERS]; in ocelot_port_rmon_stats_cb()
208 rmon_stats->hist[0] = s[OCELOT_STAT_RX_64]; in ocelot_port_rmon_stats_cb()
209 rmon_stats->hist[1] = s[OCELOT_STAT_RX_65_127]; in ocelot_port_rmon_stats_cb()
210 rmon_stats->hist[2] = s[OCELOT_STAT_RX_128_255]; in ocelot_port_rmon_stats_cb()
211 rmon_stats->hist[3] = s[OCELOT_STAT_RX_256_511]; in ocelot_port_rmon_stats_cb()
212 rmon_stats->hist[4] = s[OCELOT_STAT_RX_512_1023]; in ocelot_port_rmon_stats_cb()
213 rmon_stats->hist[5] = s[OCELOT_STAT_RX_1024_1526]; in ocelot_port_rmon_stats_cb()
214 rmon_stats->hist[6] = s[OCELOT_STAT_RX_1527_MAX]; in ocelot_port_rmon_stats_cb()
216 rmon_stats->hist_tx[0] = s[OCELOT_STAT_TX_64]; in ocelot_port_rmon_stats_cb()
217 rmon_stats->hist_tx[1] = s[OCELOT_STAT_TX_65_127]; in ocelot_port_rmon_stats_cb()
218 rmon_stats->hist_tx[2] = s[OCELOT_STAT_TX_128_255]; in ocelot_port_rmon_stats_cb()
219 rmon_stats->hist_tx[3] = s[OCELOT_STAT_TX_128_255]; in ocelot_port_rmon_stats_cb()
220 rmon_stats->hist_tx[4] = s[OCELOT_STAT_TX_256_511]; in ocelot_port_rmon_stats_cb()
221 rmon_stats->hist_tx[5] = s[OCELOT_STAT_TX_512_1023]; in ocelot_port_rmon_stats_cb()
222 rmon_stats->hist_tx[6] = s[OCELOT_STAT_TX_1024_1526]; in ocelot_port_rmon_stats_cb()
226 struct ethtool_rmon_stats *rmon_stats, in ocelot_port_get_rmon_stats() argument
231 ocelot_port_stats_run(ocelot, port, rmon_stats, in ocelot_port_get_rmon_stats()