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.

如何修改srio的message包type11的优先级,为什么默认优先级是3(3是错的)

请教专家

我用PDK里面的6678 SRIO驱动,基于"srio_multicoreloopbackexampleProject "工程修改。DSP1往DSP2发送message,DSP2能收到没问题。调用的是srio_socksend函数。

但是DSP1往powerpc发送消息的时候,powerpc这边显示消息是个错误的格式,有 错误标志位Illegal transaction decode。

后来我用FPGA抓了这个包,发现包的prio是11,优先级是3,这个应该是错误的。

因为协议里规定request包优先级时0~2,response的优先级时request的优先级+1.

 

这里00b06ff000000011.是FPGA收到的包头,b表示message,6表示prio是11,后面的11表示mailbox是1,letter是1.

 

请问调用srio_socksend怎么样修改发出去的type11的message包的优先级?为什么默认是3,是在哪里设置的呢?