hv_netvsc: empty current transmit aggregation if flow blocked
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 13 Dec 2017 00:48:40 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:57:39 +0000 (15:57 -0500)
commitcfd8afd986cdb59ea9adac873c5082498a1eb7c0
tree6cdea70d3013eaf6b0c38802aefc16f0050e3800
parent0da6edbd3a379433814c738e932474057537107c
hv_netvsc: empty current transmit aggregation if flow blocked

If the transmit queue is known full, then don't keep aggregating
data. And the cp_partial flag which indicates that the current
aggregation buffer is full can be folded in to avoid more
conditionals.

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