diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2020-11-02 11:12:19 +0800 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-12-02 20:32:12 +0100 |
commit | ba74da5b99a1e8239af896378fbbc68f8761cd15 (patch) | |
tree | 026ce90cab152efc9764d120269784b57acba247 /target/linux/ramips/rt305x | |
parent | eefbcf2915243bdedca37ba3df6bc505ffbc2e58 (diff) | |
download | upstream-ba74da5b99a1e8239af896378fbbc68f8761cd15.tar.gz upstream-ba74da5b99a1e8239af896378fbbc68f8761cd15.tar.bz2 upstream-ba74da5b99a1e8239af896378fbbc68f8761cd15.zip |
bcm63xx: enetsw: switch to netdev_alloc_skb_ip_align
Increases packet processing performance by 30%.
Tested on BCM6328 320 MHz and iperf3 -M 512 for packet/sec performance.
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 155 MBytes 43.3 Mbits/sec 354 sender
[ 4] 0.00-30.00 sec 154 MBytes 43.1 Mbits/sec receiver
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[Merge patches, amend commit and add patch 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