[dpdk-dev] [PATCH] ethdev: add isolated mode to flow API

Nélio Laranjeiro nelio.laranjeiro at 6wind.com
Wed May 24 15:53:33 CEST 2017


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 <adrien.mazarguil at 6wind.com>
> Cc: Ferruh Yigit <ferruh.yigit at intel.com>
> Cc: John McNamara <john.mcnamara at intel.com>
> Cc: "O'Driscoll, Tim" <tim.odriscoll at intel.com>
> Cc: "Lu, Wenzhuo" <wenzhuo.lu at intel.com>
> Cc: John Daley <johndale at cisco.com>
> Cc: Konstantin Ananyev <konstantin.ananyev at intel.com>
> Cc: Helin Zhang <helin.zhang at intel.com>
> Cc: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> Cc: Andrew Rybchenko <arybchenko at solarflare.com>
> Cc: Pascal Mazon <pascal.mazon at 6wind.com>


Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

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


More information about the dev mailing list