OpenCloudOS-Kernel/drivers/net/hyperv
Haiyang Zhang 33be96e47c net/hyperv: Add flow control based on hi/low watermark
In the existing code, we only stop queue when the ringbuffer is full,
so the current packet has to be dropped or retried from upper layer.

This patch stops the tx queue when available ringbuffer is below
the low watermark. So the ringbuffer still has small amount of space
available for the current packet. This will reduce the overhead of
retries on sending.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-03 17:47:15 -04:00
..
Kconfig staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
Makefile staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
hyperv_net.h net/hyperv: Add support for vlan trunking from guests 2012-03-12 17:06:48 -07:00
netvsc.c net/hyperv: Add flow control based on hi/low watermark 2012-04-03 17:47:15 -04:00
netvsc_drv.c net/hyperv: Add flow control based on hi/low watermark 2012-04-03 17:47:15 -04:00
rndis_filter.c net/hyperv: Add support for vlan trunking from guests 2012-03-12 17:06:48 -07:00