我的工程基于sys/bios,包含srio和网络功能。网络和srio分别为一个任务,其中网络任务优先级高于srio。
dsp向fpga发送doorbell时,fpga能正常收到门铃包,但是pc机ping网络会有很大的延时(1.5s左右),而发数据时ping网络则是正常的延时(<1ms)。
另外我单独测试dsp发送srio门铃包耗时很长(开始几包正常,后面就耗时很长>1s)。
请问这可能是什么导致的?有什么解决办法吗?谢谢!
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.
我的工程基于sys/bios,包含srio和网络功能。网络和srio分别为一个任务,其中网络任务优先级高于srio。
dsp向fpga发送doorbell时,fpga能正常收到门铃包,但是pc机ping网络会有很大的延时(1.5s左右),而发数据时ping网络则是正常的延时(<1ms)。
另外我单独测试dsp发送srio门铃包耗时很长(开始几包正常,后面就耗时很长>1s)。
请问这可能是什么导致的?有什么解决办法吗?谢谢!
int rioDbellSend(Uint16 destID, Uint16 dbellInfo)
{
Srio_SockAddrInfo to;
to.dio.ttype = 0;
to.dio.ftype = Srio_Ftype_DOORBELL;//10
to.dio.rapidIOMSB = 0x0;
to.dio.rapidIOLSB = 0x0;
to.dio.dstID = destID;
/* Send the DIO Information. */
if (Srio_sockSend (srioSocketDIO, (Srio_DrvBuffer)dbellInfo , 0, (Srio_SockAddrInfo*)&to) < 0)
{
System_printf ("Debug: DoorBell Socket Send Failed\n");
return FAILED;
}
return SUCCEED;
}
以上是我的发送门铃函数
您好,您的问题我们升级到英文论坛寻求下帮助,链接如下,如有答复将尽快回复您:
e2e.ti.com/.../tms320c6678-dsp-sends-doorbell-packets-causing-increased-network-latency