diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2022-06-23 11:16:47 +0800 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2023-03-04 19:28:16 +0100 |
commit | 71ef4ec47c18ad98122c6259843dc3d9b009be08 (patch) | |
tree | 48d1a90d0b615c401cb9579c7b3ff080ed7122d4 /target/linux/generic/backport-5.15/730-04-v6.3-net-ethernet-mtk_eth_soc-implement-multi-queue-suppo.patch | |
parent | 7178adadcca8216a651e10e1fefbd7ebec930c1b (diff) | |
download | upstream-71ef4ec47c18ad98122c6259843dc3d9b009be08.tar.gz upstream-71ef4ec47c18ad98122c6259843dc3d9b009be08.tar.bz2 upstream-71ef4ec47c18ad98122c6259843dc3d9b009be08.zip |
bmips: convert to build_skb()
We can increase the efficiency of rx path by using buffers to receive
packets then build SKBs around them just before passing into the network
stack. In contrast, preallocating SKBs too early reduces CPU cache
efficiency.
Performance is slightly increased but the changes allow more
potential optimizations.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
[improve code format]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/generic/backport-5.15/730-04-v6.3-net-ethernet-mtk_eth_soc-implement-multi-queue-suppo.patch')
0 files changed, 0 insertions, 0 deletions