[RFC 1/3] flow_compile: introduce textual flow rule compiler

Stephen Hemminger stephen at networkplumber.org
Wed May 6 17:46:32 CEST 2026


On Wed, 6 May 2026 09:06:22 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:

> > 
> > Dependencies are limited to rte_ethdev and rte_net; no
> > librte_cmdline, no flex/bison, no platform-specific headers.
> > The grammar follows testpmd's syntax so familiar rules carry
> > over and is documented in the programmer's guide.
> >   
> Was there a particular reason to avoid using flex/bison here, or did their
> use just not make sense? In general I would prefer using code-generation
> tools where possible rather than maintaining (metaphorically) hand-written code.
> 
> /Bruce

As long as we are willing to accept flex/bison as build dependency,
it would make sense to use it.


More information about the dev mailing list