Skip to contentSkip to conversation

doc: clarify usage of testpmd mac fwd mode

PATCH Applied Mark Kavanagh 3 participants 3 messages Sep 9, 2016 – Oct 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: clarify usage of testpmd mac fwd mode

Explain default testpmd behavior in mac fwd mode to remove amiguity/confusion regarding user's ability to specify Ethernet addresses.

---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 3 +++
 1 file changed, 3 insertions(+)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +3 -0
index f87e0c2..6ab910e 100644
@@ -267,6 +267,9 @@ The available information categories are:
   This is the default mode.
 
 * ``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.
 
 * ``macswap``: MAC swap forwarding mode.
   Swaps the source and the destination Ethernet addresses of packets before forwarding them.
Signature · 1 line
1.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Mark Kavanagh
Sent: Friday, September 9, 2016 5:16 PM
To: [email protected]
Cc: Kavanagh, Mark B <[email protected]>
Subject: [dpdk-dev] [PATCH 1/1] doc: clarify usage of testpmd mac fwd mode

Quoted 4 lines

Explain default testpmd behavior in mac fwd mode to remove amiguity/confusion regarding user's ability to specify Ethernet addresses.