summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2012-03-27 13:20:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-03 17:47:15 -0400
commit33be96e47cc27f2f1a753a0707b02a73df8c8d46 (patch)
tree2b0361f4d39a14e2ddd0d23e66656e6174b3cb71 /init
parentede7193d4fdca98178240500d8684dbc139ca26f (diff)
downloadlinux-stable-33be96e47cc27f2f1a753a0707b02a73df8c8d46.tar.gz
linux-stable-33be96e47cc27f2f1a753a0707b02a73df8c8d46.tar.bz2
linux-stable-33be96e47cc27f2f1a753a0707b02a73df8c8d46.zip
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions