TI美女帅哥工程师你们好:
我们使用dsp的C6638处理器,芯片中有4核ARM,跑了Linux系统,在测试万兆网卡速率时报错如下
1.板子ping通PC机的万兆网卡.2。pc也能ping通板子的万兆网口
但是在使用iperf压力测试的时候
pc端执行如下命令iperf -c 192.168.11.14 -t 60
板子执行如下命令 iperf -s
错误如下:
[ 8571.558145] ------------[ cut here ]------------
[ 8571.562786] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x274/0x294()
[ 8571.570019] NETDEV WATCHDOG: eth4 (keystone-netcp): transmit queue 0 timed out
[ 8571.577229] Modules linked in:
[ 8571.580300] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.10 #2
[ 8571.586325] [<c00142c0>] (unwind_backtrace+0x0/0xf8) from [<c00117ac>] (show_stack+0x10/0x14)
[ 8571.594864] [<c00117ac>] (show_stack+0x10/0x14) from [<c0020074>] (warn_slowpath_common+0x4c/0x6c)
[ 8571.603842] [<c0020074>] (warn_slowpath_common+0x4c/0x6c) from [<c0020128>] (warn_slowpath_fmt+0x30/0x40)
[ 8571.613418] [<c0020128>] (warn_slowpath_fmt+0x30/0x40) from [<c03cc1d0>] (dev_watchdog+0x274/0x294)
[ 8571.622478] [<c03cc1d0>] (dev_watchdog+0x274/0x294) from [<c002d788>] (call_timer_fn+0x30/0xf8)
[ 8571.631186] [<c002d788>] (call_timer_fn+0x30/0xf8) from [<c002ed80>] (run_timer_softirq+0x1b0/0x260)
[ 8571.640331] [<c002ed80>] (run_timer_softirq+0x1b0/0x260) from [<c002730c>] (__do_softirq+0xe8/0x258)
[ 8571.649469] [<c002730c>] (__do_softirq+0xe8/0x258) from [<c0027754>] (irq_exit+0x58/0x90)
[ 8571.657640] [<c0027754>] (irq_exit+0x58/0x90) from [<c000e978>] (handle_IRQ+0x3c/0x94)
[ 8571.665563] [<c000e978>] (handle_IRQ+0x3c/0x94) from [<c0008520>] (gic_handle_irq+0x28/0x5c)
[ 8571.674006] [<c0008520>] (gic_handle_irq+0x28/0x5c) from [<c04d2980>] (__irq_svc+0x40/0x50)
[ 8571.682355] Exception stack(0xc0727f60 to 0xc0727fa8)
[ 8571.687403] 7f60: c0bb3918 00000000 003849ac 00000000 c0726000 c07641d0 c07639fb c072e454
[ 8571.695580] 7f80: c07639fb c04da350 c0726000 c0726000 00000000 c0727fa8 c000eae8 c000eaec
[ 8571.703753] 7fa0: 600f0013 ffffffff
[ 8571.707244] [<c04d2980>] (__irq_svc+0x40/0x50) from [<c000eaec>] (arch_cpu_idle+0x28/0x30)
[ 8571.715524] [<c000eaec>] (arch_cpu_idle+0x28/0x30) from [<c0053fe4>] (cpu_startup_entry+0x58/0x1dc)
[ 8571.724579] [<c0053fe4>] (cpu_startup_entry+0x58/0x1dc) from [<c06d4a70>] (start_kernel+0x300/0x358)
[ 8571.733708] ---[ end trace f2a4f0f913be259f ]---
[ 8571.738332] net eth4: transmit timed out
[ 8581.558150] net eth4: transmit timed out
[ 8731.562093] dma dma2chan0: out of descriptors
[ 8731.566447] net eth4: failed to prep slave dma
[ 8731.571040] dma dma2chan0: out of descriptors
[ 8731.575393] net eth4: failed to prep slave dma
在帖子中发现有好多人提这个问题,但是一直没有找到正面的回答。好像是什么东西溢出导致万兆网口down的原因,不知道如何处理,请指教。