From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 3/3] app/testpmd: add debug command Tx metadata set Date: Fri, 5 Oct 2018 14:27:39 +0100 Message-ID: <69700559-93a1-c5b2-e438-1a4d4d6a6f33@intel.com> References: <1537108670-11380-1-git-send-email-dekelp@mellanox.com> <1538056677-33846-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, orika@mellanox.com To: Dekel Peled , wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, dev@dpdk.org, olivier.matz@6wind.com, adrien.mazarguil@6wind.com, thomas@monjalon.net, arybchenko@solarflare.com Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 795151B154 for ; Fri, 5 Oct 2018 15:27:44 +0200 (CEST) In-Reply-To: <1538056677-33846-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 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 <...> > @@ -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