Hi Ti Folks,
Please refer QMSS UG [sep 2011 or May 2012]
I will refer to latest QMSS UG [MAY 2012]
=======================================================================================================================
Actual Statement: -
"Table 4-38 3 - thresholds 0, 1 enabled, implies RX_FDQ0_SZ0,1,2_QNUM,QMGR are used "
My understanding: - Set Thresholds Th0 and Th1 and enable them through value 3 i.e. [bit representation 011].
if size < Th0, pick from RX_FDQ0_SZ0_QNUM,QMGR
Th0 < size < Th1, pick from RX_FDQ0_SZ1_QNUM,QMGR
Th1 < size pick from RX_FDQ0_SZ2_QNUM,QMGR
Confusing statement: -
" Table 4-44 29-28 RX_FDQ0_SZ2_QMGR Rx free descriptor 0 queue manager index – size 2. This field specifies which queue manager should be used for
the first Rx buffer in a packet whose size is less than or equal to the rx_size2 value. This field is optional "
what is the confusion here: - Here it is said that RX_FDQ0_SZ2_QMGR will be used only if the size < rx_size2.[Th2]
whereas in the first statement, UG says Th0 and Th1 are enough to use RX_FDQ0_SZ2..please explain which is correct.
=======================================================================================================================
Statement 1: -
Table 4-42: -
"13-12 RX_FDQ0_SZ1_QMGR Rx free descriptor 0 queue manager index – size 1: This field specifies which queue manager should be usedfor the 1st
Rx buffer in a packet whose size is less than or equal to the RX_SIZE0 value. This field is optional."
Statement 2: -
Table 4-39
"29-28 RX_FDQ0_SZ0_QMGR Rx free descriptor 0 queue manager index – size 0. This field specifies which queue manager should be usedfor
the first Rx buffer in a packet whose size is less than or equal to the rx_size0 value. When the size thresholds are
not enabled, this is the queue manager for the first Rx buffer."
what is the confusion here: - so does that mean, RX_FDQ0_SZ1_QMGR and RX_FDQ0_SZ0_QMGR are both dependant on rx_size0 [Th0 only].??
==================================================================================================
Table 4-43
Statement 1:
13-12 RX_FDQ0_SZ3_QMGR Rx free descriptor 0 queue manager index – size 3. This field specifies which queue manager should be usedfor
the firstRx buffer in a packet whose size was not less than or equal to the rx_size3 value. This field is optional. This
queue manager is selected if the packet length does not match any enabled size threshold
I have not found this rx_size3 in either UG or the cppi_drv.h, please let me know
===================================================================================================
RX_FDQ0_QMGR
RX_FDQ0_QNUM
RX_FDQ1_QMGR
RX_FDQ1_QNUM
RX_FDQ2_QMGR
RX_FDQ2_QNUM
RX_FDQ3_QMGR
RX_FDQ3_QNUM
Can you please take one example [with 2 Thresholds as well as 3 Thresholds and explain me how to use the above for 1st,2nd,3rd,4th and later Rx buffers ]
Let me request again, kindly explain [with example] w.r.t to 2 Thresholds and 3 Thresholds.
Thanks
RC Reddy