summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-09-22 05:32:50 -0700
committerDamjan Marion <dmarion@me.com>2018-09-24 08:08:03 +0000
commitbdc0e6b7204ea0211d4f7881497e4306586fb9ef (patch)
tree199b4da1aea679f0626451692a57476a70286524 /src/plugins/dpdk
parent6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff)
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/device/cli.c8
-rw-r--r--src/plugins/dpdk/device/dpdk_priv.h2
-rw-r--r--src/plugins/dpdk/device/format.c2
-rw-r--r--src/plugins/dpdk/device/init.c4
-rw-r--r--src/plugins/dpdk/device/node.c6
-rw-r--r--src/plugins/dpdk/hqos/qos_doc.md14
-rw-r--r--src/plugins/dpdk/ipsec/cli.c4
-rw-r--r--src/plugins/dpdk/ipsec/dpdk_crypto_ipsec_doc.md2
8 files changed, 21 insertions, 21 deletions
diff --git a/src/plugins/dpdk/device/cli.c b/src/plugins/dpdk/device/cli.c
index cac27dee639..c3df1ab27cc 100644
--- a/src/plugins/dpdk/device/cli.c
+++ b/src/plugins/dpdk/device/cli.c
@@ -337,7 +337,7 @@ pcap_tx_trace_command_fn (vlib_main_t * vm,
* associated with a packet capture. If packet capture is in progress,
* '<em>status</em>' also will return the number of packets currently in
* the local buffer. All additional attributes entered on command line
- * with '<em>status</em>' will be ingnored and not applied.
+ * with '<em>status</em>' will be ignored and not applied.
*
* @cliexpar
* Example of how to display the status of a tx packet capture when off:
@@ -571,7 +571,7 @@ test_dpdk_buffer (vlib_main_t * vm, unformat_input_t * input,
* @cliexpar
* @parblock
*
- * Example of how to display how many DPDK buffer test command has allcoated:
+ * Example of how to display how many DPDK buffer test command has allocated:
* @cliexstart{test dpdk buffer}
* Currently 0 buffers allocated
* @cliexend
@@ -1384,7 +1384,7 @@ done:
}
/*?
- * This command is used to set the packet fields required for classifiying the
+ * This command is used to set the packet fields required for classifying the
* incoming packet. As a result of classification process, packet field
* information will be mapped to 5 tuples (subport, pipe, traffic class, pipe,
* color) and stored in packet mbuf.
@@ -2003,7 +2003,7 @@ show_dpdk_version_command_fn (vlib_main_t * vm,
* the list of arguments passed to DPDK when started.
*
* @cliexpar
- * Example of how to display how many DPDK buffer test command has allcoated:
+ * Example of how to display how many DPDK buffer test command has allocated:
* @cliexstart{show dpdk version}
* DPDK Version: DPDK 16.11.0
* DPDK EAL init args: -c 1 -n 4 --huge-dir /run/vpp/hugepages --file-prefix vpp -w 0000:00:08.0 -w 0000:00:09.0 --master-lcore 0 --socket-mem 256
diff --git a/src/plugins/dpdk/device/dpdk_priv.h b/src/plugins/dpdk/device/dpdk_priv.h
index c73f57edfe0..dd4b4ae8221 100644
--- a/src/plugins/dpdk/device/dpdk_priv.h
+++ b/src/plugins/dpdk/device/dpdk_priv.h
@@ -44,7 +44,7 @@ _(blacklist, b) \
_(mem-alloc-request, m) \
_(force-ranks, r)
-/* These args are preceeded by "--" and followed by a single string */
+/* These args are preceded by "--" and followed by a single string */
#define foreach_eal_double_hyphen_arg \
_(huge-dir) \
_(proc-type) \
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index 1b0fbb9ffe9..eed7e2862d3 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -154,7 +154,7 @@
_ (INNER_L3, IPV6_EXT_UNKNOWN, "Inner IPv6 packet with or without extension headers") \
_ (INNER_L4, TCP, "Inner TCP packet") \
_ (INNER_L4, UDP, "Inner UDP packet") \
- _ (INNER_L4, FRAG, "Inner fagmented IP packet") \
+ _ (INNER_L4, FRAG, "Inner fragmented IP packet") \
_ (INNER_L4, SCTP, "Inner SCTP (Stream Control Transmission Protocol) packet") \
_ (INNER_L4, ICMP, "Inner ICMP packet") \
_ (INNER_L4, NONFRAG, "Inner non-fragmented IP packet")
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index efa27eb4a01..5479f81f281 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -754,7 +754,7 @@ dpdk_lib_init (dpdk_main_t * dm)
* For cisco VIC vNIC, set default to VLAN strip enabled, unless
* specified otherwise in the startup config.
* For other NICs default to VLAN strip disabled, unless specified
- * otherwis in the startup config.
+ * otherwise in the startup config.
*/
if (xd->pmd == VNET_DPDK_PMD_ENIC)
{
@@ -1007,7 +1007,7 @@ dpdk_device_config (dpdk_config_main_t * conf, vlib_pci_addr_t pci_addr,
devconf->num_rx_queues)
error =
clib_error_return (0,
- "%U: number of worker threadds must be "
+ "%U: number of worker threads must be "
"equal to number of rx queues", format_vlib_pci_addr,
&pci_addr);
diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c
index 3a7e2789151..e28ad7f7108 100644
--- a/src/plugins/dpdk/device/node.c
+++ b/src/plugins/dpdk/device/node.c
@@ -46,8 +46,8 @@ enum
};
/* currently we are just copying bit positions from DPDK, but that
- might change in future, in case we strart to be interested in something
- stored in upper bytes. Curently we store only lower byte for perf reasons */
+ might change in future, in case we start to be interested in something
+ stored in upper bytes. Currently we store only lower byte for perf reasons */
STATIC_ASSERT (1 << DPDK_RX_F_CKSUM_GOOD == PKT_RX_IP_CKSUM_GOOD, "");
STATIC_ASSERT (1 << DPDK_RX_F_CKSUM_BAD == PKT_RX_IP_CKSUM_BAD, "");
STATIC_ASSERT (1 << DPDK_RX_F_FDIR == PKT_RX_FDIR, "");
@@ -504,7 +504,7 @@ dpdk_device_input (vlib_main_t * vm, dpdk_main_t * dm, dpdk_device_t * xd,
else
dpdk_set_next_from_etype (vm, node, ptd, n_rx_packets);
- /* flow offload - process if rx flow offlaod enabled and at least one packet
+ /* flow offload - process if rx flow offload enabled and at least one packet
is marked */
if (PREDICT_FALSE ((xd->flags & DPDK_DEVICE_FLAG_RX_FLOW_OFFLOAD) &&
(or_flags & (1 << DPDK_RX_F_FDIR))))
diff --git a/src/plugins/dpdk/hqos/qos_doc.md b/src/plugins/dpdk/hqos/qos_doc.md
index 7c064246e60..fe3bb1bcd4b 100644
--- a/src/plugins/dpdk/hqos/qos_doc.md
+++ b/src/plugins/dpdk/hqos/qos_doc.md
@@ -2,14 +2,14 @@
The Quality-of-Service (QoS) scheduler performs egress-traffic management by
prioritizing the transmission of the packets of different type services and
-subcribers based on the Service Level Agreements (SLAs). The QoS scheduler can
+subscribers based on the Service Level Agreements (SLAs). The QoS scheduler can
be enabled on one or more NIC output interfaces depending upon the
requirement.
## Overview
-The QoS schdeuler supports a number of scheduling and shaping levels which
+The QoS scheduler supports a number of scheduling and shaping levels which
construct hierarchical-tree. The first level in the hierarchy is port (i.e.
the physical interface) that constitutes the root node of the tree. The
subsequent level is subport which represents the group of the
@@ -34,7 +34,7 @@ For more information on QoS Scheduler, please refer DPDK Programmer's Guide-
http://dpdk.org/doc/guides/prog_guide/qos_framework.html
-### QoS Schdeuler Parameters
+### QoS Scheduler Parameters
Following illustrates the default HQoS configuration for each 10GbE output
port:
@@ -134,7 +134,7 @@ red {
### DPDK QoS Scheduler Integration in VPP
-The Hierarchical Quaity-of-Service (HQoS) scheduler object could be seen as
+The Hierarchical Quality-of-Service (HQoS) scheduler object could be seen as
part of the logical NIC output interface. To enable HQoS on specific output
interface, vpp startup.conf file has to be configured accordingly. The output
interface that requires HQoS, should have "hqos" parameter specified in dpdk
@@ -213,7 +213,7 @@ be used.
set dpdk interface hqos placement <interface> thread <n>
```
-The command below is used to set the packet fields required for classifiying
+The command below is used to set the packet fields required for classifying
the incoming packet. As a result of classification process, packet field
information will be mapped to 5 tuples (subport, pipe, traffic class, pipe,
color) and stored in packet mbuf.
@@ -223,7 +223,7 @@ set dpdk interface hqos pktfield <interface> id subport|pipe|tc offset <n>
mask <hex-mask>
```
-The DSCP table entries used for idenfiying the traffic class and queue can be set using the command below;
+The DSCP table entries used for identifying the traffic class and queue can be set using the command below;
```
set dpdk interface hqos tctbl <interface> entry <map_val> tc <tc_id> queue <queue_id>
@@ -286,7 +286,7 @@ below command.
### QoS Scheduler Binary APIs
-This section explans the available binary APIs for configuring QoS scheduler
+This section explains the available binary APIs for configuring QoS scheduler
parameters in run-time.
The following API can be used to set the pipe profile of a pipe that belongs
diff --git a/src/plugins/dpdk/ipsec/cli.c b/src/plugins/dpdk/ipsec/cli.c
index b879deaa96b..4efa88e4bc0 100644
--- a/src/plugins/dpdk/ipsec/cli.c
+++ b/src/plugins/dpdk/ipsec/cli.c
@@ -393,7 +393,7 @@ VLIB_CLI_COMMAND (set_dpdk_crypto_placement, static) = {
/* *INDENT-ON* */
/*
- * The thread will not enqueue more operatios to the device but will poll
+ * The thread will not enqueue more operations to the device but will poll
* from it until there are no more inflight operations.
*/
static void
@@ -549,7 +549,7 @@ show_dpdk_crypto_pools_fn (vlib_main_t * vm,
* This command is used to display the DPDK Crypto pools information.
*
* @cliexpar
- * Example of how to display the DPDK Cypto pools information:
+ * Example of how to display the DPDK Crypto pools information:
* @cliexstart{show crypto device mapping}
* vpp# show dpdk crypto pools
* crypto_pool_numa1
diff --git a/src/plugins/dpdk/ipsec/dpdk_crypto_ipsec_doc.md b/src/plugins/dpdk/ipsec/dpdk_crypto_ipsec_doc.md
index 8ea77a6c30c..8cf51f07c03 100644
--- a/src/plugins/dpdk/ipsec/dpdk_crypto_ipsec_doc.md
+++ b/src/plugins/dpdk/ipsec/dpdk_crypto_ipsec_doc.md
@@ -32,7 +32,7 @@ Additionally, on x86_64 platforms, DPDK is built with SW crypto support.
VPP allocates crypto resources based on a best effort approach:
* first allocate Hardware crypto resources, then Software.
-* if there are not enough crypto resources for all workers, the graph node is not modifed and the default VPP IPsec implementation based in OpenSSL is used. The following message is displayed:
+* if there are not enough crypto resources for all workers, the graph node is not modified and the default VPP IPsec implementation based in OpenSSL is used. The following message is displayed:
0: dpdk_ipsec_init: not enough Cryptodevs, default to OpenSSL IPsec