doc: fix typos in examples code
Fix documentation typos that are generating spurious CI warnings.
Fixes: 9a212dc06c
("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>
This commit is contained in:
parent
b34bf915c1
commit
a2a43d3a3d
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user