On 9/27/2018 2:57 PM, Dekel Peled wrote: > As described in [1],[2] this series adds option to set metadata value as > match pattern when creating a new flow rule. > > This patch introduces code for debug porpuse only. > The new debug command takes a 32 bit value and stores it per port. > testpmd will add to any Tx packet sent from this port the metadata > value, and set ol_flags accordingly. > > [1] "ethdev: support metadata as flow rule criteria" > [2] "app/testpmd: support metadata as flow rule criteria" > > Signed-off-by: Dekel Peled <dek...@mellanox.com>
<...> > @@ -851,6 +851,13 @@ Disable hardware insertion of a VLAN header in packets > sent on a port:: > > testpmd> tx_vlan reset (port_id) > > +tx_metadata set > +~~~~~~~~~~~~~~~ > + > +Set metadata value to insert in packets sent to PMD:: > + > + testpmd> tx_metadata set (port_id) (value) I have commented to previous version, but same applies here, please check: https://mails.dpdk.org/archives/dev/2018-October/114553.html