From: Ray Kinsella Date: Tue, 10 Aug 2021 14:34:20 +0000 (+0100) Subject: doc: fix typos in examples code X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a2a43d3a3d5a56c7db4b1a37bdb7c231c1d1725d;p=dpdk.git 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 --- 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) {