SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
This logic block does simple logic reduction which operates on:
The Traffic Class Selector module produces 2 sets of outputs:
The logic reduction is controlled by a set of registers which controls the type of reduction and the selection of the inputs.
Table 6-478 defines the mapping and the reduction options.
rx_class_data | Source |
---|---|
rx_class_data[31] | ft_rx_sav |
rx_class_data[30] | ft_rx_mc |
rx_class_data[29] | ft_rx_bc |
rx_class_data[28] | ft_rx_fw |
rx_class_data[27] | ft_rx_rcv |
rx_class_data[26] | ft_rx_vlan |
rx_class_data[25] | ft_rx_da_p |
rx_class_data[24] | ft_rx_da_i |
rx_class_data[23:16] | ft1_match[7:0] |
rx_class_data[15:8] | ft3_match[15:8] |
rx_class_data[7:0] | ft3_match[7:0] |
In order to select the source mapping, i.e. wich filter flag hit the rate logic, 1 of 8 RATE sources has to be configured through the following registers: MII_G_RT_RX_RATE_SRC_SEL0_PRU0 or MII_G_RT_RX_RATE_SRC_SEL1_PRU0 (for PRU0 core) and MII_G_RT_RX_RATE_SRC_SEL0_PRU1 or MII_G_RT_RX_RATE_SRC_SEL1_PRU1 (for PRU1 core). Note that only 1 of RX Rate classes can be asserted per frame.