]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit077abcc6c4f79df0e956f8df9811ce68b6b8ea84
treee4c3eca7c71b0db3a39a8398895b04b3a83600a7
parent9d6ae6653e6906220e1b9bab2718ca6b6ad9b950
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