From: David S. Miller Date: Wed, 8 Oct 2014 20:01:46 +0000 (-0400) Subject: Merge branch 'fs_enet_napi' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44783d87512999fe1450ff2cdf26c1ddc3fa5eea;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 ==================== Signed-off-by: David S. Miller --- 44783d87512999fe1450ff2cdf26c1ddc3fa5eea