aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-09-24 05:25:00 -0700
committerFlorin Coras <florin.coras@gmail.com>2018-09-27 19:59:44 +0000
commitec11b13a21b2becc1d1bd746a04624d17b26583f (patch)
treef3b432a3713a8edd2041ff025157d7b0803be580 /src/vpp
parent7d426535b4e98731193cc0265b83f2336dcdf5b3 (diff)
Trivial: Cleanup some typos.
This is a new commit for code under a different maintainer. Change-Id: I79fa403fec6a312238a9a4b18b35dbcafaa05439 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/api/api.c2
-rw-r--r--src/vpp/api/summary_stats_client.c2
-rw-r--r--src/vpp/api/test_client.c2
-rw-r--r--src/vpp/api/test_ha.c2
-rw-r--r--src/vpp/api/vpe.api2
-rw-r--r--src/vpp/app/version.c2
-rw-r--r--src/vpp/conf/80-vpp.conf2
-rw-r--r--src/vpp/conf/startup.conf4
-rw-r--r--src/vpp/stats/stats.api6
-rw-r--r--src/vpp/stats/stats.md2
10 files changed, 13 insertions, 13 deletions
diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c
index 6c06ab4cef3..f7643f423f3 100644
--- a/src/vpp/api/api.c
+++ b/src/vpp/api/api.c
@@ -432,7 +432,7 @@ static void setup_message_id_table (api_main_t * am);
/*
* vpe_api_hookup
* Add vpe's API message handlers to the table.
- * vlib has alread mapped shared memory and
+ * vlib has already mapped shared memory and
* added the client registration handlers.
* See .../open-repo/vlib/memclnt_vlib.c:memclnt_process()
*/
diff --git a/src/vpp/api/summary_stats_client.c b/src/vpp/api/summary_stats_client.c
index e0488b5ebc0..8c8e9bbe44f 100644
--- a/src/vpp/api/summary_stats_client.c
+++ b/src/vpp/api/summary_stats_client.c
@@ -96,7 +96,7 @@ vlib_main_t **vlib_mains;
void
vlib_cli_output (struct vlib_main_t *vm, char *fmt, ...)
{
- clib_warning ("vlib_cli_output callled...");
+ clib_warning ("vlib_cli_output called...");
}
diff --git a/src/vpp/api/test_client.c b/src/vpp/api/test_client.c
index 98cc18e3f0a..e36fdbfc22c 100644
--- a/src/vpp/api/test_client.c
+++ b/src/vpp/api/test_client.c
@@ -93,7 +93,7 @@ vlib_main_t **vlib_mains;
void
vlib_cli_output (struct vlib_main_t *vm, char *fmt, ...)
{
- clib_warning ("vlib_cli_output callled...");
+ clib_warning ("vlib_cli_output called...");
}
u8 *
diff --git a/src/vpp/api/test_ha.c b/src/vpp/api/test_ha.c
index 50552ad0e8c..d88c4d4c1f4 100644
--- a/src/vpp/api/test_ha.c
+++ b/src/vpp/api/test_ha.c
@@ -101,7 +101,7 @@ vlib_main_t **vlib_mains;
void
vlib_cli_output (struct vlib_main_t *vm, char *fmt, ...)
{
- clib_warning ("BUG: vlib_cli_output callled...");
+ clib_warning ("BUG: vlib_cli_output called...");
}
#define foreach_api_msg \
diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api
index 22b7f3e66ac..2eb14bc2fd4 100644
--- a/src/vpp/api/vpe.api
+++ b/src/vpp/api/vpe.api
@@ -47,7 +47,7 @@ option version = "1.0.0";
* SR APIs: see .../src/vnet/srv6/{sr.api, sr_api.c}
* CLASSIFY APIs: see ... /src/vnet/classify/{classify.api, classify_api.c}
* FLOW APIs: see ... /src/vnet/flow/{flow.api, flow_api.c}
- * DHCP APIs: see ... /src/vnet/dhcp/{dhcpk.api, dhcp_api.c}
+ * DHCP APIs: see ... /src/vnet/dhcp/{dhcp.api, dhcp_api.c}
* COP APIs: see ... /src/vnet/cop/{cop.api, cop_api.c}
* POLICER APIs: see ... /src/vnet/policer/{policer.api, policer_api.c}
* STATS APIs: see .../src/vpp/stats/{stats.api, stats.c}
diff --git a/src/vpp/app/version.c b/src/vpp/app/version.c
index 58ac9bad2a2..e210663333d 100644
--- a/src/vpp/app/version.c
+++ b/src/vpp/app/version.c
@@ -102,7 +102,7 @@ show_vpe_version_command_fn (vlib_main_t * vm,
}
/*?
- * This commmand displays image version and command line arguments
+ * This command displays image version and command line arguments
*
* @cliexpar
* How to display the image version string:
diff --git a/src/vpp/conf/80-vpp.conf b/src/vpp/conf/80-vpp.conf
index 8fdf184cf83..539cbb704dc 100644
--- a/src/vpp/conf/80-vpp.conf
+++ b/src/vpp/conf/80-vpp.conf
@@ -7,7 +7,7 @@ vm.max_map_count=3096
# All groups allowed to access hugepages
vm.hugetlb_shm_group=0
-# Shared Memory Max must be greator or equal to the total size of hugepages.
+# Shared Memory Max must be greater or equal to the total size of hugepages.
# For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
# If the existing kernel.shmmax setting (cat /sys/proc/kernel/shmmax)
# is greater than the calculated TotalHugepageSize then set this parameter
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index 979d41ab4c3..66b0c226303 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -70,7 +70,7 @@ cpu {
}
# dpdk {
- ## Change default settings for all intefaces
+ ## Change default settings for all interfaces
# dev default {
## Number of receive queues, enables RSS
## Default is 1
@@ -114,7 +114,7 @@ cpu {
## uio_pci_generic or auto (default)
# uio-driver vfio-pci
- ## Disable mutli-segment buffers, improves performance but
+ ## Disable multi-segment buffers, improves performance but
## disables Jumbo MTU support
# no-multi-seg
diff --git a/src/vpp/stats/stats.api b/src/vpp/stats/stats.api
index c66f2e4ab43..c94471ae93c 100644
--- a/src/vpp/stats/stats.api
+++ b/src/vpp/stats/stats.api
@@ -177,7 +177,7 @@ autoreply define want_ip6_fib_stats
u32 pid;
};
-/** \brief Want IP4 muilticast FIB Stats, register for continuous stats
+/** \brief Want IP4 multicast FIB Stats, register for continuous stats
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param enable_disable - 1 = enable stats, 0 = disable
@@ -273,7 +273,7 @@ typeonly manual_print manual_endian define ip4_nbr_counter
};
/**
- * @brief Per-neighbour (i.e. per-adjacency) coutners
+ * @brief Per-neighbour (i.e. per-adjacency) counters
* @param count The size of the array of counters
* @param sw_if_index The interface the adjacency is on
* @param begin Flag to indicate this is the first set of stats for this
@@ -494,7 +494,7 @@ autoreply define want_bier_neighbor_stats
/** \brief Stat for one BIER neighbor object
@param tbl_id - The BIER Table ID the neighbour belongs to.
- @param path - The path describing the negihbor (this is the data
+ @param path - The path describing the neighbor (this is the data
given during a BIER route add)
@param packets - number of packets sent
@param bytes - number of bytes sent
diff --git a/src/vpp/stats/stats.md b/src/vpp/stats/stats.md
index d66c31bb636..dd14a188e47 100644
--- a/src/vpp/stats/stats.md
+++ b/src/vpp/stats/stats.md
@@ -36,7 +36,7 @@ typedef struct {
```
#### Writer
-On the VPP side there is a single writer (controlled by a spinlock). When the writer starts it sets in_progress=1, continues with the update of the data-structues, and when done, bumps epoch++ and sets in_progress=0.
+On the VPP side there is a single writer (controlled by a spinlock). When the writer starts it sets in_progress=1, continues with the update of the data-structures, and when done, bumps epoch++ and sets in_progress=0.
#### Readers
If in_progress=1, there is no point continuing, so reader sits spinning on the in_progress flag until it is 0. Then it sets start_epoch = epoch and continues copying out the counter data it is interested in, while doing strict boundary checks on all offsets / pointers. When the reader is done, it checks if in_progress=1 or if epoch != start_epoch. If either of those are true is discards the data read.