From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yongseok Koh Subject: Re: [PATCH 6/6] net/mlx5: add port ID pattern item to switch flow rules Date: Wed, 11 Jul 2018 18:13:16 -0700 Message-ID: <20180712011315.GH69686@yongseok-MBP.local> References: <20180627173355.4718-1-adrien.mazarguil@6wind.com> <20180627173355.4718-7-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Shahaf Shuler , Nelio Laranjeiro , dev@dpdk.org To: Adrien Mazarguil Return-path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0063.outbound.protection.outlook.com [104.47.2.63]) by dpdk.org (Postfix) with ESMTP id 244A21B4D0 for ; Thu, 12 Jul 2018 03:13:34 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180627173355.4718-7-adrien.mazarguil@6wind.com> 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 Wed, Jun 27, 2018 at 08:08:20PM +0200, Adrien Mazarguil wrote: > This enables flow rules to match traffic coming from a different DPDK port > ID associated with the device (PORT_ID pattern item), mainly for the > convenience of applications that want to deal with a single port ID for all > flow rules associated with some physical device. > > Testpmd example: > > - Creating a flow rule on port ID 1 to consume all traffic from port ID 0 > and direct it to port ID 2: > > flow create 1 ingress transfer pattern port_id id is 0 / end actions > port_id id 2 / end > > Signed-off-by: Adrien Mazarguil > --- Acked-by: Yongseok Koh Thanks