diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2020-11-30 11:32:18 +0800 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-12-02 20:25:32 +0100 |
commit | eefbcf2915243bdedca37ba3df6bc505ffbc2e58 (patch) | |
tree | defcdd91181561ec94ece9299ae5a592c44fdfbc /target/linux/ramips/rt305x | |
parent | f330f991c1dcb483a1966d2d194afc2a40cd30fd (diff) | |
download | upstream-eefbcf2915243bdedca37ba3df6bc505ffbc2e58.tar.gz upstream-eefbcf2915243bdedca37ba3df6bc505ffbc2e58.tar.bz2 upstream-eefbcf2915243bdedca37ba3df6bc505ffbc2e58.zip |
bcm63xx: batch process RX path
Use netif_receive_skb_list to batch process skb in RX.
Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance by 12.5%.
Before:
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-30.00 sec 120 MBytes 33.7 Mbits/sec 277 sender
[ 4] 0.00-30.00 sec 120 MBytes 33.5 Mbits/sec receiver
After:
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-30.00 sec 136 MBytes 37.9 Mbits/sec 203 sender
[ 4] 0.00-30.00 sec 135 MBytes 37.7 Mbits/sec receiver
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[Amend commit description]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/ramips/rt305x')
0 files changed, 0 insertions, 0 deletions