aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-04-18 21:29:30 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-08-16 11:09:00 +0000
commit932129b612b5557ac07a3ec2aa5d170ad02c418b (patch)
treec059fa252db246b10b0d73a41794c93e9fcd637f
parent2e9958431f7bad48d10b3b2531bca23b714643c3 (diff)
bhyve.8: Clean up network backends section
- Reformat the format lists, use appropriate mdoc macros for readability. - Add a missing Oxford comma. MFC after: 2 weeks (cherry picked from commit 7fb22729816ef6c9e65e5c544047e669edd2f06d)
-rw-r--r--usr.sbin/bhyve/bhyve.838
1 files changed, 24 insertions, 14 deletions
diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8
index 20eafd1858cd..bd8827dcd246 100644
--- a/usr.sbin/bhyve/bhyve.8
+++ b/usr.sbin/bhyve/bhyve.8
@@ -336,21 +336,31 @@ If
is not specified, the device emulation has no backend and can be
considered unconnected.
.Pp
-Network devices:
-.Bl -tag -width 10n
-.It Ar tapN Ns Op , Ns Ar mac=xx:xx:xx:xx:xx:xx
-.It Ar vmnetN Ns Op , Ns Ar mac=xx:xx:xx:xx:xx:xx
-.Pp
-If
-.Ar mac
-is not specified, the MAC address is derived from a fixed OUI and the
-remaining bytes from an MD5 hash of the slot and function numbers and
-the device name.
-.Pp
-The MAC address is an ASCII string in
-.Xr ethers 5
-format.
+Network backends formats for
+.Ar conf :
+.Sm off
+.Bl -bullet
+.It
+.Xo
+.Cm tap Ar N
+.Op Cm \&,mac= Ar xx:xx:xx:xx:xx:xx
+.Op Cm \&,mtu= Ar N
+.Xc
+.It
+.Xo
+.Cm vmnet Ar N
+.Op Cm \&,mac= Ar xx:xx:xx:xx:xx:xx
+.Op Cm \&,mtu= Ar N
+.Xc
.El
+.Sm on
+.Pp
+With
+.Cm virtio-net
+devices, the
+.Cm mtu
+parameter can be specified to inform the guest about the largest MTU
+that should be allowed, expressed in bytes.
.Pp
Block storage devices:
.Bl -tag -width 10n