vmbus: more host signalling avoidance
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 25 Jun 2017 19:30:28 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:16:05 +0000 (17:16 +0200)
commit03bad714a1619c0074eb44d6f217c505fe27030f
tree3185ecea62d5166d5fc711b0b164ff8f7abf933c
parent05d00bc94ac27d220d8a78e365d7fa3a26dcca17
vmbus: more host signalling avoidance

Don't signal host if it has disabled interrupts for that
ring buffer. Check the feature bit to see if host supports
pending send size flag.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/ring_buffer.c