doc: fix typos in examples code
authorRay Kinsella <mdr@ashroe.eu>
Tue, 10 Aug 2021 14:34:20 +0000 (15:34 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 26 Nov 2021 13:41:31 +0000 (14:41 +0100)
Fix documentation typos that are generating spurious CI warnings.

Fixes: 9a212dc06c7a ("doc: use code snippets in sample app guides")

Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
doc/guides/sample_app_ug/dma.rst
doc/guides/sample_app_ug/vmdq_forwarding.rst
examples/dma/dmafwd.c
examples/vmdq/main.c

index 4b8e607..5cd7db6 100644 (file)
@@ -240,7 +240,7 @@ function in order to start processing for each lcore:
 .. literalinclude:: ../../../examples/dma/dmafwd.c
     :language: c
     :start-after: Start processing for each lcore. 8<
-    :end-before: >8 End of starting to processfor each lcore.
+    :end-before: >8 End of starting to process for each lcore.
     :dedent: 0
 
 The function launches Rx/Tx processing functions on configured lcores
index ae1b566..ed28525 100644 (file)
@@ -103,7 +103,7 @@ the MAC of VMDq pool 2 on port 1 is 52:54:00:12:01:02.
 
 .. literalinclude:: ../../../examples/vmdq/main.c
     :language: c
-    :start-after: Building correct configruration for vdmq. 8<
+    :start-after: Building correct configuration for vdmq. 8<
     :end-before: >8 End of get_eth_conf.
 
 Once the network port has been initialized using the correct VMDq values,
index 8148a34..d074acc 100644 (file)
@@ -561,7 +561,7 @@ static void start_forwarding_cores(void)
                        lcore_id);
        }
 }
-/* >8 End of starting to processfor each lcore. */
+/* >8 End of starting to process for each lcore. */
 
 /* Display usage */
 static void
index feee642..2c00a94 100644 (file)
@@ -135,7 +135,7 @@ static struct rte_ether_addr vmdq_ports_eth_addr[RTE_MAX_ETHPORTS];
  * valid pool number
  */
 
- /* Building correct configruration for vdmq. 8< */
+ /* Building correct configuration for vdmq. 8< */
 static inline int
 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools)
 {