Skip to contentSkip to conversation

doc: fix a parameter name in testpmd guide

PATCH In review Rami Rosen 2 participants 2 messages Dec 25, 2018 – Jan 3, 2019

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 doc: fix a parameter name in testpmd guide

There is no parameter called "eth-peer-configfile" in testpmd. It should be "eth-peers-configfile". See the usage() method in app/test-pmd/parameters.c.

Fixes a67857e97ba8 ("doc: clarify usage of testpmd MAC forward mode")
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +1 -1
index cbf23e9..1ceb000 100644
@@ -304,7 +304,7 @@ The available information categories are:
 * ``mac``: Changes the source and the destination Ethernet addresses of packets before forwarding them.
   Default application behaviour is to set source Ethernet address to that of the transmitting interface, and destination
   address to a dummy value (set during init). The user may specify a target destination Ethernet address via the 'eth-peer' or
-  'eth-peer-configfile' command-line options. It is not currently possible to specify a specific source Ethernet address.
+  'eth-peers-configfile' command-line options. It is not currently possible to specify a specific source Ethernet address.
 
 * ``macswap``: MAC swap forwarding mode.
   Swaps the source and the destination Ethernet addresses of packets before forwarding them.
Signature · 1 line
1.8.3.1
#1 lore raw

Hi Rami,

Quoted 36 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Rami Rosen
Sent: Tuesday, December 25, 2018 1:37 PM
To: [email protected]
Cc: [email protected]; Rami Rosen <[email protected]>
Subject: [dpdk-dev] [PATCH] doc: fix a parameter name in testpmd guide

There is no parameter called "eth-peer-configfile" in testpmd. It should be "eth-peers-configfile". See the usage() method in app/test- pmd/parameters.c.

Fixes a67857e97ba8 ("doc: clarify usage of testpmd MAC forward mode")
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +0 -0
index cbf23e9..1ceb000 100644
@@ -304,7 +304,7 @@ The available information categories are:
 * ``mac``: Changes the source and the destination Ethernet addresses of

packets before forwarding them.
Default application behaviour is to set source Ethernet address to that of
the transmitting interface, and destination
address to a dummy value (set during init). The user may specify a target
destination Ethernet address via the 'eth-peer' or
- 'eth-peer-configfile' command-line options. It is not currently possible to specify a specific source Ethernet address.
+ 'eth-peers-configfile' command-line options. It is not currently possible to specify a specific source Ethernet address.

Quoted 5 lines

* ``macswap``: MAC swap forwarding mode.
Swaps the source and the destination Ethernet addresses of packets
before forwarding them.
--
1.8.3.1

./dpdk/devtools/check-git-log.sh -1
Line too long:
"eth-peers-configfile". See the usage() method in app/test-pmd/parameters.c.

./dpdk/devtools/checkpatches.sh /home/bairemon/patches_19_02_rc1_patchwork_testpmd/doc-fix-a-parameter-name-in-testpmd-guide.patch

### doc: fix a parameter name in testpmd guide

WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #18:
There is no parameter called "eth-peer-configfile" in testpmd. It should be

total: 0 errors, 1 warnings, 8 lines checked

The above warnings should be fixed.

Regards,

Bernard.