mirror of https://gitee.com/openkylin/linux.git
33be96e47c
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
channel.c | ||
channel_mgmt.c | ||
connection.c | ||
hv.c | ||
hv_kvp.c | ||
hv_util.c | ||
hyperv_vmbus.h | ||
ring_buffer.c | ||
vmbus_drv.c |