On Tue, 26 Sep 2023 18:16:56 +0000 yuying.zh...@intel.com wrote: > From: Wenjing Qiao <wenjing.q...@intel.com> > > Add devargs "flow_parser" for rte flow json parser which depends > on jansson library. > > Example: > -a ca:00.0,flow_parser="refpkg.json" > > Add json parser for rte flow pattern rules which can build rules > that maps from a set of rte flow items to hardware representations. > > The cpfl PMD supports utilizing a JSON configuration file to translate > rte flow tokens into low level hardware resources. The JSON configuration > file is provided by the hardware vendor and is intended to work exclusively > with a specific P4 pipeline configuration, which must be compiled and > programmed into the hardware. > > The format of the JSON file strictly follows the internal specifications > of the hardware vendor and is not meant to be modified directly by > users. > > Signed-off-by: Wenjing Qiao <wenjing.q...@intel.com>
It is good to see the code is now using the same JSON parser as elsewhere in DPDK. How does this interact with the P4 work done by Cristian, is this part of that? Is this treated as opaque firmware? Why is it driver specific? DPDK P4 support needs to be vendor neutral to acceptable.