]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'fs_enet_napi'
authorDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2014 20:01:46 +0000 (16:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2014 20:01:46 +0000 (16:01 -0400)
commitd748cee73a392ad21ca92acbd5b600140fd013fc
tree5a49f7bcc87106c58aab068841c7e869db659126
parent23df80e215554a8901f61c5954aeb6cd06a5d073
parentcc9064cf6aa641f985be48924856081e2d2e71b1
Merge branch 'fs_enet_napi'

Christophe Leroy says:

====================
net: fs_enet: Remove non NAPI RX and add NAPI for TX

When using a MPC8xx as a router, 'perf' shows a significant time spent in
fs_enet_interrupt() and fs_enet_start_xmit().
'perf annotate' shows that the time spent in fs_enet_start_xmit is indeed spent
between spin_unlock_irqrestore() and the following instruction, hence in
interrupt handling. This is due to the TX complete interrupt that fires after
each transmitted packet.
This patchset first remove all non NAPI handling as NAPI has become the only
mode for RX, then adds NAPI for handling TX complete.
This improves NAT TCP throughput by 21% on MPC885 with FEC.

Tested on MPC885 with FEC.

[PATCH 1/2] net: fs_enet: Remove non NAPI RX
[PATCH 2/2] net: fs_enet: Add NAPI TX

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
====================

Signed-off-by: David S. Miller <davem@davemloft.net>