summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorRobert Hancock <robert.hancock@calian.com>2022-03-08 15:10:13 -0600
committerJakub Kicinski <kuba@kernel.org>2022-03-09 20:19:16 -0800
commit6c7e7da2e0f2141cdc491cd5b9d0b937c08939c9 (patch)
tree183907fdc7ae750bd447702db8946c2b10cbb808 /net/dsa
parent65466904b015f6eeb9225b51aeb29b01a1d4b59c (diff)
downloadlinux-6c7e7da2e0f2141cdc491cd5b9d0b937c08939c9.tar.bz2
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 'net/dsa')
0 files changed, 0 insertions, 0 deletions