Ethernet fail in heavy traffic

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet fail in heavy traffic

Jump to solution
1,107 Views
JHY
Contributor IV

My custom board uses i.MX6DL and Realtek 8111F(pcie - eth) and Linux 3.10.17.

It is disconnected when transmit rate is over about 400 Mbits/sec.

Is there patches or drivers  to fix it?

Error messages are below.

------------[ cut here ]------------

WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x250/0x270()

NETDEV WATCHDOG: eth1 (r8169): transmit queue 0 timed out

Modules linked in: mxc_v4l2_capture ipu_bg_overlay_sdc ipu_still ipu_prp_enc ipu_csi_enc ipu_fg_overlay_sdc ov5640_camera_mipi fusion_ts

CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.17-1.0.0-wandboard+g8e81319 #7

[<8001472c>] (unwind_backtrace+0x0/0xf8) from [<80011548>] (show_stack+0x10/0x14)

[<80011548>] (show_stack+0x10/0x14) from [<80028320>] (warn_slowpath_common+0x4c/0x68)

[<80028320>] (warn_slowpath_common+0x4c/0x68) from [<800283d0>] (warn_slowpath_fmt+0x30/0x40)

[<800283d0>] (warn_slowpath_fmt+0x30/0x40) from [<80546e78>] (dev_watchdog+0x250/0x270)

[<80546e78>] (dev_watchdog+0x250/0x270) from [<80034230>] (call_timer_fn.isra.29+0x24/0x84)

[<80034230>] (call_timer_fn.isra.29+0x24/0x84) from [<80034448>] (run_timer_softirq+0x1b8/0x1cc)

[<80034448>] (run_timer_softirq+0x1b8/0x1cc) from [<8002ee48>] (__do_softirq+0xd8/0x1b8)

[<8002ee48>] (__do_softirq+0xd8/0x1b8) from [<8002efb8>] (do_softirq+0x4c/0x58)

[<8002efb8>] (do_softirq+0x4c/0x58) from [<8002f22c>] (irq_exit+0x90/0xc8)

[<8002f22c>] (irq_exit+0x90/0xc8) from [<8000ea04>] (handle_IRQ+0x3c/0x90)

[<8000ea04>] (handle_IRQ+0x3c/0x90) from [<80008538>] (gic_handle_irq+0x28/0x5c)

[<80008538>] (gic_handle_irq+0x28/0x5c) from [<8000dd40>] (__irq_svc+0x40/0x70)

Exception stack(0x80cc1f38 to 0x80cc1f80)

1f20:                                                       80cc1f80 00000000

1f40: a1fb0d0f 0000004f 8158c118 00000000 a0cb7cd2 0000004f 00000000 412fc09a

1f60: 00000001 00000000 00000000 80cc1f80 8005b174 80470cac 60010013 ffffffff

[<8000dd40>] (__irq_svc+0x40/0x70) from [<80470cac>] (cpuidle_enter_state+0x50/0xec)

[<80470cac>] (cpuidle_enter_state+0x50/0xec) from [<80470df0>] (cpuidle_idle_call+0xa8/0x160)

[<80470df0>] (cpuidle_idle_call+0xa8/0x160) from [<8000ed1c>] (arch_cpu_idle+0x10/0x48)

[<8000ed1c>] (arch_cpu_idle+0x10/0x48) from [<8005a488>] (cpu_startup_entry+0x9c/0x138)

[<8005a488>] (cpu_startup_entry+0x9c/0x138) from [<80c7aa30>] (start_kernel+0x2cc/0x324)

---[ end trace f104cf18c59aaf98 ]---

r8169 0000:01:00.0 eth1: link up

Labels (1)
Tags (2)
0 Kudos
1 Solution
581 Views
igorpadykov
NXP Employee
NXP Employee

Hi conan

I am afraid such patches are not available since this chip

is not supported in Freescale BSPs. Suggest to apply to

realtek tech support, probably one will have to update driver.

As general tip you can also adjust tcp variables as suggested below

About Gigabit Ethernet performance gap between Android&amp;Linux

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
582 Views
igorpadykov
NXP Employee
NXP Employee

Hi conan

I am afraid such patches are not available since this chip

is not supported in Freescale BSPs. Suggest to apply to

realtek tech support, probably one will have to update driver.

As general tip you can also adjust tcp variables as suggested below

About Gigabit Ethernet performance gap between Android&amp;Linux

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos