aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
commit453130d9bfc1c6d68b366dfcb041689d69f81295 (patch)
treefe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/netmap
parent7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff)
Notes
Diffstat (limited to 'sys/dev/netmap')
-rw-r--r--sys/dev/netmap/netmap.c6
-rw-r--r--sys/dev/netmap/netmap_generic.c2
-rw-r--r--sys/dev/netmap/netmap_offloadings.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c
index f1b8610f86b2..ee38452cbf8c 100644
--- a/sys/dev/netmap/netmap.c
+++ b/sys/dev/netmap/netmap.c
@@ -186,7 +186,7 @@ ports attached to the switch)
* This is a persistent or ephemeral VALE port. Ephemeral ports
* are created on the fly if they don't already exist, and are
* always attached to a bridge.
- * Persistent VALE ports must must be created seperately, and i
+ * Persistent VALE ports must must be created separately, and i
* then attached like normal NICs. The NIOCREGIF we are examining
* will find them only if they had previosly been created and
* attached (see VALE_CTL below).
@@ -1378,7 +1378,7 @@ netmap_get_na(struct nmreq *nmr, struct netmap_adapter **na, int create)
NMG_LOCK_ASSERT();
- /* we cascade through all possibile types of netmap adapter.
+ /* we cascade through all possible types of netmap adapter.
* All netmap_get_*_na() functions return an error and an na,
* with the following combinations:
*
@@ -1912,7 +1912,7 @@ netmap_rel_exclusive(struct netmap_priv_d *priv)
*
* * netmap_pipe_reg (pipes)
* inform the other pipe end that it is no
- * longer responsibile for the lifetime of this
+ * longer responsible for the lifetime of this
* pipe end
*
* * netmap_monitor_reg (monitors)
diff --git a/sys/dev/netmap/netmap_generic.c b/sys/dev/netmap/netmap_generic.c
index 9129960e6b3e..85a6a9f76ea2 100644
--- a/sys/dev/netmap/netmap_generic.c
+++ b/sys/dev/netmap/netmap_generic.c
@@ -332,7 +332,7 @@ generic_netmap_register(struct netmap_adapter *na, int enable)
} else if (na->tx_rings[0].tx_pool) {
/* Disable netmap mode. We enter here only if the previous
- generic_netmap_register(na, 1) was successfull.
+ generic_netmap_register(na, 1) was successful.
If it was not, na->tx_rings[0].tx_pool was set to NULL by the
error handling code below. */
rtnl_lock();
diff --git a/sys/dev/netmap/netmap_offloadings.c b/sys/dev/netmap/netmap_offloadings.c
index 4055c427cb56..dadc1dcbc14c 100644
--- a/sys/dev/netmap/netmap_offloadings.c
+++ b/sys/dev/netmap/netmap_offloadings.c
@@ -171,7 +171,7 @@ void bdg_mismatch_datapath(struct netmap_vp_adapter *na,
* - 12: the first 10 bytes correspond to the struct
* virtio_net_hdr, and the last 2 bytes store the
* "mergeable buffers" info, which is an optional
- * hint that can be zeroed for compability
+ * hint that can be zeroed for compatibility
*
* The destination header is therefore built according to the
* following table: