diff options
| author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2022-01-04 16:11:44 +0100 | 
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-05 17:18:04 -0800 | 
| commit | e015593573b3e3f74bd8a63c05fa92902194a354 (patch) | |
| tree | 0610d06bbc028ddd06da2a12e08bd2c54f095c23 /lib/mpi/mpi-mod.c | |
| parent | 768818d772d5d4ddc0c7eb2e62848929270ab7a3 (diff) | |
net: lantiq_xrx200: 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.
NAT Performance results on BT Home Hub 5A (kernel 5.10.89, mtu 1500):
	Down		Up
Before	577 Mbps	648 Mbps
After	624 Mbps	695 Mbps
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
