diff options
author | 2022-03-08 15:10:13 -0600 | |
---|---|---|
committer | 2022-03-09 20:19:16 -0800 | |
commit | 6c7e7da2e0f2141cdc491cd5b9d0b937c08939c9 (patch) | |
tree | 183907fdc7ae750bd447702db8946c2b10cbb808 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: adjust TSO packet sizes based on min_rtt (diff) | |
download | linux-dev-6c7e7da2e0f2141cdc491cd5b9d0b937c08939c9.tar.xz linux-dev-6c7e7da2e0f2141cdc491cd5b9d0b937c08939c9.zip |
net: axienet: Use napi_alloc_skb when refilling RX ring
Use napi_alloc_skb to allocate memory when refilling the RX ring
in axienet_poll for more efficiency. napi_alloc_skb() can reuse
softirq-local cache of freed skbs which may still be cache-warm
and skipping allocator calls.
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20220308211013.1530955-1-robert.hancock@calian.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions