net/netvsc: remove process event optimization
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Mar 2020 17:14:01 +0000 (10:14 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000 (13:57 +0200)
commitdfd3f0fce8bd64182b984b4a9226f2d23c44b2d5
tree66e12898e594c3231ffa21f03d19bd31e2579ef5
parent30408aab2d4e0fd9a5d2b4e2ef2a3a7b9e6c95bf
net/netvsc: remove process event optimization

Remove unlocked check for data in receive ring.
This check is not safe because of missing barriers etc.

Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_rxtx.c