There are some questions from below aspects:
- Packet strict priority scheduling
- Queue size per priority
Please check more details from attached file, thanks!KeyStone II 10 Gigabit Ethernet(3-port) itself QoS capabilities.docx
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There are some questions from below aspects:
Please check more details from attached file, thanks!KeyStone II 10 Gigabit Ethernet(3-port) itself QoS capabilities.docx
Hi Libing,
This question is best directed to the processors forum linked here:
If you have any questions related to the Ethernet Physical Layer Transceivers, please feel free to open a new thread. I will be closing this thread.
Thank you,
Nikhil
Hi Nikhil,
I thought it is already under processors forum, I opened you suggested link, then I can see this ticket which I created.
Hi Libing,
Apologies for the confusion. We have re-routed the question to the C6000 DSP team and you will receive a response to your query as soon as possible.
Thank you,
Nikhil
Hi Libing,
Aravind from DSP team here. Let me check with IP experts and get back to you on this.
Thanks
Hi Libing,
I got answers from the IP team for your questions.
0x424 |
SL1_Rx_Pri_Map |
CPXMAX_SL1 Rx Pkt Priority to Header Priority Mapping Reg |
0x464 |
SL2_Rx_Pri_Map |
CPXMAX_SL2 Rx Pkt Priority to Header Priority Mapping Reg |
Doc: https://www.ti.com/lit/ug/spruhj5/spruhj5.pdf
Table 3-2 10 Gigabit Ethernet Subsystem Complete Register Listing (Part 3 of 8)
01000h 10 GbE Switch CPSW_IDVER 10GbE switch identification and version register Section 3.6.1.1
Hi Aravind,
Thanks for your feedback, the ID version register of CPSW (CPSW_IDVER) should be: (Adr: 0x02f01000 4ee30101), and ES_SS_IDVER should be: (Adr: 0x02f00000 4ee42140).
Could you let me know how to limit the number of allocated blocks that each queue receives? E,g.:
Could you continue answer my questions for :
Since TX_BLK_CNT bit fields are BIT9-BIT13, and from register memory dump, the value is 0x00000302, then it looks both P1&P2 TX_BLK_CNT are set to “1”:
Hi Libing,
1. Regarding limiting the number of allocated blocks for Tx and Rx queues:
This is an early version of the CPSW and there is no mechanism to limit the number of blocks in each queue or for transmit/receive. There are 20 4k blocks (80k total) on transmit, and 16 1k blocks (16k total) for receive.
2. Regarding the value 0x00000302
The blk count location is a status and not a configuration. It indicates how many blocks are currently allocated to transmit and receive. The 0x0302 number indicates that receive has 2 of the 16 blocks currently allocated and transmit has 3 of the 20 blocks currently allocated (which may be across all priorities).
Thanks
Hi Libing,
Forgot to mention about below in earlier response:
3. Regarding Are BIT9-BIT13 correct for TX_BLK_CNT bit fields?
No. Bits9 through 13 are not for TX_BLK_CNT. The Bit description under Table 3-57 is correct and Figure 3-48 is wrong. Which means, the bits 0-7 is for RX_BLK_CNT = 02 and Bits 8 through 15 are for TX_BLK_CNT=03, the details on this is mentioned in previous post by me under #2.
I am marking this as resolved thread. Please close the thread from your side as well, if you have no more questions on this.
Thanks,