docs: Document <sndbuf/>

This element has been introduced in fe053dbea7, but isn't
documented yet. After exactly 6 years I guess we can finally
document it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2017-01-12 12:43:21 +01:00
parent 6832fb4b86
commit f8ec272d98

View File

@ -4975,6 +4975,9 @@ qemu-kvm -net nic,model=? /dev/null
&lt;model type='virtio'/&gt;
<b>&lt;backend tap='/dev/net/tun' vhost='/dev/vhost-net'/&gt;</b>
&lt;driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/&gt;
<b>&lt;tune&gt;
&lt;sndbuf&gt;1600&lt;/sndbuf&gt;
&lt;/tune&gt;</b>
&lt;/interface&gt;
&lt;/devices&gt;
...</pre>
@ -4985,7 +4988,12 @@ qemu-kvm -net nic,model=? /dev/null
device path (<code>/dev/vhost-net</code>) for devices with <code>virtio</code> model.
The <code>tap</code> attribute overrides the tun/tap device path (default:
<code>/dev/net/tun</code>) for network and bridge interfaces. This does not work
in session mode.
in session mode. <span class="since">Since 1.2.9</span>
</p>
<p>
For tap devices there is also <code>sndbuf</code> element which can
adjust the size of send buffer in the host. <span class="since">Since
0.8.8</span>
</p>
<h5><a name="elementsNICSTargetOverride">Overriding the target element</a></h5>