From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v6 2/2] app/testpmd: support metadata as flow rule item Date: Mon, 22 Oct 2018 17:13:40 +0100 Message-ID: <3afc0552-d59e-129a-14fc-c5f25f06ca66@intel.com> References: <1539777829-64412-1-git-send-email-dekelp@mellanox.com> <1540131768-32824-3-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 mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id EBABA1B436 for ; Mon, 22 Oct 2018 18:13:43 +0200 (CEST) In-Reply-To: <1540131768-32824-3-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/21/2018 3:22 PM, Dekel Peled wrote: > As described in [1], this series adds option to set metadata value > as match pattern when creating a new flow rule. > > This patch introduces additional options in testpmd commands: > - New item type "meta" "data" > - New per-port offload flag "match_metadata". > > It also adds commands to configure the tx_metadata value to use: > - 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" > > Signed-off-by: Dekel Peled Reviewed-by: Ferruh Yigit