From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Subject: Re: [PATCH] ethdev: add isolated mode to flow API Date: Wed, 24 May 2017 15:53:33 +0200 Message-ID: <20170524135333.GJ31330@autoinstall.dev.6wind.com> References: <4a269110b5623a0a72e4fe9d2636414de5921473.1492609343.git.adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Thomas Monjalon , dev@dpdk.org, Ferruh Yigit , John McNamara , "O'Driscoll, Tim" , "Lu, Wenzhuo" , John Daley , Konstantin Ananyev , Helin Zhang , Andrew Rybchenko , Pascal Mazon To: Adrien Mazarguil Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 715537CCC for ; Wed, 24 May 2017 15:53:40 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id d127so69201823wmf.0 for ; Wed, 24 May 2017 06:53:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4a269110b5623a0a72e4fe9d2636414de5921473.1492609343.git.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, Apr 19, 2017 at 03:45:31PM +0200, Adrien Mazarguil wrote: > Isolated mode can be requested by applications on individual ports to avoid > ingress traffic outside of the flow rules they define. > > Besides making ingress more deterministic, it allows PMDs to safely reuse > resources otherwise assigned to handle the remaining traffic, such as > global RSS configuration settings, VLAN filters, MAC address entries, > legacy filter API rules and so on in order to expand the set of possible > flow rule types. > > To minimize code complexity, PMDs implementing this mode may provide > partial (or even no) support for flow rules when not enabled (e.g. no > priorities, no RSS action). Applications written to use the flow API are > therefore encouraged to enable it. > > Once effective, leaving isolated mode may not be possible depending on PMD > implementation. > > Signed-off-by: Adrien Mazarguil > Cc: Ferruh Yigit > Cc: John McNamara > Cc: "O'Driscoll, Tim" > Cc: "Lu, Wenzhuo" > Cc: John Daley > Cc: Konstantin Ananyev > Cc: Helin Zhang > Cc: Nelio Laranjeiro > Cc: Andrew Rybchenko > Cc: Pascal Mazon Acked-by: Nelio Laranjeiro By the way I have implemented it for mlx5 driver [1], your patch needs to be updated on master-net, is does not apply like this. Thanks, [1] http://dpdk.org/dev/patchwork/patch/24487/ -- Nélio Laranjeiro 6WIND