From a2a43d3a3d5a56c7db4b1a37bdb7c231c1d1725d Mon Sep 17 00:00:00 2001 From: Ray Kinsella Date: Tue, 10 Aug 2021 15:34:20 +0100 Subject: [PATCH] doc: fix typos in examples code Fix documentation typos that are generating spurious CI warnings. Fixes: 9a212dc06c7a ("doc: use code snippets in sample app guides") Signed-off-by: Ray Kinsella Acked-by: Aaron Conole Reviewed-by: Conor Walsh --- doc/guides/sample_app_ug/dma.rst | 2 +- doc/guides/sample_app_ug/vmdq_forwarding.rst | 2 +- examples/dma/dmafwd.c | 2 +- examples/vmdq/main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/dma.rst b/doc/guides/sample_app_ug/dma.rst index 4b8e607774..5cd7db650a 100644 --- a/doc/guides/sample_app_ug/dma.rst +++ b/doc/guides/sample_app_ug/dma.rst @@ -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 diff --git a/doc/guides/sample_app_ug/vmdq_forwarding.rst b/doc/guides/sample_app_ug/vmdq_forwarding.rst index ae1b5660df..ed28525a15 100644 --- a/doc/guides/sample_app_ug/vmdq_forwarding.rst +++ b/doc/guides/sample_app_ug/vmdq_forwarding.rst @@ -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, diff --git a/examples/dma/dmafwd.c b/examples/dma/dmafwd.c index 8148a3492c..d074acc905 100644 --- a/examples/dma/dmafwd.c +++ b/examples/dma/dmafwd.c @@ -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 diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index feee642f59..2c00a942f1 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -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) { -- 2.20.1