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

Thomas Monjalon thomas at monjalon.net
Wed Jun 14 23:33:21 CEST 2017


14/06/2017 17:41, Andrew Rybchenko:
> On 06/14/2017 05:48 PM, 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>
> > Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> > Cc: Andrew Rybchenko <arybchenko at solarflare.com>
> 
> Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>

Applied, thanks



More information about the dev mailing list