rmon_stats->hist_tx[0] = s[OCELOT_STAT_TX_PMAC_64];
        rmon_stats->hist_tx[1] = s[OCELOT_STAT_TX_PMAC_65_127];
        rmon_stats->hist_tx[2] = s[OCELOT_STAT_TX_PMAC_128_255];
-       rmon_stats->hist_tx[3] = s[OCELOT_STAT_TX_PMAC_128_255];
-       rmon_stats->hist_tx[4] = s[OCELOT_STAT_TX_PMAC_256_511];
-       rmon_stats->hist_tx[5] = s[OCELOT_STAT_TX_PMAC_512_1023];
-       rmon_stats->hist_tx[6] = s[OCELOT_STAT_TX_PMAC_1024_1526];
+       rmon_stats->hist_tx[3] = s[OCELOT_STAT_TX_PMAC_256_511];
+       rmon_stats->hist_tx[4] = s[OCELOT_STAT_TX_PMAC_512_1023];
+       rmon_stats->hist_tx[5] = s[OCELOT_STAT_TX_PMAC_1024_1526];
+       rmon_stats->hist_tx[6] = s[OCELOT_STAT_TX_PMAC_1527_MAX];
 }
 
 void ocelot_port_get_rmon_stats(struct ocelot *ocelot, int port,