]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60d79be8a6d0a6a05321bc7788a594e52a0a87f9
tree6cdea70d3013eaf6b0c38802aefc16f0050e3800
parentec7fd27440217d747f23ad921b0897e90ae9ecd3
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