]> git.dujemihanovic.xyz Git - u-boot.git/commit
am335x: cpsw: optimize cpsw_send to increase network performance
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 19 Feb 2013 21:34:44 +0000 (21:34 +0000)
committerTom Rini <trini@ti.com>
Mon, 11 Mar 2013 15:06:09 +0000 (11:06 -0400)
commit48ec52910047e048a5857fdaf00679b85a952ec5
treef08b2ef6ac87811407efbc3f33f049702986d38c
parentf0617d4b52fef0d539e7d08045f30237fdf141f7
am335x: cpsw: optimize cpsw_send to increase network performance

Before submitting packets to cpdma, phy status is updated on every packet
which leads to delay in packet send intern reduces the Ethernet performance.
Checking mdio status for each packet will reduce timetaken to send a packet
and there by increasing the Ethernet performance. With this the performance
is increased from 208KiB/s to 375KiB/s on EVMsk

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/cpsw.c