初学者刚接触dsp,现在在学网口,看了ti的技术手册,但还是对网口的具体工作流程不是很清楚。
请问:1.收发的数据是packet还是packet+packet descriptor?
2.queue是packet descriptor pointer组成的吗? 它是否被传输了?
3.packet descriptor 与 buffer descriptor有什么联系与区别?
问题都很基础,希望各位大神不吝赐教啊。
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.
C6670的网口是通过PktDMA来收发数据,一个包可以认为是一个packet,在收发包时需要准备好相应的descriptor,这个descriptor用来对数据进行描述,比如发送的时候packet的地址、长度等信息;queue是用来管理descriptor,在发送数据时需要把descriptor放到对应的TxQ中,接收时在数据接收完之后会把descriptor放到RxQ中,descriptor不会传输;一般packet descriptor可以认为是一个多个link在一起的描述符中的第一个,其他被link的称为buffer descriptor。
上面这些都是navigator相关知识,可以看看Multicore navigator user guide,论坛中有相关navigator的培训材料:
http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/24488.aspx