SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Each of the 8 RX Rate monitors can monitor 1 of the 0..48 possible data traffic types.
Table 6-477 defines the RX Rate Hit Mapping.
| Bit Configuration | rx_rate_hit (n= 0 to 7) | Source |
|---|---|---|
| 0 | rx_rate_hit<n> | ft1_match0 |
| 1 | rx_rate_hit<n> | ft1_match1 |
| 2 | rx_rate_hit<n> | ft1_match2 |
| 3 | rx_rate_hit<n> | ft1_match3 |
| 4 | rx_rate_hit<n> | ft1_match4 |
| 5 | rx_rate_hit<n> | ft1_match5 |
| 6 | rx_rate_hit<n> | ft1_match6 |
| 7 | rx_rate_hit<n> | ft1_match7 |
| 8 | rx_rate_hit<n> | ft3_match0 |
| 9 | rx_rate_hit<n> | ft3_match1 |
| 10 | rx_rate_hit<n> | ft3_match2 |
| 11 | rx_rate_hit<n> | ft3_match3 |
| 12 | rx_rate_hit<n> | ft3_match4 |
| 13 | rx_rate_hit<n> | ft3_match5 |
| 14 | rx_rate_hit<n> | ft3_match6 |
| 15 | rx_rate_hit<n> | ft3_match7 |
| 16 | rx_rate_hit<n> | ft3_match8 |
| 17 | rx_rate_hit<n> | ft3_match9 |
| 18 | rx_rate_hit<n> | ft3_match10 |
| 19 | rx_rate_hit<n> | ft3_match11 |
| 20 | rx_rate_hit<n> | ft3_match12 |
| 21 | rx_rate_hit<n> | ft3_match13 |
| 22 | rx_rate_hit<n> | ft3_match14 |
| 23 | rx_rate_hit<n> | ft3_match15 |
| 24 | rx_rate_hit<n> | ft_rx_uc |
| 25 | rx_rate_hit<n> | ft_rx_mc |
| 26 | rx_rate_hit<n> | ft_rx_bc |
| 27 | rx_rate_hit<n> | ft_rx_sav |
| 28 | rx_rate_hit<n> | ft_rx_fw |
| 29 | rx_rate_hit<n> | ft_rx_rcv |
| 30 | rx_rate_hit<n> | ft_rx_vlan |
| 31 | rx_rate_hit<n> | ft_rx_da_p |
| 32 | rx_rate_hit<n> | ft_rx_da_i |
| 33 | rx_rate_hit<n> | rx_class_raw0 |
| 34 | rx_rate_hit<n> | rx_class_raw1 |
| 35 | rx_rate_hit<n> | rx_class_raw2 |
| 36 | rx_rate_hit<n> | rx_class_raw3 |
| 37 | rx_rate_hit<n> | rx_class_raw4 |
| 38 | rx_rate_hit<n> | rx_class_raw5 |
| 39 | rx_rate_hit<n> | rx_class_raw6 |
| 40 | rx_rate_hit<n> | rx_class_raw7 |
| 41 | rx_rate_hit<n> | rx_class_raw8 |
| 42 | rx_rate_hit<n> | rx_class_raw9 |
| 43 | rx_rate_hit<n> | rx_class_raw10 |
| 44 | rx_rate_hit<n> | rx_class_raw11 |
| 45 | rx_rate_hit<n> | rx_class_raw12 |
| 46 | rx_rate_hit<n> | rx_class_raw13 |
| 47 | rx_rate_hit<n> | rx_class_raw14 |
| 48 | rx_rate_hit<n> | rx_class_raw15 |
To select which traffic type to be monitored register MII_G_RT_RX_STAT_CLASSm_HIT_PRUn[31-0] RX_STAT_CLASSm_PRUn (where m = 0 to 15 and n = 0 or 1) has to configured. If this class is a hit and at the EOF then the counter will get subtracted based on the packet size.