From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yongseok Koh Subject: Re: [PATCH 3/6] net/mlx5: add fate actions to switch flow rules Date: Wed, 11 Jul 2018 18:00:10 -0700 Message-ID: <20180712010010.GE69686@yongseok-MBP.local> References: <20180627173355.4718-1-adrien.mazarguil@6wind.com> <20180627173355.4718-4-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 EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80045.outbound.protection.outlook.com [40.107.8.45]) by dpdk.org (Postfix) with ESMTP id C79631B1F8 for ; Thu, 12 Jul 2018 03:00:25 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180627173355.4718-4-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:14PM +0200, Adrien Mazarguil wrote: > This patch enables creation of rte_flow rules that direct matching traffic > to a different port (e.g. another VF representor) or drop it directly at > the switch level (PORT_ID and DROP actions). > > Testpmd examples: > > - Directing all traffic to port ID 0: > > flow create 1 ingress transfer pattern end actions port_id id 0 / end > > - Dropping all traffic normally received by port ID 1: > > flow create 1 ingress transfer pattern end actions drop / end > > Note the presence of the transfer attribute, which requests them to be > applied at the switch level. All traffic is matched due to empty pattern. > > Signed-off-by: Adrien Mazarguil > --- Acked-by: Yongseok Koh Thanks