From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v5 3/3] app/testpmd: add Tx metadata debug commands Date: Thu, 18 Oct 2018 08:56:38 +0100 Message-ID: References: <1539254998-8555-1-git-send-email-dekelp@mellanox.com> <1539777829-64412-4-git-send-email-dekelp@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: shahafs@mellanox.com, dev@dpdk.org, orika@mellanox.com To: Dekel Peled , wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, olivier.matz@6wind.com, adrien.mazarguil@6wind.com, thomas@monjalon.net, arybchenko@solarflare.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E0FD75F25 for ; Thu, 18 Oct 2018 09:56:43 +0200 (CEST) In-Reply-To: <1539777829-64412-4-git-send-email-dekelp@mellanox.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/17/2018 1:03 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 'config' command takes a 32 bit value and stores it per port: > port config tx_metadata > > testpmd will add to any Tx packet sent from this port the metadata > value, and set ol_flags accordingly. > > A matching 'show' command is added to read the configured value: > port config tx_metadata > > [1] "ethdev: support metadata as flow rule criteria" > [2] "app/testpmd: support metadata as flow rule criteria" > > Signed-off-by: Dekel Peled <...> > @@ -857,6 +857,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) > + Documentation is wrong, also show part is missing, can you please update it?