summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/Makefile.depend11
-rw-r--r--share/man/man9/ifnet.92
-rw-r--r--share/man/man9/pci_iov_schema.914
-rw-r--r--share/man/man9/sbuf.920
-rw-r--r--share/man/man9/taskqueue.94
5 files changed, 40 insertions, 11 deletions
diff --git a/share/man/man9/Makefile.depend b/share/man/man9/Makefile.depend
new file mode 100644
index 0000000..f80275d
--- /dev/null
+++ b/share/man/man9/Makefile.depend
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 0e55850..b165e2b 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -1172,7 +1172,7 @@ structure to be the first element in that list.
(A pointer to
this address structure is saved in the
.Vt ifnet
-structure and shall be accessed by the
+structure and is accessed by the
.Fn ifaddr_byindex
function.)
The
diff --git a/share/man/man9/pci_iov_schema.9 b/share/man/man9/pci_iov_schema.9
index 36c0189..52e5c8b 100644
--- a/share/man/man9/pci_iov_schema.9
+++ b/share/man/man9/pci_iov_schema.9
@@ -25,8 +25,8 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 28, 2015
-.Dt pci_iov_schema 9
+.Dd June 18, 2015
+.Dt PCI_IOV_SCHEMA 9
.Os
.Sh NAME
.Nm pci_iov_schema ,
@@ -67,7 +67,7 @@
.Fn pci_iov_schema_add_unicast_mac "nvlist_t *schema" "const char *name" \
"uint32_t flags" "const uint8_t *defaultVal"
.Sh DESCRIPTION
-The PCI Single-Root I/O Virtualization
+The PCI Single-Root I/O Virtualization
.Pq SR-IOV
configuration schema is a data
structure that describes the device-specific configuration parameters that a PF
@@ -147,9 +147,9 @@ the VF was allowed to change its MAC address, it would not be appropriate to
set this parameter as optional.
The PF driver must either allow the MAC to change or not, so it would be more
appropriate for the PF driver to document the default behaviour by specifying
-a default value in the schema
+a default value in the schema
.Po or potentially force the user to make the choice by setting the parameter
-to be required
+to be required
.Pc .
.Pp
Configuration parameters that have security implications must default to the
@@ -226,7 +226,7 @@ and having a
type.
Values of type
.Vt uint32_t
-are unsigned integers in the range 0 to
+are unsigned integers in the range 0 to
.Po 2**32 - 1 Pc ,
inclusive.
.Pp
@@ -240,7 +240,7 @@ and having a
type.
Values of type
.Vt uint64_t
-are unsigned integers in the range 0 to
+are unsigned integers in the range 0 to
.Po 2**64 - 1 Pc ,
inclusive.
.Pp
diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9
index f696307..0014884 100644
--- a/share/man/man9/sbuf.9
+++ b/share/man/man9/sbuf.9
@@ -56,7 +56,8 @@
.Nm sbuf_done ,
.Nm sbuf_delete ,
.Nm sbuf_start_section ,
-.Nm sbuf_end_section
+.Nm sbuf_end_section ,
+.Nm sbuf_hexdump
.Nd safe string composition
.Sh SYNOPSIS
.In sys/types.h
@@ -115,6 +116,14 @@
.Fn sbuf_start_section "struct sbuf *s" "ssize_t *old_lenp"
.Ft ssize_t
.Fn sbuf_end_section "struct sbuf *s" "ssize_t old_len" "size_t pad" "int c"
+.Ft void
+.Fo sbuf_hexdump
+.Fa "struct sbuf *sb"
+.Fa "void *ptr"
+.Fa "int length"
+.Fa "const char *hdr"
+.Fa "int flags"
+.Fc
.In sys/sysctl.h
.Ft struct sbuf *
.Fn sbuf_new_for_sysctl "struct sbuf *s" "char *buf" "int length" "struct sysctl_req *req"
@@ -455,6 +464,14 @@ and \-1 can be specified for
and
.Fa old_len
respectively.
+.Pp
+The
+.Fn sbuf_hexdump
+function prints an array of bytes to the supplied sbuf, along with an ASCII
+representation of the bytes if possible.
+See the
+.Xr hexdump 3
+man page for more details on the interface.
.Sh NOTES
If an operation caused an
.Fa sbuf
@@ -558,6 +575,7 @@ transmit_msg(sbuf_data(sb), sbuf_len(sb));
sbuf_delete(sb);
.Ed
.Sh SEE ALSO
+.Xr hexdump 3 ,
.Xr printf 3 ,
.Xr strcat 3 ,
.Xr strcpy 3 ,
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index e2b105f..5f2bcf6 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -288,11 +288,11 @@ are enqueued on the taskqueue to finish.
Tasks posted to the taskqueue after
.Fn taskqueue_drain_all
begins processing,
-including pending enqueues scheduled by a previous call to
+including pending enqueues scheduled by a previous call to
.Fn taskqueue_enqueue_timeout ,
do not extend the wait time of
.Fn taskqueue_drain_all
-and may complete after
+and may complete after
.Fn taskqueue_drain_all
returns.
.Pp
OpenPOWER on IntegriCloud