]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/net/hyperv/netvsc.c
netvsc: prefetch the first incoming ring element
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:57:27 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:38:28 +0000 (17:38 -0700)
commit43bf99ce009de710b68473480a611f3b5ddd11d5
treee4c3eca7c71b0db3a39a8398895b04b3a83600a7
parent37b9dfa0d833227bc65353eec9dd0b00e1545a00
netvsc: prefetch the first incoming ring element

In interrupt handler, prefetch the first incoming ring element
so that it is in cache by the time NAPI poll gets to it.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c